News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Have an active subscription for SMS, but not receiving any webhook events
Tags: rest api
Jul 9, 2020 at 9:17am   •   1 replies  •  1 likes
joseph-mazzarella

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

1 Answer
answered on Jun 8, 2021 at 2:28pm  

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


 0
answered on Jul 10, 2020 at 7:53am  

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.


 0
answered on Jul 9, 2020 at 1:59pm  

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.


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us