Request a token for the provided scope and grant type (only client_credentials supported)
POST {{baseUrl}}/v1/oauth2/token
Request Body
[{"name"=>"grant_type", "value"=>"client_credentials", "datatype"=>"string"}, {"name"=>"client_id", "value"=>"{{clientId}}", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"{{clientSecret}}", "datatype"=>"string"}, {"name"=>"scope", "value"=>"{{scope}}", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"tokenType":"in nulla dolor","expiresIn":-7009712,"accessToken":"aliquip Duis"}