I created the following subscription:
{
"eventFilters": [
"/restapi/v1.0/account/~/a2p-sms/messages?direction=Inbound"
],
"deliveryMode": {
"transportType": "WebHook",
"address": "https://my-address-goes-here.com"
},
"expiresIn": 630720000
}
And I can confirm that it exists when I call:
/restapi/v1.0/subscription
But, for some reason, my destination address never gets notified of the incoming SMS message events.
I did successfully get a different subscription wired up and working correctly for incoming phone calls:
/restapi/v1.0/account/~/telephony/sessions
but I'm not sure what I'm doing wrong with the incoming SMS events.
Any help is greatly appreciated!