Notify Tools
list_announcements
Section titled “list_announcements”List announcements with status, channels, audience and read statistics (read numbers under 3 are null).
Access: Read | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
status |
string | No | One of: draft, scheduled, sending, sent, paused, cancelled, recalled, failed. |
page |
integer | No | Default: 1. |
get_announcement
Section titled “get_announcement”One announcement with full content, audience, channels and delivery statistics. No per-person results.
Access: Read | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
announcement_id |
integer | Yes | Announcement id (this event). |
preview_announcement_audience
Section titled “preview_announcement_audience”Count the audience (people, push devices, phones) and estimate text costs before sending.
Access: Read | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
channels |
object | Yes | {push: bool, email|sms|whatsapp|telegram: off|everyone|fallback}. In-app is always on. |
audience |
object | Yes | {roles: [], attendee_targeting: null|{…}, segments: [{key, params, negate}], emails: []}. Empty roles mean everyone except invitees. |
title |
string | No | |
body |
string | No | |
text_override |
string | No |
save_announcement_draft
Section titled “save_announcement_draft”Create or update a draft announcement (drafts, scheduled and paused ones can be edited).
Access: Write | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
announcement_id |
integer | No | Omit to create. |
title |
string | Yes | Up to 80 characters. |
body |
string | Yes | Plain text, up to 1,000 characters. |
link |
object | No | {screen: app screen key} or {url: https URL}, or null. |
text_override |
string | No | Optional SMS, WhatsApp and Telegram text, up to 300 characters. |
type |
string | Yes | Notification type key, for example announcement or reminder. |
priority |
string | Yes | Critical ignores mutes, caps and quiet hours. One of: normal, critical. |
channels |
object | Yes | {push: bool, email|sms|whatsapp|telegram: off|everyone|fallback}. In-app is always on. |
audience |
object | Yes | {roles: [], attendee_targeting: null|{…}, segments: [{key, params, negate}], emails: []}. Empty roles mean everyone except invitees. |
schedule_announcement
Section titled “schedule_announcement”Schedule a draft (or resume a paused one) for a date and time in the event timezone, at least 5 minutes ahead.
Access: Write | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
announcement_id |
integer | Yes | Announcement id (this event). |
scheduled_date |
string | Yes | Y-m-d |
scheduled_time |
string | Yes | H:i |
expected_recipient_count |
integer | Yes | The people count from preview_announcement_audience. Refused when the live count has moved too far. |
confirm_critical |
boolean | No | Required true for a critical announcement. |
confirmed_text_max |
integer | No | Required when the text estimate is over the confirm threshold: the max_texts from the preview. |
confirm |
boolean | Yes | Must be true. |
send_announcement_now
Section titled “send_announcement_now”Send a draft or paused announcement now. Reaches real people.
Access: Write | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
announcement_id |
integer | Yes | Announcement id (this event). |
expected_recipient_count |
integer | Yes | The people count from preview_announcement_audience. Refused when the live count has moved too far. |
confirm_critical |
boolean | No | Required true for a critical announcement. |
confirmed_text_max |
integer | No | Required when the text estimate is over the confirm threshold: the max_texts from the preview. |
confirm |
boolean | Yes | Must be true. |
test_send_announcement
Section titled “test_send_announcement”Send a test (marked Test, removed after 24 hours) to up to 3 people in the event and an optional phone number.
Access: Write | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
title |
string | Yes | Up to 80 characters. |
body |
string | Yes | Plain text, up to 1,000 characters. |
link |
object | No | {screen: app screen key} or {url: https URL}, or null. |
text_override |
string | No | Optional SMS, WhatsApp and Telegram text, up to 300 characters. |
type |
string | Yes | Notification type key, for example announcement or reminder. |
priority |
string | Yes | Critical ignores mutes, caps and quiet hours. One of: normal, critical. |
channels |
object | Yes | {push: bool, email|sms|whatsapp|telegram: off|everyone|fallback}. In-app is always on. |
emails |
array of string | Yes | |
phone |
string | No | |
test_channels |
array of string | Yes |
cancel_announcement
Section titled “cancel_announcement”Cancel a scheduled or paused announcement.
Access: Write | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
announcement_id |
integer | Yes | Announcement id (this event). |
confirm |
boolean | Yes | Must be true. |
edit_sent_announcement
Section titled “edit_sent_announcement”Edit the in-app copy of a sent announcement inside the edit window. Pushes, emails and texts already sent cannot change.
Access: Write | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
announcement_id |
integer | Yes | Announcement id (this event). |
title |
string | Yes | Up to 80 characters. |
body |
string | Yes | Plain text, up to 1,000 characters. |
link |
object | No | {screen: app screen key} or {url: https URL}, or null. |
recall_announcement
Section titled “recall_announcement”Remove a sent announcement from every inbox and cancel pending pushes and fallbacks.
Access: Write | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
announcement_id |
integer | Yes | Announcement id (this event). |
confirm |
boolean | Yes | Must be true. |
list_notify_automations
Section titled “list_notify_automations”Automations, plus the triggers available for this event with their settings fields and merge tags.
Access: Read | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
save_notify_automation
Section titled “save_notify_automation”Create or update an automation (at most 20 per event).
Access: Write | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
automation_id |
integer | No | Omit to create. |
trigger |
string | Yes | A trigger key from list_notify_automations. |
name |
string | Yes | Up to 80 characters. |
enabled |
boolean | No | |
settings |
object | Yes | The trigger settings. |
title |
string | Yes | Up to 80 characters. |
body |
string | Yes | Plain text, up to 1,000 characters. |
link |
object | No | {screen: app screen key} or {url: https URL}, or null. |
text_override |
string | No | Optional SMS, WhatsApp and Telegram text, up to 300 characters. |
priority |
string | Yes | Critical ignores mutes, caps and quiet hours. One of: normal, critical. |
channels |
object | Yes | {push: bool, email|sms|whatsapp|telegram: off|everyone|fallback}. In-app is always on. |
audience |
object | No | Optional narrowing: roles and segments only. |
delete_notify_automation
Section titled “delete_notify_automation”Delete an automation.
Access: Write | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
automation_id |
integer | Yes | |
confirm |
boolean | Yes | Must be true. |
get_notify_settings
Section titled “get_notify_settings”Notify settings for this event and the organisation caps.
Access: Read | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
update_notify_settings
Section titled “update_notify_settings”Update Notify settings (merged over the saved ones).
Access: Write | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
settings |
object | Yes |
notify_event_stats
Section titled “notify_event_stats”Announcements sent, app users, push opt-in rate and the last 30 days per channel. Read rates under 3 readers are null.
Access: Read | Scope: Event | Module: notify
| Parameter | Type | Required | Description |
|---|---|---|---|
event_id |
integer | Yes | ID of the event to operate on (see list_events). Must belong to an organization your key can access. |
