Link copied to clipboard!
Mobile navigation button - closed state

Client JavaScript

For use cases 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.