All endpoints

Get an inbox

GEThttps://myagentmail.com/v1/inboxes/{id}

Returns the inbox detail including IMAP/SMTP credentials and the full address list.

Path parameters

id
required
string

Inbox UUID

Responses

200application/jsonOK
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

404application/jsonResource not found
error
required
string
code
string

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.