Test Mailbox Connection
POST /mailboxes/{mailbox_id}/test-connection
POST
/mailboxes/{mailbox_id}/test-connection
Verify a mailbox’s IMAP/SMTP credentials and refresh its connection status.
Send an empty body to test what is stored. Supply credentials to test candidate values without saving them — useful for validating before a PATCH.
Authorizations
Parameters
Path Parameters
mailbox_id
required
Mailbox ID (mailboxes.id)
integer
Mailbox ID (mailboxes.id)
Header Parameters
Request Body
Any of:
Optionally override credentials for the test without saving them.
object
null
Responses
200
Successful Response
object
data
required
object
key
additional properties
any
pagination
Any of:
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string