Skip to main content
POST
Connect mailboxes

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Optional. A unique key you generate (max 255 chars, such as a UUID) that makes this request safe to retry. Retrying with the same key replays the original response instead of repeating the operation. Reusing a key with a different body returns 422.

Maximum string length: 255
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Body

application/json
accounts
object[]
required

Mailboxes to connect (1-50). Each is validated and created independently; the response reports which succeeded and which failed (e.g. an email already connected elsewhere).

Required array length: 1 - 50 elements

Response

summary
object
required
accounts
object[]
required

The mailboxes that were connected. They start inactive and are verified in the background - poll GET /v1/accounts/{id} for the outcome.

errors
object[]
required

The mailboxes that could not be connected. Each element is independent: the rest of the batch is still created.