Integrations
Bookings on your website (API)
nodenly. One bookings API (Pro and Business plans): services, days, free times, booking and waiting list from any website, with the same rules as the booking page.
With the bookings API, a custom-built website (yours or an agency's) books services straight into nodenly. One, in the website's own design. Bookings land in the agenda with the same rules as the booking page: opening hours, notice, holidays and leave, times held for the waiting list, contact asked, intake form, overdue dues, session packs, emails to the client and the day-before reminder.
Plans: Pro and Business (integrations). The booking page nodenly.com/r/<your-company> stays in every plan.
Keys
The same as Keys and domains:
- public (
pk_live_…): in the website's code, only from your authorized domains; - secret (
sk_live_…): servers only (never in a browser).
Send it in Authorization: Bearer <key> (or X-Api-Key).
No code: the widget
In Settings → Integrations → Bookings on your site: add your website's domain, create a public key and paste two lines wherever you want bookings:
<div data-nodenly-booking></div>
<script src="https://www.nodenly.com/f/booking.js" data-key="pk_live_…" data-lang="en" defer></script>Your booking page shows, compact and in your brand colour, growing and shrinking with its content. It only opens on your authorized domains (and their subdomains). Works on WordPress, Wix, Squarespace, Shopify or HTML. The widget is simple on purpose: for a page in your website's own design, use the API below.
1. What can be booked
curl "https://www.nodenly.com/api/v1/booking/services?locale=en" \
-H "Authorization: Bearer sk_live_…"Returns the services (name, duration, price if you show prices, intake questions), the professionals and tables and the rules (contact asked, confirmation, days ahead, waiting list).
2. Days and free times
GET /api/v1/booking/days: the days ahead and whether you're open.GET /api/v1/booking/slots?service=<id>&date=2026-11-03: that day's free times (startandendin ISO). Optional:staff=<id>(orany) andparty_sizefor tables.
3. Book
await fetch("https://www.nodenly.com/api/v1/bookings", {
method: "POST",
headers: { Authorization: "Bearer pk_live_…", "Content-Type": "application/json", "Idempotency-Key": crypto.randomUUID() },
body: JSON.stringify({
service_id: "…",
start: "2026-11-03T10:00:00.000Z", // a time from /booking/slots
name: "Ana Silva",
email: "ana@example.com",
intake: { "<question id>": "yes" },
locale: "en",
}),
});Answer 201: id, status (confirmed, or pending if you confirm each booking), manage_url (the client's "Your booking" page) and calendar. The client gets the usual emails.
Most common errors (shape { "error": { "code", "message", "field" } }):
| Code | When |
|---|---|
slot_taken (409) | The time is no longer free: ask for the times again |
invalid_field (422) | Missing name, the contact you ask for, or a required intake question (field) |
dues_overdue (403) | The client has dues overdue and you chose "Don't let them book online" |
bookings_off (409) | Bookings are turned off |
feature_not_in_plan (403) | The plan doesn't include integrations |
Use Idempotency-Key so a double click doesn't book twice.
4. Waiting list
On a full day: POST /api/v1/booking/waitlist with service_id, date, name, email. When a time frees up, we tell one person at a time, as on the booking page.
Webhooks
The booking.created and booking.cancelled events tell your server about every new or cancelled booking, whether it came from the website, the booking page or the panel (see Webhooks).
Limits
300 requests a minute per key for reads (120 per visitor); 60 bookings a minute per key (10 per visitor) and at most 5 bookings a day for the same contact. The full description is at /api/v1/openapi.json.