partner
POST /v1/partner/customers/{externalId}/domain-orders/{orderId}/lines/{lineId}/auth-code
Send a new authorisation (EPP) code for a transfer the registrar refused.
Authentication
Send an API key as a bearer token. The key must carry the partner.domains 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/partner/customers/{externalId}/domain-orders/{orderId}/lines/{lineId}/auth-code \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "auth_code": <string> }'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
For a domain_transfer line whose hold.accepts_new_code is true on getPartnerDomainOrder (the registrar refused the code). The code is stored as a secret, passed to the registrar exactly as sent (only surrounding whitespace is removed) and the transfer is retried at once; read the order again for the outcome. A line that is not held for its code is a 409 (details[].code not_awaiting_auth_code); at most 5 codes per line per hour (429). Another customer's or another partner's line is a 404. The code is never returned or logged. Requires partner.domains.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
externalId (path) | string | Yes | YOUR id for that customer — whatever your own system calls them. It is what makes linking idempotent, and it is scoped to your partner programme: another partner's id is a 404… |
orderId (path) | string | Yes | — |
lineId (path) | string | Yes | — |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
auth_code | string | Yes | The new authorisation (EPP) code, exactly as the current registrar gave it. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
status | string<retrying> | Yes | — |
Errors this endpoint can return
401 · 403 · 404 · 409 · 422 · 429 · 503