Send and track SMS
Send a message
Section titled “Send a message”Send a text message sends from one of your company’s numbers (caller_id) to an
account holder’s phone.
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_idmust 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=Yto send a saved SMS template instead ofsms_text.
See what was sent
Section titled “See what was sent”Retrieve sent messages lists messages between two dates, newest or oldest first,
with limit and offset for paging.
Receive replies
Section titled “Receive replies”When an account holder replies, DCDial posts the reply to your webhook. See the SMS webhook.