Idempotency-Key header to retry the same booking request safely. Within a team, one key creates at most one booking. Omitting the header preserves the existing behavior.400 with Idempotency-Key header is invalid.422 with Idempotency-Key was already used with a different request. This still applies after the saved response expires or the booking is updated, cancelled or deleted.| Response | Meaning and next action |
|---|---|
201 Created | The booking is saved. data contains the booking or, for a newly created card checkout, { "paymentSessionUrl": "…" }. For 24 hours after the first 201 response is saved, a retry returns that same snapshot with Idempotency-Replayed: true. Later changes to the booking do not alter the snapshot. |
202 Accepted | Processing is still in progress. The booking may not exist yet. Wait the number of seconds in Retry-After, then repeat the same POST to continue the operation. To read progress, follow Location. |
409 Conflict with Retry-After | An identical request is still running. Wait the number of seconds in Retry-After, then repeat the same POST. |
410 Gone | The saved 201 response has expired. Follow Location to check the operation. To read the current booking, use GET /v1/bookings/{uid} with data.reference.bookingUid. The original response and its checkout URL can no longer be retrieved by replaying this POST. |
422 Unprocessable Entity | The key was used with a different request body. Check the original request. Use a fresh key for a separate booking. |
500 Internal Server Error | Retry with the same key and body. If Location is present, you can also use it to check the operation. |
503 Service Unavailable with data.state = recovery_required | Stop automatic retries. The booking or payment may already exist. Contact Jicoo support with data.reference.operationId before attempting another booking. |
201, 202, 410 and 503 recovery_required, Location points to GET /v1/booking_operations/{id}. On 202, 410 and 503 recovery_required, data.reference contains operationId, bookingUid and statusPath. The GET reads progress. Repeating the POST with the original key and body can resume an operation that is still pending.errorCode and isRetryable when present. If isRetryable is true, retry the same request. If you change the body, for example to select another time or correct invalid input, use a fresh key.201 confirms that the booking was saved. Notifications and online meeting setup may still be in progress. Use the operation status endpoint to check the steps registered for this booking request.payment.paymentMethod is card and this booking proceeds directly to checkout, payment.cancelUrl is required. This can apply on an approval-enabled booking page when the requested start time falls outside its approval window. A missing URL returns 400 with payment.cancelUrl is required.201 within 24 hours returns the same paymentSessionUrl and leaves the checkout deadline unchanged. Create a new booking with a fresh key only after confirming that the original checkout expired and the original payment did not complete.