Create a new outreach campaign or clone an existing one. Supports Facebook, Instagram, and WhatsApp (group or CSV / file upload).Create a new outreach campaign by providing its full configuration, or clone an existing campaign with
clone_from. For WhatsApp, use platform: "whatsapp" with audience_type of group or file_upload, and action_type: "messages".
Create a new campaign
Body parameters
string
required
Name of the campaign.
string
required
Target platform:
facebook, instagram, or whatsapp.string
required
Outreach action. Use
messages for WhatsApp. Facebook/Instagram also support friend_request, comments, and related actions.string
required
Audience source. WhatsApp:
group or file_upload. Facebook and Instagram support additional types (see Campaigns).string
Source URL or id. Facebook/Instagram group or post URL; WhatsApp group id from Browsers sync (for example
1203630...@g.us). Not required for file_upload (upload contacts after create).string
Optional internal group id when selected from the picker (Facebook/WhatsApp).
file
CSV for
audience_type=file_upload. The UI uploads this as multipart after create. Via API you can also add rows with POST /api/v1/campaigns/{id}/contacts.array
Extra CSV column names available as message merge variables.
integer
Team to own the campaign. Recommended; omit to use the token’s default team.
array
required
App-state IDs from
GET /api/v1/app-states. Use a WhatsApp-connected executor for WhatsApp campaigns.integer
Primary executor; typically
executor_ids[0].array
Message sequence. Required for
action_type=messages. Each item has a text string array and optional delay.array
Active time windows (
day, start_time, end_time).integer
default:"30"
Maximum actions per day.
integer
default:"1"
0 paused, 1 running.array
default:"[]"
Keywords to include when filtering the audience.
array
default:"[]"
Keywords to exclude when filtering the audience.
array
default:"[]"
Target country codes.
array
default:"[]"
Comment keyword filter (Facebook/Instagram), or related WhatsApp contact filters in contacts mode.
Example â Facebook group
Example â WhatsApp group messages
Example â WhatsApp CSV / file upload
Create the campaign withfile_upload, then add contacts:
PATCH /api/v1/campaigns/102 and {"status": 1}.
Clone an existing campaign
Body parameters
integer
required
ID of the existing campaign to duplicate.
