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.