Skip to content
DocsMenu

Go live on the Free plan

View as Markdown

Open this page inChatGPTClaudeCursor

In the Esign Comply API, POST /v1/agent/go-live saves the organization's details when sent and creates the live key on the Free plan, returning the key once. An AI agent calls it with an agent token for the organization_details and create_live_key steps, once the domain is verified.

POST /v1/agent/go-live · API version 2026-11-21

Authentication

Send an agent token (esc_agent_...) in the Authorization header: Bearer $ESIGNCOMPLY_AGENT_TOKEN. The token acts as the member who created it, with that member's role. A person creates it under Agent access in the dashboard. An API key is refused with invalid_api_key. See Authentication of the agent account API.

Request example

cURL

curl https://esigncomply.com/v1/agent/go-live \
  -H "Authorization: Bearer $ESIGNCOMPLY_AGENT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "organization": {
      "legal_name": "Acme, Inc.",
      "country": "US",
      "line1": "1 Main Street",
      "city": "Wilmington",
      "billing_email": "billing@example.com"
    }
  }'

This request ran against the API on November 26, 2026, and the response below is what came back. IDs are example values, and long values are shortened with ....

What it does

Going live on Free takes a verified domain and the organization's details. There is no plan to choose, no card and no checkout. The terms and the Data Processing Agreement were accepted at sign-up.

Parameters

Body fields

Field Type Required Meaning
organization object No The organization's details. Saved first when sent. Needed once: leave it out when they are on file.
organization.legal_name string Yes The legal entity. It is printed on every evidence report.
organization.country string Yes ISO 3166-1 alpha-2, for example US.
organization.line1, organization.city string Yes The registered address: street and city.
organization.billing_email string Yes Where billing mail goes.
organization.line2, organization.region, organization.postal_code, organization.state, organization.tax_id string No The rest of the address, the ISO 3166-2 state code, and a tax ID.
key_name string No Name of the live key. Default Production.
new_key boolean No true creates another live key on an account that already has one.

Ask the person for the organization's details. Do not guess them.

api_key.key holds the whole live key, once. Set it as ESIGNCOMPLY_API_KEY in the production environment only. Test and live share nothing: copy the test documents and profiles to live in the dashboard (Go live, "Copy test setup to live"), or create them again with the live key.

A second call on an account that is live answers 200 with "created": false and "api_key": null. It creates no further key unless new_key is true.

Response

201 Created with a GoLive object.

200 OK: The account already holds a live key and new_key is not true. No key is created.

{
  "object": "go_live",
  "live": true,
  "created": true,
  "api_key": {
    "object": "api_key",
    "id": "key_fq6q",
    "name": "Production",
    "livemode": true,
    "permission": "recording_access",
    "prefix": "esc_live_us_...",
    "key": "esc_live_us_...",
    "env": "ESIGNCOMPLY_API_KEY"
  },
  "status": {
    "plan": "sandbox",
    "plan_name": "Free",
    "free": true,
    "domain": {
      "id": "dom_4Kx9",
      "name": "example.com",
      "status": "verified",
      "region": "us",
      "verified": true
    },
    "organization": {
      "complete": true,
      "legal_name": "Acme, Inc.",
      "country": "US"
    },
    "agreements": {
      "accepted": true,
      "missing": [],
      "accepted_at": "2026-11-26T00:15:18.930Z",
      "record_id": "rec_2R1B"
    },
    "live_keys": 1,
    "ready": true,
    "live": true,
    "blockers": [],
    "next_step": "done",
    "allowance": {
      "limit": 10,
      "used": 0,
      "open_sessions": 0,
      "remaining": 10,
      "resets_at": "2026-12-01T00:00:00.000Z",
      "locked": false
    }
  }
}

Response fields

Field Type Description
object string Always "go_live".
live boolean
created boolean true when this call created the live key.
api_key object The live key, with the secret in key, once. null when no key was created.
status object { plan, plan_name, free, domain, organization, agreements, live_keys, ready, live, blockers, next_step, allowance }.

When something stands in the way

The error names what stands in the way in blocker and next_step:

Status and code blocker What to do
403 domain_not_verified domain_not_verified Register and verify the domain.
400 invalid_request, param organization organization_details Send organization.
403 insufficient_permission, needs_person: true agreements An account created before the Data Processing Agreement joined the sign-up acceptance. The person accepts once on the Go live page of the dashboard.
403 insufficient_permission, needs_person: true subscription_canceled, region_not_on_plan, free_domain_taken A plan matter. The person settles it under Settings, Billing.

Errors

Code HTTP When
invalid_request 400 The request is malformed: the body is not valid JSON, a known field has the wrong type, a required field is missing, a value is out of range, or a limit was passed (for example metadata over 50 keys, context.extra over 16 KB, event data over 256 KB, an Idempotency-Key over 255 characters, an unknown Esign-Comply-Version).
domain_not_verified 403 A live key is used before its domain is verified, or domain verification lapsed more than 14 days ago and the request tries to create a live session.
insufficient_permission 403 The key's permission does not allow the call (for example a recording_access key asking for an evidence report), a secret key was sent to a browser-only endpoint, a client token was sent to a server-only endpoint, or a secret key tried to send ceremony events or the signing act for a session that was not created with capture_mode: "server_only".

Like every call made with an agent token, it can also return missing_api_key, invalid_api_key, not_found, quota_exhausted, rate_limit_exceeded and internal_error.

Every error has the same body: error.type, error.code, error.message, error.doc_url and error.request_id. See Errors.

Questions about POST /v1/agent/go-live

Which credential does POST /v1/agent/go-live need?

An agent token, which starts with esc_agent_. Send it as a Bearer token in the Authorization header. An API key is refused with invalid_api_key.

Does POST /v1/agent/go-live work with a test key?

An agent token has no test or live mode. It acts on the account, and the keys it creates are test keys or live keys.

Does POST /v1/agent/go-live count as a signature event?

No. A signature event is counted when a live record is written, by completing a session or by submitting a deferred acceptance. This call writes no record.

Is POST /v1/agent/go-live idempotent?

It takes no Idempotency-Key header. The agent account API does not replay responses.

What is the rate limit for POST /v1/agent/go-live?

60 calls per minute for each agent token and 120 per minute for each IP address. Past the limit the API answers 429 rate_limit_exceeded with a Retry-After header.

Does the Node SDK have a method for POST /v1/agent/go-live?

No. The agent account API is called over HTTP with the agent token. The esigncomply package works with API keys.

Last updated · API version 2026-11-21