Bronjoy API keys and request authentication
The Integrations API v1 gives access to one business's bookings, clients, services and schedule. A key acts as the business: bookings made through the API need no confirmation code.
Create a key
- In the Bronjoy dashboard open Settings → API & webhooks.
- Under API keys click Create key.
- Under Name say what will use it, for example "Website" or "amoCRM".
- Choose when it Expires and create the key.
- Copy the key right away — it starts with
bj_live_and is never shown again.
You can have up to 10 active keys. Give each integration its own, so you can Revoke one without breaking the rest.
Authentication
Send the key in a header — either form works:
Authorization: Bearer bj_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
X-Api-Key: bj_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Endpoints
| Method | Path | What it does |
|---|---|---|
GET | /api/v1/organization | The business |
GET | /api/v1/services | Services |
GET | /api/v1/staff | Staff |
GET | /api/v1/branches | Branches |
GET | /api/v1/availability | Free slots for a service and date |
GET | /api/v1/appointments | List bookings |
POST | /api/v1/appointments | Create a booking |
GET | /api/v1/appointments/{id} | One booking |
POST | /api/v1/appointments/{id}/cancel | Cancel a booking |
POST | /api/v1/appointments/{id}/reschedule | Reschedule a booking |
GET | /api/v1/clients | Clients |
GET | /api/v1/clients/{id} | One client |
Parameters and response shapes are in the API reference.
Example: a booking from your own site
1. Free slots. Take service_id from /api/v1/services.
curl "https://api.bronjoy.com/api/v1/availability?service_id=12&date=2026-12-01" \
-H "Authorization: Bearer $BRONJOY_KEY"
The response lists slots and the business's time zone.
2. Create a booking on one of those times:
curl -X POST "https://api.bronjoy.com/api/v1/appointments" \
-H "Authorization: Bearer $BRONJOY_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-1042" \
-d '{
"service_id": 12,
"start_time": "2026-12-01T11:30:00+05:00",
"client": { "name": "Anna", "phone": "+998901234567" },
"notes": "First visit"
}'
staff_idandbranch_idare optional.- The client needs a
phoneor anemail. - The time must be one of the
/api/v1/availabilityslots. A taken or off-grid time returns422. Idempotency-Keyprotects against double bookings: a retry with the same key within 24 hours returns the first booking instead of making a new one.
The response is 201 with the booking under data. Webhooks use the same shape.
Limits and errors
| Code | Why |
|---|---|
401 | No key, or the key is wrong, revoked or expired |
403 | The plan has no API (upgrade_required: true, feature: "api_access") |
422 | Invalid data, or the time is already taken |
429 | More than 120 requests a minute per key |
Other ways to authenticate
The Bronjoy apps use the same API with user tokens (/api/org/…, /api/client/…). For integrations use API keys: they're tied to one business, can be revoked and don't depend on a staff member. The token for the organization MCP server is created separately.