Docs menuCreate a booking
API documentationBahasa Indonesia

POST/api/v2/bookings

Create a booking

A scheduled booking without a down payment, with a WhatsApp confirmation to the customer.

The hour is locked per provider per day; an hour just taken is refused with invalid_request. Send an Idempotency-Key so a retry never books twice.

Send an Idempotency-Key header (for example a new UUID per request). A repeat with the same key within 24 hours gets the first answer again, so nothing is sent twice.

Key
kf_live_ / kf_test_… in the Authorization: Bearer header. Created in Settings › API & Webhook › Create key (Pengaturan › API & Webhook › Buat kunci).
Key scope
bookings:write
Plan feature
WhatsApp sending API

Body (JSON)

  • service_idintegerrequired

    Service.

  • provider_idinteger

    Provider; empty = anyone.

  • starts_atstringrequired

    Start time in ISO 8601, one starts_at from Free slots.

  • namestringrequired

    Customer name.

  • phonestringrequired

    Customer WhatsApp number.

  • notestring

    Team note.

Possible errors

Try it

Try it with a test key
/api/v2/bookings

Send WhatsApp from your system with the Klik Flow API.

Mulai dengan paket Free. Ajak tim setelah ruang kerja siap.