All endpoints

Delete a thread

DELETEhttps://anjal.app/v1/inboxes/{id}/threads/{threadId}

Soft-deletes every message in the thread (moves them to Trash), the same way deleting one message does.

Path parameters

id
required
string

Inbox UUID

threadId
required
string

Responses

200application/jsonDeleted
deleted
boolean
threadId
string
messageCount
integer
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.