Skip to navigation

Poll status

Poll a booking’s async status.

What: asks the supplier directly for the latest status of a booking that is PENDING_CONFIRMATION.

When: only now and then, for example when your customer asks. Kitionz already checks a pending booking with the supplier about every 30 seconds, so for routine waiting read GET /bookings/{id} instead; most settle within 10 minutes. No webhook is sent for this change.

Gotchas

  • When there is nothing to ask the supplier yet (a request booking, or a booking whose supplier gave no clear answer), the answer comes from Kitionz’s own record: 200, never an error.
  • Never show a hard failure and never book again while it is pending. Still pending after 20 minutes: contact Kitionz support with the booking id.

Authentication

AuthorizationBearer

Your Kitionz API key, sent as Authorization: Bearer keyId:secret. Create a Test key at sandbox.kitionz.com → API keys, a Live key at kitionz.com → API → API keys.

Path parameters

idstringRequired

Response

Default Response
successboolean
statusCodedouble
dataobject

Async booking-status poll result + the refreshed booking.

metaobject