POST /v1/sms/campaigns
Creates an SMS campaign. Optionally launches it immediately.Documentation Index
Fetch the complete documentation index at: https://docs.nixflex.com/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Type | Required | Notes |
|---|---|---|---|
agent_id | string | Yes | Agent handling replies |
from_number | string | Yes | Your imported Twilio number |
name | string | Yes | Display name in dashboard |
body | string | Yes | Message text sent to every recipient |
recipients | array | Yes | Up to 10,000 |
context_prompt | string | No | Reply guidance for the agent |
schedule_type | enum | Yes | now or schedule |
scheduled_at | ISO date | If schedule | When to launch |
reply_window_hours | int | No | Hours to listen for replies (default 24, max 720) |
201 Created:
schedule_type is now, returns status: running and sends immediately. With schedule, returns status: scheduled — launch later with Launch SMS campaign.
agent_not_owned, from_number_not_owned, too_many_recipients, invalid_schedule.