Is there a way to get notifications of status changes of outbound SMS. As in we have sent an SMS through the API.. can we subscride to a status change event, becuase initially what you get when yuou create the message is 'Queued' is there a way to register (subscribe) to an event/notification that lets you know that the message sent. Looking at the Notifications Types, is it to do with Message Event? as in I would have to subscribe to /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store?type=SMS&direction=Outbound
to receive status changes on sent messages? would that be correct.
and for Inbound SMS the event is
/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/instant?type=SMS
I'm confused as to why inbound SMS wouldn't just be (whats the difference between Message Event and Instant Message Event?)
/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store?type=SMS&direction=Inbound
and ultimately if I would like to subscribe to any Outbound SMS status changes and any Inbound SMS, can I just do one subscription and 2 event Filters? something like
POST .../restapi/v1.0/subscription
{
"eventFilters": [
"/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store?type=SMS&direction=Inbound",
"/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store?type=SMS&direction=Outbound",
],
"deliveryMode": {
"transportType": "WebHook"
}
}