Skip to main content
GET
/
domains
/
{domain}
/
auth-code
Get domain auth code
curl --request GET \
  --url https://rdp.sh/api/v1/domains/{domain}/auth-code \
  --header 'Authorization: <api-key>'
{
  "status": true,
  "auth_code": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

domain
integer
required

Domain ID

Response

Authorization code retrieved successfully.

status
boolean
Example:

true

auth_code
string | null

The EPP/transfer authorization code, or null if unavailable.

Example:

"AUTH123CODE"