/v1/domain/@id/eppGet domain transfer code (EPP)
EPP code for transferring the domain to another registrar. Requires the domains:owner scope: only personal API tokens with an IP restriction.
Only a personal API token with the domains:owner scope and an IP allow-list can call this route; OAuth apps never get this scope.
Authentication
Send the token in the header Authorization:
Authorization: Bearer <token>
Tokens that can call it: personal API tokens (tinopat_) with an IP allow-list.
Scopes
domains:ownerGet domain transfer codes (EPP) and change domain registrants
Parameters
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Required | Domain ID |
Response
The route's JSON answer, in the same shape as UserAPI returns it (Personal data). Live sample from a test account with personal data masked; long arrays and strings are trimmed (… N more item(s), … N more line(s)).
Error codes
| Error code | Description |
|---|---|
401 · invalid_token | The token is wrong, expired or revoked. |
403 · insufficient_scope | The token lacks the domains:owner scope. |
403 · ip_not_allowed | A personal API token called from an IP outside its allow-list. |
Business errors of a route usually come as HTTP 200 with {"error": ["<code>"]}; see common error codes.