All endpoints

List drafts

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

Path parameters

id
required
string

Inbox UUID

Query parameters

limit
integer
offset
integer

Responses

200application/jsonOK
drafts
object[]
id
string

format: uuid

inboxId
string

format: uuid

to
string[]
cc
string[]
bcc
string[]
subject
string
plainBody
string
htmlBody
string
replyToMessageId
string

format: uuid

createdAt
string

format: date-time

updatedAt
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.