Skip to main content
POST
/
api
/
security
/
token
Create JWT Token
curl --request POST \
  --url https://gateway.creditbenchmark.com/api/security/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data Username=your_username \
  --data Password=your_password
{
  "accessToken": "eyJraWQiOiJ4WldoaUZMd05OZ1VZVEtoVjVtam8tOFlvbTZ5Y0pyRXpGWlpqN3ltQ1E4IiwiYWxnIjoiUlMyNTYifQ...",
  "expiresIn": 7200,
  "tokenType": "Bearer"
}

Headers

Accept
enum<string>

Request a JSON response.

Available options:
application/json

Body

application/x-www-form-urlencoded
Username
string
required

Your Credit Benchmark username.

Example:

"your_username"

Password
string<password>
required

Your Credit Benchmark password.

Example:

"your_password"

Response

Access token generated successfully

accessToken
string
required

Bearer access token.

expiresIn
integer
required

Token lifetime in seconds.

Example:

7200

tokenType
string
required

Token type.

Example:

"Bearer"