The Zenbooker API requires authentication for all requests in the form of an API key. This API key grants full access to your Zenbooker account so make sure to keep it secret and don't expose it publicly on your website or in code repositories.

Getting an API key

You can generate your secure API key in the Zenbooker admin, by going to Settings > Developers > API, and clicking Create API Key.


Using the API key for requests

There are two ways to authenticate requests to the Zenbooker API using your API key.

Authorization Header (recommended)

Simply provide it as an Authorization:Bearer header in your requests as seen in the example below:

Authorization: Bearer {YOUR_API_KEY}

Query string parameter

You can also provide your API key using the query string parameter ?key=YOUR_API_KEY as seen in the example below:

https://api.zenbooker.com/v1/jobs?key=YOUR_API_KEY