Authentication

Create JWT Token

Create a JWT bearer token.

post/gartan/api/token

Request

Request body application/x-www-form-urlencoded

Usernamestring required

Your Credit Benchmark username

Passwordstring password required

Your Credit Benchmark password

grant_type'password' required

Grant type for authentication

Example request

{
  "Username": "your_username",
  "Password": "your_password",
  "grant_type": "password"
}

Response

JWT token generated successfully

access_tokenstring

JWT access token valid for 24 hours

token_typestring

Token type (always "Bearer")

expires_ininteger

Token expiration time in seconds (86400 = 24 hours)

Example response

{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "token_type": "Bearer",
  "expires_in": 86400
}

Changes

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