All endpoints

Soft-delete a message

DELETEhttps://myagentmail.com/v1/inboxes/{id}/messages/{messageId}

Sets deleted_at. The row stays so thread history doesn't renumber; list queries filter deleted messages out.

Path parameters

id
required
string

Inbox UUID

messageId
required
string

Message UUID

Responses

200Deleted

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.