Get an inbox
GET
https://myagentmail.com/v1/inboxes/{id}For agents View as Markdown
Returns the inbox detail including IMAP/SMTP credentials and the full address list.
Path parameters
idrequired string | Inbox UUID |
Responses
200application/jsonOK
idstring | format: uuid |
emailstring | Current primary outbound address — may be a custom-domain alias. |
canonicalEmailstring | Stable identity used for IMAP/SMTP auth. Never changes after creation. |
usernamestring | |
domainstring | |
displayNamestring | |
workspaceIdstring | format: uuid |
addressesobject[] | |
addressstring | |
isPrimaryboolean | |
imapPasswordstring | Only returned on creation and GET /inboxes/{id}. Stored plaintext so IMAP clients can log in. |
imapobject | |
hoststring | |
portinteger | |
tlsboolean | |
usernamestring | |
passwordstring | |
smtpobject | |
hoststring | |
portinteger | |
starttlsboolean | |
usernamestring | |
passwordstring | |
createdAtstring | format: date-time |
404application/jsonResource not found
errorrequired string | |
codestring |
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.