OAuth2 Client Credentials Grant Type(server token)
The client credentials grant flow is meant only for server-to-server API requests that use an app access token.
To get an access token, send an HTTP POST request to https://pulsoid.net/oauth2/token
. Set the following x-www-form-urlencoded
parameters as appropriate for your app.
Name | Type | Description |
---|---|---|
grant_type | string | Must be set to client_credentials |
There should be an Authorization header with base64 encoded client_id:client_secret. For example: for
client_id=c0403af6-998a-4b22-b08b-cc7329bbdc03
and
client_secret=b2729cb2-a34a-4641-aa92-b66b2d27eabd
there should be a header
Curl request example
Curl response example
If the request succeeds, it returns an access token.
Last updated