Skip to main content
DELETE
Archive email thread

Authorizations

x-api-key
string
header
required

CX API key. Create one in CX under Settings → Advanced → API Keys.

Path Parameters

thread
string
required

Thread ID to archive

Response

Thread archived, or already archived (ok=false, reason=already_archived)

archived
integer

Archived is the number of messages this call actually archived.

ok
boolean
reason
string

Reason explains why nothing was archived when OK is false, e.g. "already_archived".