Uploading contacts is a two-step process. First call this endpoint to get a presigned upload URL, then PUT your CSV directly to that URL.
Use the s3_key from the response as the source_url when creating a campaign.
CSV format#
The CSV must include a phone_number column. Any additional columns are passed as initial_context to each call, making them available as template variables in the workflow.
To override the Start node greeting for a row, use these optional columns:
- Text: set
greeting_override_typetotextand put the message ingreeting_override_text. - Recording: set
greeting_override_typetoaudioand put the public recording ID ingreeting_override_recording_id.
Greeting text can reference other CSV columns, such as Hello {{customer_name}}. Empty override columns preserve the greeting configured in the Start node.