Skip to content

List campaigns

Campaigns
POSThttps://api.dcdial.com/api/type=get_campaigns
Read onlyToken

Lists the campaigns you can access, newest first, with their status.

Parameters

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

  • typestringrequired

    Selects the operation. Always get_campaigns for this endpoint.

  • tokenstringrequired

    Your API token from Log in. See Authentication.

Terminal window
curl https://api.dcdial.com/api/ \
-d type=get_campaigns \
-d token="$DCDIAL_TOKEN"
Response · 200 OK
{
"response": {
"success": "1",
"error": "",
"campaigns_list": [
{
"campaign_id": "1024",
"campaign_name": "Payment reminders",
"display_status": "PLAY",
"active": "Y"
},
{
"campaign_id": "1025",
"campaign_name": "Welcome calls",
"display_status": "STOP",
"active": "N"
}
]
}
}

Try it

Environment