# Verify a domain and go live

> A runbook for AI agents: register a domain, publish the TXT record, run the check, then go live on Esign Comply with one call that creates the live key.

Source: https://esigncomply.com/agents/verify-domain-go-live

For AI agents · task runbook

To verify a domain and go live, register the domain with your agent token, publish the TXT record the call returns at the DNS provider, and run the check. Once the domain is verified, one more call saves the organization's details and creates the live key on Esign Comply. The Free plan needs no card and no checkout.

[Get an API key](https://esigncomply.com/signup) · [Read the docs](https://esigncomply.com/docs/guides/domains)

Paste the prompt into your AI agent, or follow the steps yourself. The whole flow is in the [guide for AI agents](https://esigncomply.com/agents).

Last updated November 23, 2026

esigncomply-verify-domain-go-live.md · 261 words

```markdown
Verify our domain with Esign Comply and go live. The flow already passes the conformance check in test mode.

Read these first and follow them exactly:
- https://esigncomply.com/agents/verify-domain-go-live.md (this task, step by step)
- https://esigncomply.com/agents.md (every dashboard label and every account call)
- https://esigncomply.com/setup.md (the whole setup runbook)

What stays with me: I give you the organization's legal name, country, registered address and billing email. Ask me for them and do not guess. If you have no access to our DNS provider, give me the type, the name and the value of the one TXT record and I add it. Accepting legal terms, billing and plan changes are mine.

What you do:
1. Read the account with GET /v1/agent, using ESIGNCOMPLY_AGENT_TOKEN, and tell me which steps are open.
2. Register the domain with PUT /v1/agent/domain and publish the record it returns. On a platform address such as myapp.vercel.app, add the file it names to the app.
3. Check it with POST /v1/agent/domain/verify until "verified" is true.
4. Call POST /v1/agent/go-live with the organization details I gave you. Store the live key as ESIGNCOMPLY_API_KEY in the production environment only. Never print it, and never use it in development or a preview.
5. Copy the test documents and profiles to live, or create them again with the live key.

Report to me: the domain and its status, where the live key is stored (the variable name, never the value), and anything that is mine to do.

Keep the block at https://esigncomply.com/rules.md in this project's instruction file: every flow that goes live follows it.
```

Before step 1

## What do you need before you verify a domain and go live?

- An agent token in `ESIGNCOMPLY_AGENT_TOKEN`, created by a member with the role of owner or admin.
- The host the signing pages run on, for example `app.example.com`. Localhost and IP addresses cannot be registered.
- Access to the DNS provider, or a person who adds one TXT record. A host on a platform address such as `myapp.vercel.app` takes a file in the app in place of the record.
- The organization's legal name, country, registered address (street and city) and billing email, from your person.

7 steps

## How do you verify a domain and go live with Esign Comply, step by step?

1. **Read where the account stands**

   `live.blockers` lists what stands in the way of a live key, in the order to fix it. On a new account it holds `domain_not_verified` and `organization_details`. `next_step` names the open step with its call in `api` and its dashboard page in `browser`, and `live.needs_person` is `true` when a blocker is your person's step.

   ```bash
   curl -s https://esigncomply.com/v1/agent \
     -H "Authorization: Bearer $ESIGNCOMPLY_AGENT_TOKEN"
   ```

2. **Register the domain**

   Send a host or a URL. The registrable domain is worked out from it, so `app.example.com` registers `example.com`, and one registration covers every subdomain. The answer is a `200` with `status` set to `pending` and the record to publish in `verification`: `type`, `name` and `value`. In a browser: `https://esigncomply.com/dashboard/domains`, field "Host or URL", button "Register domain", then read the record under "Verification record": "Type" `TXT`, "Name (host)" `_esigncomply`, "Value" `esc-verify=…`.

   Without a browser

   ```bash
   curl -s -X PUT https://esigncomply.com/v1/agent/domain \
     -H "Authorization: Bearer $ESIGNCOMPLY_AGENT_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{ "domain": "app.example.com" }'
   ```

3. **Publish the TXT record, or the file**

   Add one TXT record at the DNS provider, on the registrable domain. The full name is `_esigncomply.example.com`: some providers want the short name `_esigncomply`. Without access to the DNS provider, give your person the type, the name and the value and ask them to add that one record. A host on a platform address such as `myapp.vercel.app` gets `"method": "file"` with a `url` and a `content`: serve `content` as plain text at `https://myapp.vercel.app/.well-known/esigncomply.txt`, with no redirect and no authentication. In a Next.js app that is the file `public/.well-known/esigncomply.txt`.

   Check the record from a terminal

   ```
   dig +short TXT _esigncomply.example.com
   ```

4. **Run the check**

   The call has no body. Two public resolvers are asked for the record, and both must return the value. `verified` is `true` and `status` is `verified` once they do. Until then `check.detail` shows what each resolver returned, in `cloudflare` and `google`. A record published a moment ago can take a few minutes to reach both, so wait and call again. The check also runs on its own: every minute for the first hour after registration, then every 15 minutes for 72 hours. In a browser: button "Check now", and a status line reads "Found. example.com is verified."

   Without a browser

   ```bash
   curl -s -X POST https://esigncomply.com/v1/agent/domain/verify \
     -H "Authorization: Bearer $ESIGNCOMPLY_AGENT_TOKEN"
   ```

5. **Save the organization's details and create the live key**

   One call saves the details first and, when the domain is verified, creates the live key. A `201` carries the key once, in `api_key.key`, with the permission `recording_access`. A second call answers `200` with `"created": false`. A refusal names the open step in `blocker` and `next_step`: `403 domain_not_verified` before the domain is verified, `400 invalid_request` with the blocker `organization_details` when the details are missing. In a browser: `https://esigncomply.com/dashboard/go-live`, under "Organization details" the fields "Legal name", "Country", "Registered address", "City" and "Billing email" and the button "Save organization details", then under "Create a live key" the button "Create live key".

   Without a browser

   ```bash
   curl -s -X POST 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@acme.example" } }'
   ```

6. **Put the live key in production only**

   Store the live key as `ESIGNCOMPLY_API_KEY` in the secret settings of the production environment. Development and previews keep the test key. The live key starts with `esc_live_us_` or `esc_live_eu_` and works on the verified domain: a live session declares a `context.url` inside it. Make sure the server confirmation requires `livemode` to be `true` in production, so that a test record can never unlock production access.

7. **Copy the test setup to live**

   Test and live share nothing: a document or a profile created with a test key does not exist for the live key. In a browser: `https://esigncomply.com/dashboard/go-live`, under "Copy your test setup to live" the button "Copy test setup to live" copies documents with their versions, profiles and webhook endpoints. Test records are never copied. Without a browser, create the documents and profiles again with the live key.

### It worked when

`POST /v1/agent/go-live` answered `201` with the live key in `api_key.key`, `GET /v1/agent` shows `live.live` as `true` and `live.blockers` empty, and `https://esigncomply.com/dashboard/api-keys` lists a key with the environment "live".

## What must a person do, and what must the agent never do?

The account belongs to a person. These limits hold in this task, as they do in every task an agent runs on Esign Comply.

### The person does

- Your person gives you the organization's legal name, country, registered address and billing email. The legal name is printed on every evidence report.
- Your person adds the TXT record when you have no access to the DNS provider.
- Your person accepts legal terms. An account created before the Data Processing Agreement joined the sign-up acceptance has one signing step on the page "Go live", and it is theirs.
- Your person handles billing and plan changes, and replaces a registered domain when they have a second factor on their account.

### The agent never does

- Never guess the organization's details. Ask your person.
- Never accept legal terms or sign anything for the organization.
- Never put the live key in development, a preview, the repository or client code. It goes into the production environment only.
- Never print, log or commit the agent token or a key.
- Never remove the TXT record after verification. It is checked again every day.
- Never retry a step that was refused as your person's. Tell them which step it was and carry on with the rest.

[Register a domain](https://esigncomply.com/docs/guides/domains) · [Agent account API](https://esigncomply.com/docs/api/agent) · [Test mode and going live](https://esigncomply.com/docs/guides/test-mode) · [Conformance rules](https://esigncomply.com/docs/conformance)

## Questions about this task: verify a domain and go live

### Does going live need a paid plan or a card?

No. The Free plan goes live with no plan to choose, no card and no checkout. The Terms of Service and the Data Processing Agreement were accepted at sign-up, so nothing is left to sign.

### Can the agent add the DNS record itself?

Yes, when it has access to the DNS provider. Without access it gives the person the type, the name and the value and asks them to add that one TXT record. DNS is the one practical limit on what the agent does alone.

### How long does domain verification take?

The domain is verified as soon as two public resolvers both return the TXT record. A record published a moment ago can take a few minutes to reach both. The check runs on its own every minute for the first hour, then every 15 minutes for 72 hours.

### Does one verified domain cover its subdomains?

Yes. The registrable domain is worked out from the host you enter, so app.example.com registers example.com and covers every subdomain. A host on a platform address such as myapp.vercel.app is registered on its own and verifies by a file.

### Can the TXT record be removed once the domain is verified?

No. A verified domain is checked again every day. Three failed daily checks in a row set the status to lapsed, live recording continues for 14 days, and then new live sessions are refused until verification is restored.

### What does the agent do when the go-live call is refused?

It reads blocker and next_step in the error and does that step. domain_not_verified means register and verify the domain, and organization_details means send the organization object. A refusal with needs_person set to true is the person's step.

### What happens to a live signature that fails a conformance rule?

By default a failing live signature is recorded and you are told at once which rule failed. Turn on blocking and it is refused. The setting is on the dashboard's Conformance page and at PUT /v1/agent/conformance.

### Other tasks for an AI agent

- [Set up a test integration](https://esigncomply.com/agents/set-up-test-integration)
- [Convert an acceptance checkbox](https://esigncomply.com/agents/convert-acceptance-checkbox)
- [Publish a version and require re-acceptance](https://esigncomply.com/agents/publish-version-reacceptance)
- [Export evidence for one record](https://esigncomply.com/agents/export-evidence)
- [Check usage against the plan limit](https://esigncomply.com/agents/check-usage)
- [The whole guide for AI agents](https://esigncomply.com/agents)

## Your person signs up once. You do the rest.

[Get an API key](https://esigncomply.com/signup) · [Read the docs](https://esigncomply.com/docs/guides/domains)

Free plan: 10 live signatures a month and a full test mode. No card required.

---

Every page on esigncomply.com has a Markdown version at the same URL plus `.md` (the home page is `https://esigncomply.com/index.md`). https://esigncomply.com/llms.txt lists them.

---

Esign Comply is the e-signature API and clickwrap API for developers who build their own signing flow in their own UI: it supplies the ceremony rules as a generated prompt for AI coding tools, records events in direct browser ceremonies, and seals independent, verifiable evidence.
