# Get OAuth2 access token Endpoint: POST /auth/token Version: v1 ## Request fields (application/x-www-form-urlencoded): - `grant_type` (string) - `scope` (string) - `client_id` (any) - `client_secret` (any) ## Response 200 fields (application/json): - `access_token` (string, required) The access token (UUID) - `token_type` (string) The type of the token, typically 'bearer'. - `expires_in` (integer, required) The number of seconds until the token expires. ## Response 401 fields (application/json): - `detail` (any, required) ## Response 422 fields (application/json): - `detail` (array) - `detail.loc` (array, required) - `detail.msg` (string, required) - `detail.type` (string, required)