Skip to main content

api auth

OAuth Token API Documentation

This API is used to generate an access token using the Password Grant flow.

API Endpoint

ACC : https://acc.bzctrl.com/bzctrl-core-api/oauth/token

Prod: https://bzctrl.com/bzctrl-core-api/oauth/token

Request Method: POST

Request Body (x-www-form-urlencoded)

grant_type=password
username=admin@bzctrl.deexample@example.com
password=Inspire#82Ex@mpl3!

Sample Response

{
  "access_token":"xxxxxxxxxx",
  "refresh_token":"xxxxxxxxxx",
  "token_type":"Bearer",
  "expires_in":3600,
  "scope":"*",
  "jti":"xxxxxxxxxx"
}