Create In-App Campaign
create-in-app-campaignCreate draft in-app message campaigns by defining layout, content, trigger, targeting, and frequency caps; the Arsel dashboard handles sending or scheduling.
Instructions
Create an in-app message campaign. The campaign is saved as a draft. This server cannot send or schedule it: the user does that from the Arsel dashboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Internal campaign name. | |
| layout | Yes | How the message is drawn. | |
| buttons | No | ||
| content | Yes | Message content. With no close button, at least one button must dismiss. | |
| ends_at | No | ISO 8601 date-time; omit for an open-ended campaign. | |
| tag_ids | No | Tags to target. | |
| trigger | Yes | When the message shows on the device. | |
| list_ids | No | Lists to target. | |
| priority | No | Higher wins when several messages are eligible at once. | |
| starts_at | No | ISO 8601 date-time, e.g. 2026-09-01T09:00:00Z. | |
| grant_only | No | Only shown to contacts an automation grants it to. | |
| description | No | ||
| segment_ids | No | Segments to target. | |
| display_rules | No | Frequency caps. Defaults to once per session, three times ever, a day apart. | |
| target_platforms | No |