Create Push Campaign
create-push-campaignCreates a draft push notification campaign targeting app users by lists, tags and segments. Nothing is sent until you use the matching send tool.
Instructions
Create a push notification campaign for the organization's app users. The audience is the union of list_ids, tag_ids and segment_ids. Find lists with list-lists, tags with list-tags and segments with list-segments. The campaign is saved as a draft; nothing goes out until it is sent with the matching send tool or from the Arsel dashboard.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"title": "<title>",
"body": "<body>"
},
"name": "create-push-campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| name | Yes | Internal campaign name. | |
| title | Yes | ||
| tag_ids | No | Tags to target. | |
| icon_url | No | Small icon, https only. | |
| list_ids | No | Lists to target. | |
| priority | No | ||
| deep_link | No | Opened when the notification is tapped. | |
| image_url | No | Large image, https only. | |
| description | No | ||
| segment_ids | No | Segments to target. | |
| ttl_seconds | No | How long delivery is retried for an offline device. | |
| data_payload | No | Flat string map delivered to the app. Keys reserved by Arsel or Firebase are rejected. | |
| action_buttons | No | ||
| target_platforms | No | Restrict to these platforms; omit for all. | |
| throttle_minutes | No | Spread delivery over this many minutes. | |
| android_channel_id | No | ||
| smart_sending_enabled | No | Skip contacts messaged too recently on this channel. Defaults to true. |