> 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/mail/api-tokens/create-api-token.md).

# Create API token

Create an API token for the given mail order.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/mail/v1/orders/{orderId}/api-tokens" method="post" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
