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
SUB-528 [SubscriptionWebSocket] application permission is required for [WebSocket]
Tags: subscription, permissions, webhooks
May 19, 2023 at 11:04am   •   3 replies  •  0 likes
Allen Jones

In the settings for the app I have "Webhook Subscriptions" checked, but all I get is application permission denied. I am missing something and I do not know what. Can some one point me in the correct direction.

var bodyParams = new CreateSubscriptionRequest();
bodyParams.eventFilters = new[] { "/restapi/v1.0/account/~/extension/101/presence?detailedTelephonyState=true" };
bodyParams.deliveryMode = new NotificationDeliveryModeRequest()
{
transportType = "WebSocket",
address = "ws://127.0.0.1:7890",

};
bodyParams.expiresIn = 3600;
var resp = await _restClient.Restapi().Subscription().Post(bodyParams);


3 Answers
answered on May 22, 2023 at 4:20am  

I am taking your advice and requesting permission for this feature via:

https://developers.ringcentral.com/support/create-case

Thank you.


 0
answered on May 19, 2023 at 12:52pm  

The transportType must be "WebHook", not "WebSocket"

{
    transportType = "WebHook",
    address = "https://...."
};

If you still face problem, please refer to this quick start for a full demo project.


 0
answered on May 19, 2023 at 12:53pm  

Disregard my answer if you want WebHook instead of WebSocket.

It seems that you are using C# language. Please check https://github.com/ringcentral/RingCentral.Net/tree/master/RingCentral.Net.WebSocket

You cannot create websocket subscription via RestAPI. So you'd better use the official SDK extension I provided above.

And yes, app permission is required. Please create a ticket to request for permission: https://developers.ringcentral.com/support/create-case

This feature is not yet fully public so you cannot add this permission yourself.



 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