Developers / Authentication
API reference

Authentication

How to get a token and call the API.

Create a token in Settings in your dashboard. Send it as a bearer token on every request. The base address is https://bookzo.xyz/api/v1. The API works on both plans.

curl https://bookzo.xyz/api/v1/me \
  -H "Authorization: Bearer YOUR_TOKEN"

Errors

A missing or wrong token returns status 401 with an error message. Successful answers are JSON with a data field.

Keep the token private

The token acts as you. Keep it on a server and never in a web page.

Build on your bookings

The API and webhooks are in the Free plan.