Logo
Zoom Public API Documentation

Update the specified thread

POST {{baseUrl}}/emails/mailboxes/:email/threads/:threadId/modify

Modifies the labels applied to the thread. This applies to all messages in the thread.

Scopes: mail:write

Rate Limit Label: MEDIUM

Not supported in Gov cluster

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "id": "<string>", "messages": [ { "id": "<string>", "threadId": "<string>", "labelIds": [ "<string>", "<string>" ] }, { "id": "<string>", "threadId": "<string>", "labelIds": [ "<string>", "<string>" ] } ] }



Curl
curl -X POST 'https://api.zoom.us/v2/emails/mailboxes/:email/threads/:threadId/modify' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"addLabelIds":["\u003cstring\u003e","\u003cstring\u003e"],"removeLabelIds":["\u003cstring\u003e","\u003cstring\u003e"]}'

ENDPOINTS