The authentication token endpoint allows developers to retrieve a public auth token required to do further activities with the Brick system. The access token will be live for five minutes and can be use for one time only.

Request Parameters

Key ParametersData TypeDescription
usernameStringUsername(Client Id) for authorization to generate public token
passwordStringPassword(Client Secret) for authorization to generate public token

Response Parameters

Key ParametersData TypeDescription
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
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!