API FAQs
How to monitor the status of your SMS?
2 min
for an sms sent via exotel sms api, you can find out the delivery status of the sms via two means a pull you can pull the status by querying exotel for the specific sms that you sent for this you need to make a get request to sms api https //\<your api key> \<your api token>@\<subdomain>/v1/accounts/\<exotelsid>/sms/messages/\<smssid> replace \<your api key> and \<your api token> with the api key and token created by you this can be found here https //my exotel com/apisettings/site#api credentials replace \<your sid> with your “account sid” replace \<subdomain>with the region of your account \<subdomain> of singapore cluster is api exotel com \<subdomain> of mumbai cluster is api in exotel com ex curl "https //asd23df\ abcdefgh\@api exotel com/v1/accounts/exotel/sms/messages/4dd44cc0f7010ee43ca256126f3efc88" b push you can have exotel push the sms status to you after the sms reaches any terminal state (ie, "sent", "failed" or "failed dnd") for this, you need to pass an additional parameter "statuscallback" along with your other parameters (like 'from', 'to' and 'body') \=> this parameter should be a url that is hosted by you ex http //example com/ \=> exotel will make a post request to the above url with the following parameters smssid the sid (unique id) of the sms that you got in response to your request to mobile number to which sms was sent status one of queued, sending, submitted, sent, failed dnd, failed smsunits the number of sms units being sent detailedstatus human readable word that explains what happened to the message detailedstatuscode exotel’s detailed status code corresponding to the detailedstatus datesent the date on which the message was sent customfield the custom field that was set in the post request (will be returned only if it was set) dashboard you can also monitor the status of your sms from the outbox section of the dashboard also, refer to how to check sms status from the dashboard sms stats the sms stats dashboard gives you a high level overview of your sms stats the dashboard is accessible as sms stats (beta) under the sms section of your exotel portal
🤔
Have a question?
Our knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.