Get Public token

The authentication token endpoint lets developers obtain a short-lived, single-use public token to redirect users to the Brick interface and then retrieve their data. Each access token is valid for 5 minutes and can be used only once.

Request Parameter

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

Response Parameter

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!