/api/v2/login
POST {{butlr_api_url}}/api/v2/login
Authenticate a user and obtain access, refresh, and ID tokens.
Key | Value |
---|
Content-Type | application/json |
Body
Parameter | Type | Description | Required |
---|
username | string | The user's email address. | Yes |
password | string | The user's password. | Yes |
Response
Success (200 OK)
Body
Parameter | Type | Description |
---|
access_token | string | The access token to be used for subsequent authenticated calls. |
refresh_token | string | The token to be used to obtain a new access token. |
id_token | string | The ID token containing user profile information. |
scope | string | The scopes associated with the access token. |
expires_in | int | The time (in seconds) until the access token expires. |
token_type | string | The token type, which is usually Bearer . |
Request Body
{"username"=>"{{username}}", "password"=>"{{password}}"}