Create inbox API key
Mint an API key scoped to this inbox. The key can only read and send from this one inbox — its threads, messages, and drafts — and can never reach another inbox, manage pods, or mint keys. The full token is returned once, here — store it securely, it cannot be retrieved again. Requires an account-wide key (a scoped key cannot mint keys).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Inbox ID
Body
Human-readable label to identify the key later.
255Response
API key created
API key created
OpenMail API key ID
Human-readable label for the key, if set.
ID of the pod this key is scoped to, or null for an account-wide key. A pod-scoped key can only access resources in this pod.
ID of the inbox this key is confined to, or null. When set, the key can only access this single inbox and its threads, messages, and drafts (its podId is the inbox's pod).
Non-secret leading characters of the token, to help you identify it.
Last 4 characters of the token, shown alongside the prefix.
When the key last authenticated a request, or null if never used.
The secret API key. Store it securely — it is shown only once and cannot be retrieved later.