connections

POST /v1/registrar-domains/{registrarDomainId}/actions

Change one setting of a linked domain at its registrar, on the customer's click.

All connections endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The key must carry the connections.manage permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X POST https://api.zinndigital.com/v1/registrar-domains/{registrarDomainId}/actions \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "action": <RegistrarDomainAction>, "confirm": <boolean> }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Sends one settings write through the customer's own linked registrar key: auto-renew on or off, privacy on or off, the transfer lock on or off, or reading the authorization (EPP) code. Only the actions in the row's available_actions are accepted, and confirm must be true — nothing is sent without it. ⛔ auth_code is returned in this response only (on auth_code, and on unlock where the registrar's API can read it) and is never stored: the audit row records that a code was revealed, never the code. pending is true when the registrar accepted the change asynchronously and will apply it through its own registry round trip. A registrar or key that refuses answers 422 with a refusal.registrarDomain.write.* key. Requires connections.manage.

Parameters

NameTypeRequiredWhat it is
registrarDomainId (path)UuidYes—

Request body

NameTypeRequiredWhat it is
actionRegistrarDomainActionYes—
confirmbooleanYesMust be true; the customer confirmed the change.

Response

NameTypeRequiredWhat it is
actionRegistrarDomainActionYes—
auto_renewbooleanYes—
lockedbooleanYes—
auth_codestringYesThe EPP code, shown once. Never stored by us.
pendingbooleanYesThe registrar applies the change asynchronously.

Errors this endpoint can return

401 · 403 · 404 · 422 · 429