> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/domains/portfolio/get-domain-authorization-code.md).

# Get domain authorization code

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

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/domains/v1/portfolio/{domain}/auth-code" method="get" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
