v51

OpenAPI 3.0.0raw.githubusercontent.com2026-08-01267339950.6 KB
Domains: Portfolio

Get domain authorization code

Retrieve the authorization (EPP) code for a specified domain so it can be transferred away from Hostinger to another registrar.

Requesting a new code invalidates any code retrieved previously.

Use this endpoint to obtain the code required to transfer a domain to another registrar.

get/api/domains/v1/portfolio/{domain}/auth-code

Path parameters

domainstring required
Example:mydomain.tld

Domain name

Response

Success response

auth_codestring nullable

Domain authorization code used to transfer the domain to another registrar.

Example response

{
  "auth_code": "RN0000"
}