API referenceThreads
Update labels or status
PATCH
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
id*stringIdempotency-Key?stringStored 24h. Same key + body returns the original response.
application/json- body
labels?array<string>status?stringThread
application/json- response
id?stringinbox_id?stringsubject?stringparticipants?array<string>labels?array<string>status?stringlast_message_at?stringFormat
date-timemessages?array<>curl -X PATCH 'https://api.mailroom.gosuevals.com/v1/threads/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
{ "id": "string", "inbox_id": "string", "subject": "string", "participants": [ "string" ], "labels": [ "string" ], "status": "string", "last_message_at": "2019-08-24T14:15:22Z", "messages": [ { "id": "string", "thread_id": "string", "direction": "inbound", "from": "string", "to": [ "string" ], "subject": "string", "text": "string", "html": "string", "text_reply_only": "string", "agent_verified": true, "content_is_untrusted": true } ]}