Delete a thread
DELETE
https://anjal.app/v1/inboxes/{id}/threads/{threadId}For agents View as Markdown
Soft-deletes every message in the thread (moves them to Trash), the same way deleting one message does.
Path parameters
idrequired string | Inbox UUID |
threadIdrequired string |
Responses
200application/jsonDeleted
deletedboolean | |
threadIdstring | |
messageCountinteger |
404application/jsonResource not found
errorrequired string | |
codestring |
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.