Skip to content
Coritan Docs

Organization API: Org Mail: Mail

The 51 Organization API operations for mail.

View as Markdown

Part of Org Mail.

Method Path Summary
GET /api/v1/orgs/{org_slug}/mail/overview Org mail overview
GET /api/v1/orgs/{org_slug}/mail/tenants The organization's mail tenants but the terminated ones, newest first
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id} Get summary
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/aliases List aliases
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/aliases Create alias
DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/aliases/{account_id} Delete alias
PATCH /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/category Set category
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/credentials List credentials
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/credentials Create credential
DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/credentials/{account_id} Delete credential
PATCH /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/credentials/{account_id}/enabled Credential enabled
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/credentials/{account_id}/rotate Rotate credential
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains List domains
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains Add domain
DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains/{domain_id} Remove domain
PATCH /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains/{domain_id}/dmarc Set DMARC
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains/{domain_id}/records Domain records
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains/{domain_id}/verify Verify domain
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/events List events
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/limits/increase-request Request limit increase
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes List mailboxes
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes Create mailbox
DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id} Delete mailbox
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/app-passwords Mailbox app passwords
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/app-passwords Mailbox app password create
DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/app-passwords/{credential_id} Mailbox app password delete
PATCH /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/enabled Mailbox enabled
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/imports Mailbox imports
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/imports Mailbox import start
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/imports/oauth Mailbox import sign in
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/imports/upload Mailbox import upload
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/imports/{import_id}/{action} Mailbox import steer
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/password Mailbox password
PATCH /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/quota Mailbox quota
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/sessions Mailbox sessions
DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/sessions Mailbox sessions end
DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/sessions/{session_id} Mailbox session end
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/totp Mailbox totp enable
DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/totp Mailbox totp disable
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/messages Send message
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations List the service's migrations
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations/cpanel Move a cPanel account's mail here
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations/cpanel/discover Find what a cPanel account holds and what moving it here would do
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations/{migration_id} Get one migration and how far each of its mailboxes has got
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations/{migration_id}/finish Finish a migration and forget the old mailboxes' passwords
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations/{migration_id}/sync Bring in what reached the old mailboxes since the migration started
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/reputation Reputation report
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/suppressions List suppressions
POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/suppressions Add suppression
DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/suppressions/{suppression_id} Remove suppression
GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/usage Usage report

GET /api/v1/orgs/{org_slug}/mail/overview

The Email tiles, counted over the tenants the list shows: tenants, sending_frozen, under_review, domains_pending and kinds (hosting and relay), whatever the list is filtered by.

Name In Type Required
org_slug path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

The organization's mail tenants but the terminated ones, newest first

Section titled The organization's mail tenants but the terminated ones, newest first

GET /api/v1/orgs/{org_slug}/mail/tenants

The organization's mail tenants but the terminated ones, newest first.

Every filter runs in SQL before the page is cut, so total is how many tenants match them all, however many pages that is. counts are the state filter's numbers for the other filters (all, frozen, review and one per status) and kinds the product filter's (one per kind), so each select can say how many rows each choice holds.

Name In Type Required Description
org_slug path string yes
customer_id query integer or null no
kind query string or null no hosting or relay.
q query string or null no A label, a domain, the customer's email, name, company or number, or the tenant's number.
state query string or null no frozen (sending frozen), review (flagged for review), or a status: provisioning, active, suspended.
limit query integer no Default: 100.
offset query integer no Default: 0.
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}

Name In Type Required
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/aliases

Name In Type Required
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/aliases

Name In Type Required
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
domain_id integer yes
local_part string yes
targets array of string yes
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/aliases/{account_id}

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

PATCH /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/category

Name In Type Required
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
default_category string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/credentials

Name In Type Required
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/credentials

Name In Type Required
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
domain_id integer yes
label string no
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/credentials/{account_id}

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

PATCH /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/credentials/{account_id}/enabled

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
enabled boolean yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/credentials/{account_id}/rotate

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains

Name In Type Required
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains

Name In Type Required
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
domain string yes
primary boolean no
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains/{domain_id}

Name In Type Required
domain_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

PATCH /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains/{domain_id}/dmarc

Name In Type Required
domain_id path integer yes
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
stage string or null no
pinned boolean or null no
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains/{domain_id}/records

Name In Type Required
domain_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/domains/{domain_id}/verify

Name In Type Required
domain_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/events

Name In Type Required Description
org_slug path string yes
tenant_id path integer yes
category query string or null no
recipient query string or null no
hours query integer no Default: 24.
limit query integer no Default: 100.
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/limits/increase-request

Name In Type Required
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required Description
requested_per_hour integer yes
reason string no What the relay sends and why the volume is going up
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes

Name In Type Required
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes

Name In Type Required
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
domain_id integer yes
local_part string yes
password string or null no
display_name string or null no
quota_bytes integer or null no
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/app-passwords

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/app-passwords

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
label string no
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/app-passwords/{credential_id}

Name In Type Required
account_id path integer yes
credential_id path string yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

PATCH /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/enabled

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
enabled boolean yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/imports

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/imports

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
preset string no
host string or null no
username string yes
password string yes
folders array of string no
since string (date) or null no
until string (date) or null no
trash boolean no
spam boolean no
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/imports/oauth

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
provider string, one of google, microsoft yes
return_path string or null no
since string (date) or null no
until string (date) or null no
trash boolean no
spam boolean no
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/imports/upload

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes

multipart/form-data (required)

Field Type Required
file string (binary) yes
kind string no
folder string no
cpanel_mailbox string no
trash boolean no
spam boolean no
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/imports/{import_id}/{action}

Name In Type Required
account_id path integer yes
import_id path integer yes
action path string, one of pause, resume, cancel yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/password

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
password string or null no
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

PATCH /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/quota

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
quota_bytes integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/sessions

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/sessions

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
204 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/sessions/{session_id}

Name In Type Required
account_id path integer yes
session_id path string yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
204 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/totp

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/mailboxes/{account_id}/totp

Name In Type Required
account_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/messages

Name In Type Required
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
from string yes
from_name string or null no
to array of string yes
cc array of string no
subject string no
text string or null no
html string or null no
reply_to string or null no
headers Headers no
category string or null no
Status Meaning
202 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations

List the service's migrations.

The last 20, newest first, each with every mailbox's latest import and the totals.

Name In Type Required
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

Move a cPanel account's mail here

Section titled Move a cPanel account's mail here

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations/cpanel

Move a cPanel account's mail here.

Nothing changes until every check holds: the account answers, the plan has room for the new mailboxes and their quotas, the old server's IMAP answers over TLS on port 993, and each old mailbox password given signs in. Then each new mailbox is made with a new password, returned once in passwords; forwarders to mailboxes here become aliases; and an import starts into each mailbox from the old server. With reset_passwords, an old mailbox given no password gets a new one on the old server, so mail apps signed in there stop working. Answers 422 with migration_invalid, plan_full, plan_storage, imap_unreachable or source_refused and changes nothing, and 429 after 10 migrations or syncs in a day.

Name In Type Required
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required Description
host string yes The cPanel host, such as example.com, example.com:2083 or the server name the host gave you
username string yes The cPanel username, the one cPanel shows as its current user
token string or null no An API token made in cPanel under Security, Manage API Tokens. Needed for an account with two-factor sign-in
password string or null no The cPanel account's password, when there is no token
mailboxes array of CpanelMailboxChoice or null no The old mailboxes to move. Leave it out to move every one that can
mailboxes[].address string yes The old mailbox's address, as discovery listed it
mailboxes[].import boolean no Whether to bring its mail. False makes the mailbox here and leaves its mail behind
mailboxes[].password string or null no The old mailbox's current password, to read it without changing anything on the old server
mailboxes[].quota_bytes integer or null no The new mailbox's quota. Defaults to the size discovery suggested
reset_passwords boolean no Whether we may set a new password on each old mailbox that has no password here, to read its mail
forwarders boolean no Whether to make an alias for each forwarder that sends only to mailboxes on this service
catch_all boolean no Whether to make a catch-all for a domain whose default address is one of the mailboxes
trash boolean no Whether to bring the old Trash folders
spam boolean no Whether to bring the old Spam folders
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

Find what a cPanel account holds and what moving it here would do

Section titled Find what a cPanel account holds and what moving it here would do

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations/cpanel/discover

Find what a cPanel account holds and what moving it here would do.

Signs in to the account's cPanel API and changes nothing: each email account, with how much it holds and whether it becomes a new mailbox, goes into one already here, or cannot move yet and why; each forwarder and whether it becomes an alias; each domain's default address; the autoresponders; and whether the plan has room. Sign in with an API token, or with the cPanel password when the account has no two-factor sign-in. Answers 422 with cpanel_refused, cpanel_unreachable or cpanel_empty when the account cannot be read, and 429 after 30 tries in an hour.

Name In Type Required
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required Description
host string yes The cPanel host, such as example.com, example.com:2083 or the server name the host gave you
username string yes The cPanel username, the one cPanel shows as its current user
token string or null no An API token made in cPanel under Security, Manage API Tokens. Needed for an account with two-factor sign-in
password string or null no The cPanel account's password, when there is no token
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

Get one migration and how far each of its mailboxes has got

Section titled Get one migration and how far each of its mailboxes has got

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations/{migration_id}

Get one migration and how far each of its mailboxes has got.

Where its mail came from, each mailbox with its latest import, the aliases made and what did not move, and whether it still keeps the old mailboxes' passwords for another pass.

Name In Type Required
migration_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

Finish a migration and forget the old mailboxes' passwords

Section titled Finish a migration and forget the old mailboxes' passwords

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations/{migration_id}/finish

Finish a migration and forget the old mailboxes' passwords.

The migration keeps them for another pass until then. Imports under way go on to the end. We forget them 30 days after the migration started in any case.

Name In Type Required
migration_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

Bring in what reached the old mailboxes since the migration started

Section titled Bring in what reached the old mailboxes since the migration started

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/migrations/{migration_id}/sync

Bring in what reached the old mailboxes since the migration started.

Run it once the domain's MX records point here. A paused import goes on, one under way is left alone, and any other starts again from the kept password. Messages already brought are not brought twice. Answers 409 migration_finished once the passwords are forgotten.

Name In Type Required
migration_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/reputation

Name In Type Required Description
org_slug path string yes
tenant_id path integer yes
limit query integer no Default: 50.
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/suppressions

Name In Type Required
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/suppressions

Name In Type Required
org_slug path string yes
tenant_id path integer yes

application/json (required)

Field Type Required
address string yes
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/suppressions/{suppression_id}

Name In Type Required
suppression_id path integer yes
org_slug path string yes
tenant_id path integer yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/orgs/{org_slug}/mail/tenants/{tenant_id}/usage

Name In Type Required Description
org_slug path string yes
tenant_id path integer yes
days query integer no Default: 30.
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.