RingCentral Developers is a cloud communications platform which can be accessed via more than 70 APIs. The platform's main capabilities include technologies that enable: Voice, SMS/MMS, Fax, Glip Team Messaging, Data and Configurations.
- RingCentral API Reference - an interactive reference for the RingCentral API that allows developers to make API calls with no code.
- Python SDK API reference
- The SDK requires CPython 3.11 or later. CI tests CPython 3.11 through 3.15.
- WebSocket subscriptions match server responses to requests, report changes after the server confirms them, and prevent duplicate subscription creation.
- The WebSocket client reports receive-handler errors without interrupting other handlers and clears its ready state when the receive loop ends.
- The SDK supports
websocketsversions 15 through 17. See Subscribing for server events if you use the underlying connection directly. - Upgraded to
observable1.x while preserving SDK callback registration and dispatch behavior. - Removed the unused
presence_subscription_mock()andsubscription_mock()methods fromringcentral.test.TestCase. - Apps configured for the OAuth client credentials grant can call
login()without arguments. - This release carries forward the 0.9.3 certificate bundle fix by requiring
certifi>=2026.10.19. - Installation requires Requests 2.33.0 or later and urllib3 2.8.0 or later within their 2.x series to pick up security fixes in existing environments.
- Development defaults to Python 3.15. Development and release checks use a locked uv environment.
- API exception messages omit headers, query strings, and fragments from formatted request details. See Error handling for access to the original request.
- In version 0.9.0, we removed PubNub support. If you need subscription to events, please use WebSocket instead. Please refer to demo_subscription.py for more information.
- If you still need PubNub support, please use version 0.8.x.
This SDK requires CPython 3.11 or later.
$ pip3 install ringcentralTake a look at a sample code.
from ringcentral import SDK
sdk = SDK('CLIENT_ID', 'CLIENT_SECRET', 'SERVER')
platform = sdk.platform()
platform.login(jwt='JWT_TOKEN')
res = platform.get('/account/~/extension/~')
print('User loaded ' + res.json().name)For an app configured for the OAuth client credentials grant, call login() with
no arguments. Call login() again when the access token expires.
from ringcentral import SDK
platform = SDK('CLIENT_ID', 'CLIENT_SECRET', 'SERVER').platform()
platform.login()
account = platform.get('/restapi/v2/accounts/~').json_dict()
print(account['id'])For failed HTTP responses, the SDK includes the status and RingCentral error text
in the exception message. Its formatted request details contain the method and URL
path, with headers, query strings, and fragments omitted. To inspect the original
request explicitly, call exc.api_response().request() on the caught
ApiException.
Please refer to demo_subscription.py
The SDK supports websockets versions 15 through 17. get_connection() exposes
the underlying websockets connection. To send bytes as a text frame on that
connection, use send(data, text=True). Version 17 requires text as a keyword.
websockets 17 migration notes
See the SMS demo for a complete example.
https://github.com/ringcentral/ringcentral-python/blob/master/dev-notes.md