Auth
Log in
Authenticate with username and password and return an access token.
post/auth/token
Request
- Base URLhttps://api.your-domain.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
user-agentstring nullable
x-real-ipstring nullable
x-forwarded-forstring nullable
x-client-ipstring nullable
Cookies
session_idinteger nullable
Request body application/x-www-form-urlencoded
Response
Successful Response
Example response
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "bearer"
}Changes
No recorded changes to this operation across all 1 revision of this API.