Skip to main content
POST
Connect mailboxes in bulk

Authorizations

Authorization
string
header
required

An API key from the console, starting ob_live_, sent as Authorization: Bearer <key>.

Headers

Idempotency-Key
string

Names this operation, so a retry with the same key and body gets the first success again, marked Idempotent-Replayed, instead of running or charging twice. A mailbox's password is not compared: the same mailbox sent again with another password is the same call, and gets the first answer. Kept 24 hours for your organization and this route. A refusal (4xx) frees the key at once, so a corrected retry runs. After a server error (5xx), which may still take effect, the key stays held for 5 minutes from the call's start, and a retry in that time answers 409 idempotency_in_progress; after that, a send or import that may already have gone out answers 409 idempotency_outcome_unknown instead of running again. 1 to 255 visible ASCII characters, such as a UUID.

Required string length: 1 - 255
Pattern: ^[\x21-\x7E]+$

Body

application/json
mailboxes
object[]
required

1 to 250 mailboxes, each as POST /v1/accounts/email takes one.

Required array length: 1 - 250 elements

Response

The import, started: how many mailboxes it is connecting, and those it left out at once.

totalRows
integer
required

Mailboxes sent.

connectingRows
integer
required

Mailboxes being connected in the background.

skipped
object[]
required

Mailboxes left out before any sign-in, by their place in mailboxes.