/api/v2/clients/login
POST {{butlr_api_url}}/api/v2/clients/login
| Key | Value |
|---|
Content-Type | application/json |
Body
| Key | Type | Description | Required |
|---|
client_id | string | Your Butlr-provided client ID | Yes |
client_secret | string | Your Butlr-provided client secret | Yes |
audience | string | The API audience | Yes |
grant_type | string | The grant type | Yes |
Response
Success (200 OK)
Body
| Key | Type | Description |
|---|
access_token | string | The access token to access the API |
scope | string | The granted scopes |
expires_in | integer | The number of seconds the token is valid |
token_type | string | The type of the token (Bearer) |
Request Body
{"client_id"=>"", "client_secret"=>"", "audience"=>"https://butlrauth/", "grant_type"=>"client_credentials"}