{ "opencollection": "1.0.0", "info": { "name": "Control API v1 apps Authentication API", "version": "1.0.32" }, "items": [ { "info": { "name": "Authentication", "type": "folder" }, "items": [ { "info": { "name": "Request an access token", "type": "http" }, "http": { "method": "POST", "url": "https://control.ably.net/v1/keys/:keyName/requestToken", "headers": [ { "name": "X-Ably-Version", "value": "" } ], "params": [ { "name": "format", "value": "", "type": "query", "description": "The response format you would like" }, { "name": "keyName", "value": "", "type": "path", "description": "The [key name](https://www.ably.io/documentation/rest-api/token-request-spec#api-key-format) comprises of the app ID and key ID of an API key." } ], "body": { "type": "json", "data": "{}" } }, "docs": "This is the means by which clients obtain access tokens to use the service. You can see how to construct an Ably TokenRequest in the [Ably TokenRequest spec](https://www.ably.io/documentation/rest-api/token-request-spec) documentation, although we recommend you use an Ably SDK rather to create a TokenRequest, as the construction of a TokenRequest is complex. The resulting token response object contains the token properties as defined in Ably TokenRequest spec. Authentication is not required if u" } ] } ], "bundled": true }