The client identifier issued during registration.
OAuth Token API (1.0)
This API provides an OAuth 2.0 Client Credentials flow to obtain access tokens that are required to call secured endpoints.
The token is a JWT (JSON Web Token) with a limited lifetime.
Download OpenAPI description
Overview
URL
SQR
Languages
Servers
https://api.sqr-group.com/
- https://api.sqr-group.com/oauth2/token
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.sqr-group.com/oauth2/token \
-H 'Content-Type: application/json' \
-d '{
"client_id": "354z244b-2b83-4721-922b-9f9b4ba13059",
"client_secret": "secret",
"grant_type": "client_credentials"
}'Response
application/json
{ "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...", "token_type": "Bearer", "expires_in": 3600, "scope": "read:users write:logs" }