Generate Public Access Token (JWT token)

This endpoint allows developers to retrieve a short-lived public access token (JWT) necessary for initiating certain operations within the Brick system. The token is valid for 5 minutes and is intended for single-use only.​

Request Parameters

Key ParametersData TypeDescription
usernameStringYour Client ID (You can collect this from Brick dashboard)
passwordStringYour Client Secret (You can collect this from Brick dashboard)

Response Parameters

Key ParametersData TypeDescription
messageStringContain info that access token is valid for 5 minutes and can use one time only.
accessTokenStringThis is unique token for clients, also called as public access token, It should be use this token for further APIs.
issuedAtStringToken generation time.
expiresAtStringExpiry of token, expiry for token is 5 minutes and can only be used 1 time.
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!