Skip to content

Place a test call

Campaigns
POSThttps://api.dcdial.com/api/type=dial_number
Calls or textsToken

Places a single test call with a campaign’s settings, so you can hear the message and check delivery before any account holders are called.

Parameters

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

  • typestringrequired

    Selects the operation. Always dial_number for this endpoint.

  • tokenstringrequired

    Your API token from Log in. See Authentication.

  • campaign_idintegerrequired

    ID of the campaign.

    Example 1024
  • phone_numberstringrequired

    Phone number in E.164 or 10-digit US format.

    Example 5551234567
  • calleridstringrequired

    Caller ID to present on the test call.

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

Try it

Environment