Logo
Zoom Public API Documentation

Create an email filter

POST {{baseUrl}}/emails/mailboxes/:email/settings/filters

Creates a message filter.

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

{ "id": "<string>", "criteria": { "from": "<string>", "to": "<string>", "subject": "<string>", "query": "<string>", "negatedQuery": "<string>", "hasAttachment": "<boolean>", "size": "<integer>", "sizeComparison": "larger" }, "action": { "addLabelIds": [ "<string>", "<string>" ], "removeLabelIds": [ "<string>", "<string>" ], "forward": "<string>" } }



Curl
curl -X POST 'https://api.zoom.us/v2/emails/mailboxes/:email/settings/filters' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"action":{"addLabelIds":["\u003cstring\u003e","\u003cstring\u003e"],"removeLabelIds":["\u003cstring\u003e","\u003cstring\u003e"],"forward":"\u003cstring\u003e"},"criteria":{"from":"\u003cstring\u003e","to":"\u003cstring\u003e","subject":"\u003cstring\u003e","query":"\u003cstring\u003e","negatedQuery":"\u003cstring\u003e","hasAttachment":"\u003cboolean\u003e","size":"\u003cinteger\u003e","sizeComparison":"smaller"}}'

ENDPOINTS