Custom API Access
The BookingPam REST API gives you read-only access to all your business data — bookings, clients, services, staff, and stats. Use it to build custom dashboards, website integrations, or connect to any tool.
Keep your API key secret. Never share it publicly, commit it to GitHub, or expose it in browser JavaScript. If compromised, delete it immediately and generate a new one.
How do I get an API key?
1
Go to Custom API in the sidebar
2
Enter a name for the key (e.g., "My Website")
3
Click + Generate
4
Copy the key immediately — it is only shown once
You can create up to 5 API keys. Each key is rate limited to 1,000 requests per day.
How do I authenticate?
Include your API key in the Authorization header of every request:
Authorization: Bearer bpk_your_key_hereWhat endpoints are available?
Base URL: https://bookingpam.com
GET /api/v1/stats— overview stats (revenue, bookings, rating)GET /api/v1/bookings— list bookings (filter by status, date)GET /api/v1/bookings/:id— single booking detailsGET /api/v1/clients— list clients (search by name/email)GET /api/v1/services— list your servicesGET /api/v1/staff— list staff membersGET /api/v1/availability?date=YYYY-MM-DD— available slots for a date
Example request
curl https://bookingpam.com/api/v1/bookings \
-H "Authorization: Bearer bpk_your_key_here"What is the rate limit?
Each API key is limited to 1,000 requests per day. The counter resets at midnight UTC. If you exceed the limit, requests return a 429 Too Many Requests error.
How do I delete an API key?
Click Delete next to any key in the Custom API panel. The key stops working immediately — this cannot be undone.
Use case ideas: Display your availability on your own website, build a custom booking widget, sync bookings to your own database, or create a custom client portal.