Archive a Thread
Archives the Thread so it is hidden from default Thread lists.
POST
/threads/{threadId}/archiveArchives the Thread so it is hidden from default Thread lists.
Authorization
publicApiBearer AuthorizationBearer <token>
Use Authorization: Bearer mst_... . API tokens identify an account and do not carry scopes.
In: header
Path Parameters
threadId*string
Thread ID returned by create thread. v1 IDs are bare ULIDs.
Match
^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$Format
ulidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/threads/01J00000000000000000000009/archive"{ "ok": true}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}{ "error": { "code": "agent_not_published", "message": "string" }}