Tafaddal

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

Streamable HTTP. OAuth sign-in for consumer agents.

MCP client config
{
  "mcpServers": {
    "tafaddal": {
      "url": "https://mcp.tafaddal.ai/mcp"
    }
  }
}

REST

https://api.tafaddal.ai/v1

API keys for platforms. Form-encoded requests, JSON responses.

Place a hold
curl 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.com

ResponseJSON

{
  "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 tools, their REST endpoints and what they do
MCP toolRESTWhat it doesAccess
search_offersGET /v1/offersFind bookable experiences and services by category, party size and price; with a date, each offer lists its free times.read
get_offerGET /v1/offers/{id}Details, media, location and policies for one offer.read
check_availabilityGET /v1/offers/{id}/availabilityLive slots with remaining capacity and price.read
bookPOST /v1/bookingsBook 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_bookingGET /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_bookingPOST /v1/bookings/{id}/changeMove to another start time on the same offer, same party and price, within policy.sensitive write
cancel_bookingPOST /v1/bookings/{id}/cancelCancel, 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.

Booking lifecycle: book confirms at once when the guest pays at the venue; otherwise it holds the slot for 10 minutes until the guest pays. An unpaid hold expires or is released. A confirmed booking can be changed and stays confirmed, or ends as completed, cancelled with a refund per policy, or no_show.bookpay at the venue: confirmed at oncepay onlineheld10 minutesguest paysexpiredreleasedeither way, the slot goes back on saleconfirmedchange_booking: stays confirmedcompletedcancelled, refund per policyno_showBooking lifecycle: book confirms at once when the guest pays at the venue; otherwise it holds the slot for 10 minutes until the guest pays. An unpaid hold expires or is released. A confirmed booking can be changed and stays confirmed, or ends as completed, cancelled with a refund per policy, or no_show.bookpay at the venuepay onlineheld10 minutesexpiredreleasedslot back on saleguest paysconfirmedchange_bookingstays confirmedcompletedcancelled, refund per policyno_show
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-Key header 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 409

    The slot filled or closed before your hold. Check availability again and pick another time.

  • hold_expiredHTTP 410

    The hold passed its time limit and the slot was released. Place a new hold.

  • policy_violationHTTP 422

    The request breaks the host’s rules, such as party size, cut-off time or an age requirement.

  • payment_requiredHTTP 402

    This offer needs payment upfront. Create a checkout instead of confirming directly.

  • idempotency_conflictHTTP 409

    The Idempotency-Key was already used for a different request. Use a new key for a new request.

  • rate_limitedHTTP 429

    Too many requests. Wait for the Retry-After interval.

  • not_foundHTTP 404

    No offer, hold or booking with that ID.

Every change, pushed to you.

  • booking.confirmed

    A hold became a booking.

  • booking.changed

    Moved to another start time, within policy.

  • booking.cancelled

    The guest or host cancelled; includes any refund.

  • booking.completed

    The experience took place.

  • hold.expired

    A hold ran out of time and the slot was released.

booking.confirmed
{
  "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.