Skip to main content
The First Step
July 9, 2020
Question

Have an active subscription for SMS, but not receiving any webhook events

I use AWS lambda running node JS. In my service, I have established a subscription, but I receive no events whatsoever.

this is the subscription:

{
    "uri": "https://platform.devtest.ringcentral.com/restapi/v1.0/subscription/eb55a123-1f0f-46c4-9c90-cbe8554616c7",
    "id": "eb55a123-1f0f-46c4-9c90-cbe8554616c7",
    "creationTime": "2020-07-08T20:18:12.960Z",
    "status": "Active",
    "eventFilters": [
        "/restapi/v1.0/account/247984004/extension/247984004/message-store/instant?type=SMS"
    ],
    "expirationTime": "2020-07-15T20:18:12.960Z",
    "expiresIn": 538066,
    "deliveryMode": {
        "transportType": "WebHook",
        "encryption": false,
        "address": "https://api.dev.orangetheoryfitness.net/sms/v1/smsreply"
    }
}

Any help appreciated

    3 replies

    PhongVu
    Community Manager
    Community Manager
    July 9, 2020

    Look like this address (https://api.dev.orangetheoryfitness.net/sms/v1/smsreply) is not publicly accessible. It seems AWS api endpoint requires authentication token.

    you can test your app on a local machine to double check if your webhook setup is working well.

    The First Step
    July 10, 2020

    I doublechecked. It is open to the public endpoint.

    Please try this:

    curl --location --request POST 'https://api.dev.orangetheoryfitness.net/sms/v1/smsreply' --header 'Validation-Token: Mytesttoken' --data-raw '' -v


    when I create a subscription, I get a response back to confirm the endpoint. it just contains no data. and after that anytime I send or reply to the SMS messages I get no events at all.

    New Participant
    June 8, 2021

    Any update on this? Im having the same issue. I have created the subscription, but it never gets triggered either on sending sms or receiving sms