Skip to content

Send and track SMS

Send a text message sends from one of your company’s numbers (caller_id) to an account holder’s phone.

Terminal window
curl https://api.dcdial.com/api/ \
-d type=send_text_message \
-d token="$DCDIAL_TOKEN" \
-d company_id=101 \
-d caller_id=5559876543 \
-d phone_number=5550100123 \
-d use_template=N \
--data-urlencode "sms_text=Your payment of \$150.00 was received. Thank you!"
  • caller_id must be a number assigned to your company in DCDial.
  • Messages are billed to your dialer balance; sending fails if the balance is too low.
  • Set use_template=Y to send a saved SMS template instead of sms_text.

Retrieve sent messages lists messages between two dates, newest or oldest first, with limit and offset for paging.

When an account holder replies, DCDial posts the reply to your webhook. See the SMS webhook.