Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3148,6 +3148,7 @@ function buildDocsPage() {
<div class="endpoint-list">
${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" }
Expand Down
Loading