Skip to main content

api auth

OAuth2 Authentication Token

POST

API Endpoints

ACC (Staging) https://acc.bzctrl.com/bzctrl-core-api/oauth/token
Production https://bzctrl.com/bzctrl-core-api/oauth/token

Request Body

Content-Type: x-www-form-urlencoded
grant_type=password&username=example@example.com&password=Ex@mpl3!

Sample Response

Status: 200 OK
{
  "access_token": "xxxxxxxxxx",
  "refresh_token": "xxxxxxxxxx",
  "token_type": "Bearer",
  "expires_in": 3600,
  "scope": "*",
  "jti": "xxxxxxxxxx"
}
💡 Usage Note: A successful authentication returns the token or authorization credentials required for all subsequent API communications. Include the access_token as a Bearer token in your request headers.