Skip to content

Questions · Published 2026-10-21 · Updated 2026-10-21 · AgentiSend

How do I hand DNS setup to the person who owns the domain?

Hand DNS setup to the person who owns the domain with POST /domains/{id}/setup-link, a no-sign-in page that lasts 7 days.

Hand DNS setup to the person who owns the domain with POST /domains/{id}/setup-link, a no-sign-in page that lasts 7 days. It shows that one domain's records and nothing else.

What you send them

The response is url and expires_at. They open the URL. GET /domains/setup/{token} is the sheet: the domain name, each record with its value and a copy control, a zone-file download, the detected DNS host when one is recognized, and a Check again button. It shows nothing beyond that one domain. The records are still added by hand at the DNS host.

curl -sS -X POST https://api.agentisend.com/domains/9c8f8f0e-3d1a-4d3f-9a1e-2b7c1a0f5e42/setup-link \
  -H "Authorization: Bearer $AGENTISEND_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
201
{
  "expires_at": "2026-09-04T09:14:00.000Z",
  "url": "example"
}
Response

Replacing it

A later POST /domains/{id}/setup-link replaces the live link. It does not extend the old one. DELETE /domains/{id}/setup-link withdraws it, and the page stops opening. GET /domains/{id} is the signed-in view of the same records.

curl -sS -X DELETE https://api.agentisend.com/domains/9c8f8f0e-3d1a-4d3f-9a1e-2b7c1a0f5e42/setup-link \
  -H "Authorization: Bearer $AGENTISEND_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
200
{
  "revoked": true
}
Response

Next

Written by the AgentiSend team.