Skip to content

Read Display Condition Capabilities

Tool name: get-email-editor-display-condition-capabilities

Lists available email display-condition types. With conditionTypes, also returns their comparisons, account entities, actions and timeframes for update-email-editor-display-condition. Entities are capped at 200 per type; entityCount reports the full count. Reads only.

Input schema

conditionTypesArray of strings, <= 5 items

Kinds to read the field values of, as conditionType of the catalogue; omit for the catalogue alone

Default:null
accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "conditionTypes": null, "accountId": null }

Output schema

accountIdintegerrequired
conditionTypesArray of objectsrequired
detailsArray of objectsrequired
Output example
{ "accountId": 0, "conditionTypes": [ { "conditionType": "string", "label": "string", "group": "string" } ], "details": [ { "conditionType": "string", "conditions": [ { "condition": "string", "label": "string", "op": "string", "needsEntity": true } ], "entities": [ { "entity": 0, "label": "string", "actionFields": {} } ], "entityCount": 0, "actions": [ { "action": "string", "label": "string" } ], "timeframes": [ { "timeframe": "string", "label": "string", "value": 0 } ] } ] }