Skip to main content
POST
Remember that to use this endpoint, you must have obtained your API key in the Developers section of the Treble platform.
This replaces the legacy Deploy a conversation flow endpoint, which will stop working on November 15, 2026. The request body is the same — only the URL changes.

Asynchronous processing

This endpoint responds 202 Accepted as soon as the campaign is queued, before any user has actually been messaged. Use the status_url from the response, or call Get a campaign’s status, to check how it’s progressing.

Select which number deploys (multichannel companies)

For multichannel companies, you can select which cellphone will deploy the user with user_session_keys. If you want the first number to make the deployment, you can just add the key deployment_squad and the corresponding value will be DS_[CELLPHONE]. You may add several deployment squads so several numbers can deploy.

Headers

Authorization
string
required

Authorization API Key. Can be obtained at https://app.treble.ai/en/dashboard/settings/developers

Path Parameters

poll_id
string
required

ID of the poll you want to deploy

Body

application/json

Information of the users to whom the poll will be deployed

users
object[]
required

List of users to whom the poll will be deployed

Response

The campaign was queued for processing

message
string

Confirmation message

id
string

Poll ID

batch_id
string

Idempotency / batch key for this submission

launch_request_id
string

ID to track this submission's progress

status_url
string

Path to poll for this submission's status