ACTIVE (see Mailboxes). Exports are scoped to the workspace of the request.app and the credentials that platform needs: email and password, or apiKey (with url for EMAILBISON). The credentials are checked live for most apps; invalid credentials return 400 and no account is stored. A workspace can hold several accounts for the same app.accountId to pick the account; without it the call works only when the workspace has exactly one account for the app.orgId or workspace for the export. It needs exactly one connected account for the app.app, and a missing app or email returns a 500 error. Secrets are never returned by any endpoint. The connect call returns data: null and no endpoint lists accounts, so with several accounts for one app you cannot discover thirdPartyAccountId or accountId through this API. Keep one account per app if you rely on the defaults.ids for specific mailboxes, or tagIds, contains, status or filters. With ids set, exactly those mailboxes are exported and no status or tag filter applies. With no selector, every mailbox in the workspace is selected.apps as a one-item array, for example ["SMARTLEAD"]. Only the first value is used. For any app other than MANUAL a connected account is required, and thirdPartyAccountId is required when the workspace has more than one account for the app.exportId. Poll Get Export Status with it. status moves pending, in_progress, then completed or failed. When it is failed, failure_reason is {"general": "<message>"} for an export-wide failure, or a map of mailbox ID to error message for per-mailbox failures.["MANUAL"] returns a downloadable file in csvExportedLink. If the file takes longer than 60 seconds you get a 200 without data, and the link is emailed to exportedToEmail (default: the key owner's email) when ready. selectedSheetType picks the columns: ALL, MAILBOX_CREDENTIALS, APP_PASSWORDS or SMTP_IMAP.exportId, so there is nothing to poll. Name the target with workspace (or orgName or orgId).rateLimitedMailboxes. If every selected mailbox is capped the call returns 429 with a Retry-After header.export.started, export.completed and export.failed are emitted (see Webhooks). The export_id in those events is a different identifier from the numeric exportId that Get Export Status needs./exports/*, so check your fields against the endpoint pages.clientId for one domainId, with the appName it belongs to. It is asynchronous, has no status endpoint, and is limited to 2 requests per minute per account (429 beyond that). A missing domain, admin mailbox or field returns a 500 error.domainIds, clientId and app. Work is queued per domain admin mailbox, and domains without an admin mailbox are skipped without an error.google section, a microsoft section, or both. mailboxesPerDomain is keyed by domain ID, and each entry holds a mailboxId and its oauthLink. The google section also needs clientId and appName.exportId, accepted and skipped. Background jobs validate the Google client ID, add it to each domain's Google admin where needed, and run the OAuth flow for each link.exportId. Failures are recorded there. A Google client ID that does not match google.appName fails the whole export.skipped as NOT_ACCESSIBLE (not found, not ACTIVE, disabled, or outside the key's scope) or RATE_LIMITED (with retryAfterSeconds). The limit is 3 requests per mailbox per 7 days, and if all mailboxes are limited the call returns 429. Attempts are given back when the export fails.