Create Inbox
Creates a new inbox — a real address that can send and receive.
username picks the local part (support@agentmail.to); omit it for a generated one such as livelyspirit481@agentmail.to. The domain is always agentmail.to here because AIsa does not expose domain management. Returns inbox_id, email, display_name, client_id, pod_id, metadata and timestamps. Writes to the shared AgentMail workspace: Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created, and what you write here is visible and editable by the next caller. Read one back with get_agentmail_inbox, list them with get_agentmail_inboxes.
Example
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Bearer authentication
Body
Username of address. Randomly generated if not specified.
Domain of address. Must be verified domain. Defaults to agentmail.to.
Display name: Display Name <username@domain.com>.
Client ID of inbox.
Custom metadata to attach to the inbox.
Response
Response with status 200
ID of pod.
The ID of the inbox.
Email address of the inbox.
Time at which inbox was last updated.
Time at which inbox was created.
Display name: Display Name <username@domain.com>.
Client ID of inbox.
Custom metadata attached to the inbox.