auth

Login

OAuth2 password flow for authentication using username and password.

post/v1/auth/token

Request

  • Base URL
    https://app.tokumalabs.com/api
  • Auth
    none declared. Required headers: x-device-id

Headers

x-device-idstring required
x-device-namestring nullable
x-platformstring nullable
x-app-versionstring nullable

Request body application/x-www-form-urlencoded

grant_typestring nullable
usernamestring required
passwordstring password required
scopestring
client_idstring nullable
client_secretstring password nullable

Response

Successful Response

access_tokenstring required

JWT access token

token_typestring

Token type

expires_in_secondsinteger required

Token expiration time in seconds

scopestring

OAuth2 scopes

Changes

No recorded changes to this operation across all 1 revision of this API.