Override the cached domain status.
failed after the frontend’s verification timeout elapses. This does NOT touch AgentMail or DNS — the next /verify or list sync will overwrite this value if the live AgentMail state disagrees.
/api/email/domains/{id} with other verbs. See the sibling page for related operations on the same resource.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Email domain (email_domains.id) UUID.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Client-driven status override. Used primarily by the frontend polling loop to mark a domain failed after the verification timeout window elapses.
New lifecycle status. verified is NOT allowed via this endpoint — only the AgentMail-backed /verify endpoint can mark a domain verified.
pending, verifying, failed Domain updated. Returns the full domain row.
A custom sending domain. Domains are created in AgentMail, optionally auto-synced to Cloudflare, and then polled (via the domain-verify-poller background task) until AgentMail confirms DNS propagation.