Skip to content

Play campaign

Campaigns
POSThttps://api.dcdial.com/api/type=play_campaign
Changes dataToken

Starts outbound dialing for a campaign. It keeps dialing until you pause or stop it, or until it runs out of accounts to call.

The request is rejected if your company is suspended or its dialer balance is too low.

Parameters

Send as application/x-www-form-urlencoded.

  • typestringrequired

    Selects the operation. Always play_campaign for this endpoint.

  • tokenstringrequired

    Your API token from Log in. See Authentication.

  • campaign_idintegerrequired

    ID of the campaign.

    Example 1024
Terminal window
curl https://api.dcdial.com/api/ \
-d type=play_campaign \
-d token="$DCDIAL_TOKEN" \
-d campaign_id=1024
Response · 200 OK
{
"response": {
"success": "1",
"error": ""
}
}

Try it

Environment