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
Example response
{
"auth_code": "RN0000"
}