Logo
Zoom Public API Documentation

Create a new label in mailbox

POST {{baseUrl}}/emails/mailboxes/:email/labels

Creates a new label.

Scopes: mail:write

Rate Limit Label: LIGHT

Not supported in Gov cluster

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "name": "<string>", "parentId": "<string>", "id": "<string>", "labelLevel": "<integer>", "messageListVisibilitystring": "show", "labelListVisibility": "labelShowIfUnread", "color": { "textColor": "<string>", "backgroundColor": "<string>" } }



Curl
curl -X POST 'https://api.zoom.us/v2/emails/mailboxes/:email/labels' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"name":"\u003cstring\u003e","parentId":"\u003cstring\u003e","messageListVisibilitystring":"show","labelListVisibility":"labelHide","color":{"textColor":"\u003cstring\u003e","backgroundColor":"\u003cstring\u003e"}}'

ENDPOINTS