Skip to Content
GET
/api/v1/mailboxes/{mailboxId}/send-state

Returns canSend and, when it is false, sendHold: the answer /auth/verify gives a login typed as the mailbox's primary address, from the same function, for a mailbox credential and without the password. sendHold is the fold across the mailbox, its account and its domain ('unverified' = publish DNS, 'receive_only' = the domain sends through another provider, 'paused' = a reversible hold, 'disabled' = a stop), unlike /send-usage's sendHold, which is the mailbox's own switch. Advisory; the submission gate is the authority.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Two credential kinds share this scheme; GET /api/v1/auth/whoami answers which one you hold and what it reaches.

oek_… API key (minted by POST /api/v1/api-keys; shown once at mint). role: account reaches the full account surface: the directory (domains, routes, patterns, api-keys, accounts, address lists) plus every mailbox the account owns. role: system additionally reaches the operator surface, which is documented separately.

oemp_… mailbox app password (minted by POST /api/v1/identities/{identityId}/credentials). Reaches ONE mailbox: its messages, labels, threads, search, sync, send, filters and PIM collections. Directory routes refuse it with 403 insufficient_scope.

Refusal vocabulary: a missing, malformed, expired, or revoked credential answers 401 unauthorized with a WWW-Authenticate: Bearer challenge; a VALID credential outside its scope answers 403 (insufficient_scope for an app password on a directory route, system_credentials_required where only the operator may call). The public routes (health, branding, token-in-path capabilities) declare security: [].

Path Parameters

mailboxId*string

Mailbox ULID identifier

Response Body

Whether the mailbox may send, and why not

application/json
  1. response
canSend*boolean

True if this mailbox may send from its primary address now: the answer /auth/verify gives a login typed as that address

sendHold?string

Why canSend is false, present only then, with /auth/verify's values: 'unverified' = the domain's send records were never published (publish DNS), 'receive_only' = the domain is configured to receive here and send through another provider, 'paused' = a reversible hold at some scope (mailbox, account or domain), 'disabled' = a permanent stop, or a mailbox that cannot send at all. Unlike /send-usage's sendHold, which is the mailbox's own switch only, this is the fold across every scope. Advisory; the submission gate is the authority. Treat an unrecognized value as permanent

Value in"disabled""paused""unverified""receive_only"
Example Request
curl -X GET 'https://api.open.email/api/v1/mailboxes/string/send-state'
Example Response
{
  "canSend": true,
  "sendHold": "disabled"
}