JavaScript APIs & Hooks

Ask the Community

Lower level APIs for for building user experiences the components don't cover

We supply a client-side JavaScript API to access some of the underlying data that backs our features. These are functions on the window.CordSDK object, organized into themed libraries. For instance, functions to access presence information are located under window.CordSDK.presence. You can use these functions with or without also using our components.

We recommend trying to use the components first, as they cover most common use cases, and then using these APIs to cover any uncommon cases your application might need.

Not finding the answer you need? Ask our Developer Community

Ask Cordy