Skip to content
OneSay Developers

More

API Playground

The API Playground runs three read operations of the Control API through the OneSay JavaScript SDK: listProjects, listCapabilities and listActions.

The API Playground runs three read operations of the Control API through the OneSay JavaScript SDK: listProjects, listCapabilities and listActions. Each run shows the operation's method and path, the Grants it requires and a sample response. The Playground answers from fixed sample data and sends nothing over the network, so it needs no credential and cannot change any resource.

In your own application, the SDK sends every Control API request with the access token in a Bearer Authorization header and with cache: no-store, credentials: omit (no cookies), redirect: error and referrerPolicy: no-referrer. A browser gets its token from a short-lived token provider and never holds a Platform API key.