{"uid":"cap_J304LtaeD6UA_UwFLHIau","slug":"agents-zeroclick-ai-cancel-a-demo-booking-b0efc836","name":"Cancel a Demo Booking","description":"Cancel a booking. Free. 200: the booking body with status \"cancelled\" and a message for the person; an already cancelled booking answers with its state. 404 { error: \"booking_not_found\" } when there is no booking with that id. 409 { error: \"booking_not_cancellable\" } when the booking never confirmed. Show the message to the person as it is.","url":"https://agents.zeroclick.ai/demo/bookings/{booking_id}/cancel?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","example":{"reason":"Customer requested cancellation"},"properties":{"reason":{"type":"string","example":"Customer requested cancellation","maxLength":500,"description":"Why the demo is cancelled, for the ZeroClick team."}}},"responseSchema":{"type":"object","properties":{"host":{"type":["object","null"],"properties":{"name":{"type":"string"}},"description":"Who hosts the demo, when assigned."},"label":{"type":"string","description":"The booked time as the person should read it, for example \"Thu, Oct 22, 2:00 PM EDT\". Show it to the person as it is."},"status":{"enum":["requested","confirmed","cancelled","failed"],"type":"string","description":"confirmed: on the calendar. requested: held for the host, not yet confirmed. cancelled: cancelled. failed: the host declined it."},"message":{"type":"string","description":"A sentence for the person about this answer (the confirmation, the move, the cancellation). Present on create, reschedule and cancel. Show it to the person as it is."},"time_zone":{"type":"string","description":"The IANA zone the booking is shown in, for example America/New_York."},"booking_id":{"type":"string","example":"11111111-1111-4111-8111-111111111111"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"local_start":{"type":"string","format":"date-time","description":"scheduled_start in the attendee's zone with its UTC offset, for example 2026-10-22T14:00:00-04:00."},"service_key":{"type":"string","example":"zeroclick-demo"},"scheduled_end":{"type":"string","format":"date-time","description":"UTC instant (Z form)."},"requested_start":{"type":"string","format":"date-time"},"scheduled_start":{"type":"string","format":"date-time","description":"UTC instant (Z form)."}}},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.000000","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"unknown_unparsed","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"unknown","summary":"price unknown","primary":{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_FiPPNumxhoCU2zV0pgle-","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.000000","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"agents.zeroclick.ai","brandSlug":"agents-zeroclick-ai-x402","brandBaseUrl":"https://agents.zeroclick.ai","brandDocsUrl":null,"whatItDoes":"Cancels a confirmed demo booking by booking ID, returning the updated booking record with status set to 'cancelled'.","exampleAgentPrompt":"Please cancel my ZeroClick demo booking with ID abc-12345 — the reason is that the customer is no longer interested.","exampleUseCases":[{"title":"Customer cancels before demo day","prompt":"Cancel the ZeroClick demo booking abc-78901 for me — the customer requested the cancellation because they chose a different vendor."},{"title":"Agent cancels rescheduled demo","prompt":"The demo I booked earlier needs to be cancelled — use booking ID xyz-55321 and note that we're rescheduling to a later date."},{"title":"Confirm already-cancelled booking state","prompt":"I think I already cancelled demo booking def-99012 but I'm not sure — can you cancel it (or confirm it's cancelled) so I know the current status?"}],"resultDescription":"Returns the full booking record as a JSON object including booking_id, status (set to 'cancelled'), requested_start, scheduled_start, scheduled_end, time_zone, service_key, created_at, and updated_at timestamps. If the booking was already cancelled, the retained cancelled state is returned without error.","failureModes":["Invalid or unknown booking_id returns a not-found error","Attempting to cancel a booking in a non-cancellable state (e.g. 'failed') may return an error","Reason string exceeding 500 characters is rejected","Missing booking_id path parameter causes a bad request error","Network timeouts may require retry"],"whenToPreferThis":"Use this endpoint when an agent or user needs to definitively cancel a previously confirmed demo booking and optionally record the cancellation reason. It is idempotent — calling it on an already-cancelled booking safely returns the current cancelled state. Prefer this over simply abandoning a booking, as it properly updates the booking record and frees the time slot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:03:33.346Z","isFirstParty":false,"canonicalSlug":"agents-zeroclick-ai-cancel-a-demo-booking-b0efc836"}