mail_createAPITokenV1
Create an API token for a mail order to access the Hostinger Email API and manage its mailboxes. Specify scope as all mailboxes or particular mailbox IDs, with a maximum of 10 tokens per order.
Instructions
Create an API token for the given mail order. The token grants access to the Hostinger Email API, where you can provision and manage the mailboxes it is scoped to.
The plaintext token is returned only in this response, never again.
A maximum of 10 tokens can exist per order. Use
scope.has_all_mailboxes to cover all current and future mailboxes,
or list specific mailboxes in scope.mailbox_ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable label for this token | |
| scope | Yes | Mailbox scope this token can access | |
| orderId | Yes | Order resource ID |