apps is ["MANUAL"]. Pick mailboxes with ids, tagIds, contains or filters.apps is used. For any app other than MANUAL a connected account is required (POST /exports/accounts/third-party); thirdPartyAccountId is required when there is more than one account for the app.exportId. Poll GET /exports/status. For EMAILBISON the response has no exportId, and workspace (or orgName) names the target workspace.csvExportedLink with the file. If the file takes longer than 60 seconds you get a 200 response without data, and the link is emailed when ready.rateLimitedMailboxes. If every selected mailbox is capped the call fails with 429 and a Retry-After header.ids set, exactly those mailboxes are exported and no status or tag filter is applied. With no selector, all mailboxes in the workspace are selected.export.started, export.completed and export.failed are emitted for the export.GET /exports/status, GET /exports/fetch-workspaces.curl --location 'https://api.zapmail.ai/api/v3/exports/mailboxes' \
--header 'x-auth-zapmail;' \
--header 'Content-Type: application/json' \
--data '{
"apps": [
"SMARTLEAD"
],
"ids": [
"3f6c1a52-8d4e-4b7a-9c21-5e0d7a1b2c33",
"7a9d2e41-1b3c-4f58-a6d0-2c8e4b9f1a07"
],
"thirdPartyAccountId": "a1b2c3d4-5e6f-4071-8a9b-0c1d2e3f4a5b"
}'{
"status": 200,
"message": "Mailboxes will export shortly",
"data": {
"exportId": 48213
}
}