All endpoints

List inboxes

GEThttps://myagentmail.com/v1/inboxes

Query parameters

workspace
string

Tenant master only — filter to a single workspace.

Responses

200application/jsonOK
inboxes
object[]
id
string

format: uuid

email
string

Current primary outbound address — may be a custom-domain alias.

canonicalEmail
string

Stable identity used for IMAP/SMTP auth. Never changes after creation.

username
string
domain
string
displayName
string
workspaceId
string

format: uuid

addresses
object[]
address
string
isPrimary
boolean
imapPassword
string

Only returned on creation and GET /inboxes/{id}. Stored plaintext so IMAP clients can log in.

imap
object
host
string
port
integer
tls
boolean
username
string
password
string
smtp
object
host
string
port
integer
starttls
boolean
username
string
password
string
createdAt
string

format: date-time

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.