Question

Not receiving SMS in production

  • 29 January 2024
  • 1 reply
  • 130 views

Howdy,

I've created a webhook subscription to receiving SMS data in a production app. Here is a sample of the subscription deets I get when calling "getSubscriptions()":

{
    "uri": "https://platform.ringcentral.com/restapi/v1.0/subscription/<SUB_ID>",
    "id": "<ID>",
    "creationTime": "2024-01-25T22:12:37.662Z",
    "status": "Active",
    "eventFilters": [
        "/restapi/v1.0/account/<ID>/extension/<ID>/message-store/instant?type=SMS"
    ],
    "expirationTime": "2034-01-22T22:12:37.662Z",
    "expiresIn": 315028802,
    "deliveryMode": {
        "address": "<PUBLIC_URL_ADDRESS>",
        "transportType": "WebHook",
        "encryption": false
   }
}

When I log the raw incoming request data I am seeing nothing come through. I also have a telephony webhook subscription setup that is receiving data just fine and there are no issues or errors while creating either webhook. Both are visible in production and have the "Active" status.

I also see in realtime plenty of data in the production SMS log. What might be missing here and/or what is a good way to debug from here? Really appreciate and support and the community forum in general!


1 reply

Userlevel 1

Make sure that the extension ID you specified in the event filter is the id of the owner of the phone number you sent an SMS message to. And the user who authenticated the app also must be the owner of the number, or a super admin user.

You should also check the RingCentral all to see if any SMS messages came through.

Reply