Create export
POST/v1/account/:account/export
Creates a new bulk message export job. The export runs asynchronously and notifies via webhook when complete.
Runs as a background job. Follow it either by polling the status endpoint or by waiting for the completion webhook.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Returns the ID of the started export. Poll the status endpoint until it completes.
Invalid input - the path parameters, query arguments, or request payload did not pass validation. Also returned when the email server refused the request, in which case the response carries a code and the server response instead of a field list
Authentication failed - the access token is missing, invalid, or was not accepted
Access denied - the access token does not grant permission for this operation (token scope, account, or IP address restriction)
Not found - the requested entity (account, message, mailbox, etc.) does not exist
Rate limit exceeded - too many requests were made with this access token
Internal server error - an unexpected error occurred while processing the request