Create an SMS campaign (and optionally send immediately)

Pass action=send to send immediately, or omit / pass action=draft to save as draft. Recipients are determined by recipient_mode.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
string
required
length ≤ 1600
string
enum
required
Allowed:
contact_ids
array of strings

Required when recipient_mode=select_contacts

contact_ids
phone_numbers
array of strings

Required when recipient_mode=manual

phone_numbers
string
enum

Defaults to draft

Allowed:
Responses

Language
Credentials
Bearer
sk_live_...
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json