diff --git a/openapi.yaml b/openapi.yaml index 07f9753..277390e 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -10579,6 +10579,15 @@ paths: schema: type: integer description: Only the Contact Automations on this Project + - name: flag_id + in: query + schema: + type: integer + description: | + Only the Contact Automations whose actions add this Flag to Contacts, as the "Automations that + add this flag automatically" column on Manage Flags counts them. A Flag of another Organisation + finds nothing. + example: 12 - $ref: '#/components/parameters/Page' - $ref: '#/components/parameters/PerPage' - $ref: '#/components/parameters/LastSyncDatetime' diff --git a/server.js b/server.js index 8657f2b..49da3bc 100644 --- a/server.js +++ b/server.js @@ -3148,6 +3148,7 @@ function buildDocsPage() {
${endpointCard("GET", "/contact_automations", "List Contact Automations", true, [ { name: "project_id", type: "integer", required: false, desc: "Only this Project's" }, + { name: "flag_id", type: "integer", required: false, desc: "Only those whose actions add this Flag to Contacts" }, { name: "page", type: "integer", required: false, desc: "Page number" }, { name: "per_page", type: "integer", required: false, desc: "Records per page" }, { name: "last_synced_datetime", type: "string", required: false, desc: "ISO 8601 incremental sync" }