The mailbox holder's AI consent state

GET/api/v1/mailbox/ai/consent
Requires amailbox token— it acts as one mailbox holder, not as the organization.

Current opt-in flags, the version accepted, when, the version currently in force, and the URL of the consent document. Deliberately available regardless of entitlement or org policy -- reading one's own consent state is never gated.

Request

GET/api/v1/mailbox/ai/consent
curl -X GET 'https://app.mailyte.com/api/v1/mailbox/ai/consent' \
  -H 'Authorization: Bearer MAILBOX_TOKEN'
The key names its own organization, so no X-Organization-ID header is needed.

Response

Successful Response

Returned inside the standard envelope.

Errors

Every status, with what causes it and what to do, is on the error reference.