Login
POST/v1/auth/login
Login
Request
- application/json
Body
Login params
key string
The api key to use for authentication
secret string
The secret of the api key
Responses
- 200
- 401
Login response
- application/json
- Schema
- Example (from schema)
Schema
access_token string
created_at ISO 8601
expires_in number
refresh_token string
scope string
token_type string
{
"access_token": "string",
"created_at": "string",
"expires_in": 0,
"refresh_token": "string",
"scope": "string",
"token_type": "string"
}
Login failed
- application/json
- Schema
- Example (from schema)
Schema
code number
message string
status number
{
"code": 0,
"message": "string",
"status": 0
}
Loading...