You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6be72e5
Browse filesBrowse the repository at this point in the historyBrowse files
feat(notifications): document the required provider integration id on campaigns and triggers
The gateway now requires the provider integrationId when an Email, Push or
SMS campaign is created (Email/Push: campaign.integrationId; SMS: a new
top-level integrationId, distinct from databaseIntegrationId) and on every
trigger action, which also takes the optional language and initiatorId.
The SDK methods pass the request through, so no signature changes; the
README and the SMS / Push pages now show the id, and tests pin that it
reaches the wire for each case.
Breaking: the server now requires the provider integration id. Calls that
create a campaign or save a trigger without integrationId are refused;
pass the id from get_email_integrations / get_push_integrations /
get_sms_integrations.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/hub/push.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,9 @@ field plus the audience's own fields:
21
21
| rows of a database collection |`collection`|`schemaName`, `fields` (the record fields that hold the recipient), `fieldType` (`User` or `Email`), optional `roleNames`, `languages`|
22
22
| raw device tokens |`devices`|`devices`: a list of `{ token, deliveryFamily }`, `deliveryFamily` one of `Ios`, `Android`, `Chrome`, `Safari`, `Expo`|
23
23
24
-
Every target also takes `templateId` (required) and the optional `integrationId`,
25
-
`language`, `notes`, `campaignTime` (Unix seconds) and `mappedTokens`. Note the
24
+
Every target also takes `templateId` and `integrationId` (both required —
25
+
`integrationId` is the push provider, from `get_push_integrations`), and the
26
+
optional `language`, `notes`, `campaignTime` (Unix seconds) and `mappedTokens`. Note the
26
27
spelling: `rolesNames` on `allUsers`, but `roleNames` on `collection` — the
0 commit comments