Skip to main content

Mailboxes

The /mailboxes API enables you to manage mailboxes associated with your account. Use these endpoints to list, retrieve, connect, and update mailboxes, or to review mailbox connection batch status.

Available endpoints​

The table below lists every documented endpoint under /rest/v2/mailboxes.

EndpointMethod and pathUse it to
Get a list of mailboxesGET /rest/v2/mailboxesRetrieve mailboxes connected to your account
Get a mailboxGET /rest/v2/mailboxes/{id}Retrieve one SMTP or IMAP mailbox configuration
Add mailboxes in bulkPOST /rest/v2/mailboxes/manual_connection/bulkConnect one or more mailboxes with SMTP and IMAP credentials
Mailbox connection batch statusGET /rest/v2/mailboxes/manual_connection/bulk/{batch_id}/summaryReview the status of a submitted mailbox connection batch
Update mailboxPATCH /rest/v2/mailboxes/{smtp_mailbox_id}Update an SMTP mailbox footer
List Microsoft Graph credentialsGET /rest/v2/mailboxes/microsoft/credentialsRetrieve saved Microsoft Graph app-only credentials
Create a Microsoft Graph credentialPOST /rest/v2/mailboxes/microsoft/credentialsSave tenant and app credentials for Microsoft Graph app-only access
Update a Microsoft Graph credentialPATCH /rest/v2/mailboxes/microsoft/credentials/{credential_id}Rename a credential or rotate its client secret
Delete a Microsoft Graph credentialDELETE /rest/v2/mailboxes/microsoft/credentials/{credential_id}Remove a credential that is not used by an active mailbox
Add Microsoft mailboxes in bulkPOST /rest/v2/mailboxes/microsoft/bulkConnect one or more Microsoft mailboxes with app-only authentication