Skip to main content
POST
Import SMTP/IMAP mailboxes

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Body

application/json
mailboxes
object[]
required

The mailboxes to connect, 1-250, each with the fields of POST /business/accounts/email/smtp. A refused one is reported by its place in this array (index, from 0).

Required array length: 1 - 250 elements

Response

Success

totalRows
integer
required

The mailboxes in the request.

connectingRows
integer
required

The mailboxes the background job is connecting; 0 when every one was refused.

skipped
object[]
required

The mailboxes refused before any login was tried.