Authentication
Initial/Refresh Authentication#
Most Zquared API (ZQAPI) requests are protected behind an Oath2.0 Resource Owner Password Grant authentication method.
In order to make calls to protected endpoints, you will first want to request an authentication token. You can also request refresh tokens based on an initial token if you want to keep your authentication session alive.
- Initial Call
- Refresh Call
POST /authenticate
RESPONSE
POST /authenticate
RESPONSE
The access_token provided by the Response object should be sent in a Bearer Token header in every subsequent request.
Verification#
To verify if an access_token is still valid, use the following endpoint.
- Successful Validation
- Unsuccessful Validation
GET /authenticate/validate
RESPONSE
GET /authenticate/validate
RESPONSE