Skip to main content

api auth

```html

๐Ÿ“ŒOAuth ExposedToken TaskAPI Documentation

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

ACC Endpoint POST ยท update tags https://acc.bzctrl.com/bzctrl-core-api/api/v1/task/add-exposed-task/ad9c8ff9-6f58-4a1f-9a40-1ea9ede919ff ๐Ÿ”– Example tags body: {"tags":["urgent","bug-fix","frontend"]}

๐Ÿ” ACC OAuth Token endpoint (POST) https://acc.bzctrl.com/bzctrl-core-api/oauth/token

grant_type=passwordProduction Endpoint

๐ŸŒ PROD OAuth Token endpoint (POST) https://bzctrl.com/bzctrl-core-api/oauth/token

productionRequest Method

๐Ÿ”‘ Generate OAuth TokenPOST

Credentials:Request admin@bzctrl.de / Inspire#82Body (POST x-www-form-urlencoded)

password=Inspire#82

โ€‹JavaScript Example

โœจ Tokenlet responsedata fields= qs.stringify({
  'grant_type': 'password',
  'username': 'admin@bzctrl.de',
  'password': 'Inspire#82'
});

Response Fields

Successful responses contain the following keys:

โ€ข access_token
โ€‹โ€ข refresh_token
โ€ข token_type
โ€ข expires_in
โ€ข scope
โ€ข jti

๐Ÿ”‘Sample Latest Access Token
โ€”Response
"access_token":"xxxxxxxxxx",
  "scope":"*",
  "jti":"xxxxxxxxxx"
}

```