Upload the campaign audience
POST/api/v1/sms/campaign/:id/audience
Multipart upload of a CSV or .xlsx. phoneNumberColumn names the column holding the number (default participantNumber). Every other column becomes a {{column}} variable available in the campaign message, filled per recipient.
Request
Responses
- 200
- 400
- 401
- 500
Audience uploaded successfully
Empty file, or the named phone column is not present
Unauthorized (invalid apiToken)
Internal server error