# Book-and-Pay

HTML: https://www.app2email.com/docs/api/book-and-pay · Index: https://www.app2email.com/docs/api/llms.txt

Appointment bookings made on WhatsApp Flows: the appointments, the free slots, the booking settings, and sending the number's Flows.

| Method | Path | Summary | Scope | Sandbox key |
| --- | --- | --- | --- | --- |
| GET | `/v1/{number}/bookings/waitlist` | [The waitlist of full days](https://www.app2email.com/docs/api/book-and-pay/list-booking-waitlist.md) | `bookings:manage\|messages:read` | reads |
| POST | `/v1/{number}/bookings/waitlist` | [Put a customer on the waitlist of a full day](https://www.app2email.com/docs/api/book-and-pay/add-to-booking-waitlist.md) | `bookings:manage` | refused |
| POST | `/v1/{number}/bookings/waitlist/{reference}/remove` | [Take a customer off the waitlist](https://www.app2email.com/docs/api/book-and-pay/remove-from-booking-waitlist.md) | `bookings:manage` | refused |
| GET | `/v1/{number}/bookings` | [The appointments, soonest start first](https://www.app2email.com/docs/api/book-and-pay/list-bookings.md) | `bookings:manage\|messages:read` | reads |
| POST | `/v1/{number}/bookings` | [Book an appointment for a customer at a free slot](https://www.app2email.com/docs/api/book-and-pay/create-booking.md) | `bookings:manage` | refused |
| GET | `/v1/{number}/bookings/availability` | [The free slots per day for a service, as the customer would see them](https://www.app2email.com/docs/api/book-and-pay/get-booking-availability.md) | `bookings:manage\|messages:read` | reads |
| GET | `/v1/{number}/bookings/reports` | [The booking report of a range of days](https://www.app2email.com/docs/api/book-and-pay/get-booking-reports.md) | `bookings:manage\|messages:read` | reads |
| GET | `/v1/{number}/bookings/{id}` | [One appointment, by id or reference](https://www.app2email.com/docs/api/book-and-pay/get-booking.md) | `bookings:manage\|messages:read` | reads |
| POST | `/v1/{number}/bookings/{id}/cancel` | [Cancel an appointment](https://www.app2email.com/docs/api/book-and-pay/cancel-booking.md) | `bookings:manage` | refused |
| POST | `/v1/{number}/bookings/{id}/status` | [Mark an appointment completed, a no-show, or back to confirmed](https://www.app2email.com/docs/api/book-and-pay/set-booking-status.md) | `bookings:manage` | refused |
| GET | `/v1/{number}/settings/booking` | [The booking settings, the default Flow's status and every Flow](https://www.app2email.com/docs/api/book-and-pay/get-booking-settings.md) | `bookings:manage\|messages:read` | reads |
| PUT | `/v1/{number}/settings/booking` | [Switch Book-and-Pay on or off and change the settings](https://www.app2email.com/docs/api/book-and-pay/update-booking-settings.md) | `bookings:manage` | refused |
| POST | `/v1/{number}/flows/{key}/send` | [Send a Flow to a contact (the booking form or another form)](https://www.app2email.com/docs/api/book-and-pay/send-flow.md) | `bookings:manage` | refused |
