Private beta
One API to book local businesses.
Connect your agent over MCP or REST. Search live inventory, book or hold, collect payment and confirm, with idempotent calls and machine-readable policies. Tours and experiences in Doha first, then spas, salons and more cities.
Two ways in, one booking flow.
Consumer agents connect over MCP and sign the guest in with OAuth. Platforms that run their own checkout use the REST API with a key.
MCP
https://mcp.tafaddal.ai/mcp{
"mcpServers": {
"tafaddal": {
"url": "https://mcp.tafaddal.ai/mcp"
}
}
}REST
https://api.tafaddal.ai/v1curl https://api.tafaddal.ai/v1/holds \
-H "Authorization: Bearer $TAFADDAL_KEY" \
-H "Idempotency-Key: 6f1c2e" \
-d offer_id=off_dhow_sunset \
-d start=2026-11-12T18:00:00+03:00 \
-d guests=2 \
-d guest_name="Sara Ahmed" \
-d guest_email=sara@example.comResponseJSON
{
"object": "hold",
"id": "hold_8Q2K",
"status": "held",
"start": "2026-11-12T18:00:00+03:00",
"party": 2,
"total": { "amount": 50000, "currency": "QAR" },
"due_now": { "amount": 50000, "currency": "QAR" },
"expires_at": "2026-11-11T18:10:00+03:00"
}Seven tools, mirrored in REST.
Every MCP tool has a REST endpoint with the same inputs and outputs. Booking takes one call, so an assistant asks the guest once.
| MCP tool | REST | What it does | Access |
|---|---|---|---|
search_offers | GET /v1/offers | Find bookable experiences and services by category, party size and price; with a date, each offer lists its free times. | read |
get_offer | GET /v1/offers/{id} | Details, media, location and policies for one offer. | read |
check_availability | GET /v1/offers/{id}/availability | Live slots with remaining capacity and price. | read |
book | POST /v1/bookings | Book a start time in one step: confirmed at once when paid at the venue, otherwise held with a payment link for the guest. | sensitive write |
get_booking | GET /v1/bookings/{id} | Status and details; over MCP, refund deadlines and the host's WhatsApp too, and no reference lists the guest's upcoming bookings. | read |
change_booking | POST /v1/bookings/{id}/change | Move to another start time on the same offer, same party and price, within policy. | sensitive write |
cancel_booking | POST /v1/bookings/{id}/cancel | Cancel, with the refund the policy allows. | sensitive write |
Read tools change nothing. Sensitive writes book, move or cancel under the business’s rules, so the agent tells the guest the price and rules and asks first.
Guests can also connect with search only, which leaves out every write tool. Platforms that want to hold first and take payment their own way can use POST /v1/holds, POST /v1/holds/{id}/checkout, POST /v1/holds/{id}/confirm.
From hold to booking.
A booking is confirmed at once when the guest pays at the venue. Otherwise it’s held for 10 minutes while the guest pays.
held- A hold reserves the slot for 10 minutes while the guest decides and pays.
expired- The time limit passed. The slot goes back on sale.
released- The agent let the hold go early. The slot goes back on sale.
confirmed- The guest paid through checkout, or the booking was confirmed directly because no upfront payment was required.
changed- Moved to another start time within policy. The booking stays confirmed.
cancelled · completed · no_show- How a confirmed booking ends. Refunds and no-show charges follow the business’s policy.
Predictable by design.
Idempotency keys on every write
Send an
Idempotency-Keyheader with every POST. A retry returns the original result, never a second hold or charge.Money in minor units
Integers with an ISO 4217 currency, in the business’s own currency. QAR 500.00 is
{ "amount": 50000, "currency": "QAR" }.Local times with offsets
ISO 8601 in the business’s time zone with an explicit offset. 6 pm in Doha (UTC+3 all year) is
2026-11-12T18:00:00+03:00.Policies with every offer and hold
Cancellation windows, deposits, and age or health requirements come back with every offer and hold, so agents can tell guests before they book.
Errors you can act on.
Errors return a stable code, a human-readable message and the matching HTTP status.
slot_unavailableHTTP 409The slot filled or closed before your hold. Check availability again and pick another time.
hold_expiredHTTP 410The hold passed its time limit and the slot was released. Place a new hold.
policy_violationHTTP 422The request breaks the host’s rules, such as party size, cut-off time or an age requirement.
payment_requiredHTTP 402This offer needs payment upfront. Create a checkout instead of confirming directly.
idempotency_conflictHTTP 409The Idempotency-Key was already used for a different request. Use a new key for a new request.
rate_limitedHTTP 429Too many requests. Wait for the Retry-After interval.
not_foundHTTP 404No offer, hold or booking with that ID.
Every change, pushed to you.
booking.confirmedA hold became a booking.
booking.changedMoved to another start time, within policy.
booking.cancelledThe guest or host cancelled; includes any refund.
booking.completedThe experience took place.
hold.expiredA hold ran out of time and the slot was released.
{
"id": "evt_5Jq1",
"type": "booking.confirmed",
"created_at": "2026-11-11T15:04:31Z",
"data": {
"booking_id": "bk_8Q2K",
"reference": "TF-8Q2K",
"status": "confirmed"
}
}Build with us.
The API is in private beta. Tell us what your agent books and we’ll set you up.