POST - Authentication Token

Before you can do anything else with the Sypht API you will need to request a bearer token using your client id and secret available in the app. Please note that bearer tokens are valid for one hour and we strongly advise you to securely cache them to reuse on subsequent API requests.

/oauth2/token

post
Header parameters
Authorizationstring · Basic {Base64(Client ID:Client Secret)}Required
Body
client_idstringOptional

The client id obtained on sign-up with sypht.

grant_typestringOptional

The type of authentication request - always set this to "client_credentials"

Responses
200
OK
application/json
200

OK

{
  "access_token": "text"
}

Last updated

Was this helpful?