Authentication

Modified on Mon, 23 Nov at 11:46 PM

Token-based authentication

Briq uses API token-based authentication on the Public API. We accept the API-token as either a query parameter apitoken or as a request header x-api-key.


Get API key

Please contact our team to provide you an API key.


Testing

To test your API key, we suggest using the WhoAmI endpoint. When supplied with a correct API key, this endpoint will return the name and the domain ({domain}.briqbookings.com) of the merchant.


Example response:


{
  "name": "you company name",
  "domain": "your-company-domain"
}

If the API key is not valid, you will receive HTTP 401 - Unauthorized. For more info check Error codes.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article