Create booking
agendapro_create_bookingWRITE: create a booking for an existing client, service, provider and location. Check agendapro_list_available_slots first. status_id must be a non-cancelled status: copy the status.id of an existing booking (agendapro_list_bookings). AgendaPro does NOT send email/SMS/WhatsApp notifications for bookings created through the API. Not idempotent: calling twice books twice. POST /v3/bookings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Booking notes. | |
| price | No | Price as a decimal string; defaults to the service price. | |
| end_time | No | End; defaults to start + the service duration. | |
| client_id | Yes | Client id (agendapro_search_clients / agendapro_create_client). | |
| status_id | Yes | A non-cancelled booking status id. | |
| service_id | Yes | Service id. | |
| start_time | Yes | Start, ISO 8601 with a timezone offset, e.g. 2026-03-10T10:00:00-03:00 (use the location's timezone). | |
| location_id | Yes | Location id. | |
| provider_id | Yes | Service provider id. | |
| time_resource_id | No | Time resource id; required when the service needs one. |