PENDING, DOMAIN_SUCCESS and MAILBOX_IN_PROGRESS, then reaches COMPLETED once the mailbox is ready (with exportApp it first passes MAILBOX_SUCCESS and EXPORT_IN_PROGRESS and completes when the export does). Failures stop at DOMAIN_FAILED, MAILBOX_FAILED or EXPORT_FAILED with an error.domains exactly. A domain that already exists returns 400.slotsNeeded, and ZapShield when enabled. Registration and mailbox creation start once the invoice is paid.curl --location 'https://api.zapmail.ai/api/v3/quick-setup' \
--header 'x-auth-zapmail;' \
--header 'x-workspace-key;' \
--header 'Content-Type: application/json' \
--data '{
"domains": [
{
"domainName": "acme-mail.com",
"years": 1
}
],
"mailboxes": {
"acme-mail.com": [
{
"username": "jane",
"firstName": "Jane",
"lastName": "Doe"
},
{
"username": "john",
"firstName": "John",
"lastName": "Smith"
}
]
},
"exportApp": "SMARTLEAD",
"enableDnsShield": false
}'{
"status": 200,
"message": "Quick setup initiated",
"data": {
"invoiceUrl": "https://invoice.stripe.com/i/acct_example/inv_example",
"quickSetupBatchId": "c3b2a190-8d7e-4f6a-9b5c-4d3e2f1a0b9c",
"slotsNeeded": 2
}
}