---
title: Reschedule a booking
description: Moves a single booking to a new slot.
api_method: POST
api_path: "/v1/bookings/{uid}/reschedule"
canonical_url: https://wiblo.app/docs/developers/api/bookings/reschedule-booking
last_updated: 2026-07-28T18:08:25+02:00
md_url: https://wiblo.app/docs/developers/api/bookings/reschedule-booking.md
---

# Reschedule a booking

`POST /v1/bookings/{uid}/reschedule`

Moves a single booking to a new slot. The new slot validates with the creation semantics — host conflicts widened by the service's buffers, out-of-office blocks, and booking/duration limits that EXCLUDE the booking being moved from its own count. On success the times move, `rescheduled_by` records the acting member, `ical_sequence` increments, and the idempotency key regenerates. Round-robin services with `reschedule_with_same_rr_host = false` reassign the host atomically with fresh fairness selection — the booking keeps its uid, status, and attendees; when every candidate conflicts the booking is left untouched and the call answers 409. Same authorization as cancel. Per-user rate-limited at 30/60s.

## Path parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `uid` | `string` | Yes |  |

## Headers

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `X-Wiblo-Workspace` | `string` | Yes | Workspace id the call is scoped to. The actor must hold an active membership in it; a foreign or unknown id collapses onto 404 WORKSPACE_NOT_FOUND. |

## Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `start_time` | `string` | Yes | New slot start as an RFC 3339 datetime; UTC and offset forms accepted. |
| `end_time` | `string` | Yes | New slot end as an RFC 3339 datetime; must be after `start_time`, and the duration must match the service length. |

## Request

**curl**

```bash
curl https://api.wiblo.app/v1/bookings/f2b8d4a6-9e1c-4c7b-8f3a-5d0e9b2c6a4e/reschedule \
  -X POST \
  -H "Authorization: Bearer $WIBLO_TOKEN" \
  -H "X-Wiblo-Workspace: $WIBLO_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "start_time": "2026-08-20T12:00:00.000Z",
  "end_time": "2026-08-20T12:30:00.000Z"
}'
```

**TypeScript**

```ts
import { createSdk, rescheduleBooking } from "@workspace/sdk"

const sdk = createSdk({ baseUrl: "https://api.wiblo.app" })

const { data, error } = await rescheduleBooking({
  client: sdk,
  path: { uid: "f2b8d4a6-9e1c-4c7b-8f3a-5d0e9b2c6a4e" },
  headers: { "X-Wiblo-Workspace": "..." },
  body: {
    "start_time": "2026-08-20T12:00:00.000Z",
    "end_time": "2026-08-20T12:30:00.000Z"
  },
})
```

## Example response

```json
{
  "booking": {
    "booking_id": "a7c3e9f1-2b5d-4e8a-9c1f-6d3b8a5e2c7f",
    "booking_uid": "f2b8d4a6-9e1c-4c7b-8f3a-5d0e9b2c6a4e",
    "member_id": "5f2d8c1b-7e4a-4b9d-a6c3-1d8e5f2a7b4c",
    "status": "accepted",
    "rescheduled": true,
    "new_start_time": "2026-08-20T12:00:00.000Z",
    "new_end_time": "2026-08-20T12:30:00.000Z",
    "message": "Booking rescheduled successfully"
  }
}
```

## Responses

**`200`** — The booking was rescheduled. `booking_uid` always matches the path uid — fresh-host reschedules reassign the host atomically on the same booking. Returns `RescheduleBookingResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `booking` | `object` | Yes | The reschedule outcome. |
| `booking.booking_id` | `string` | Yes | Unique id of the booking. |
| `booking.booking_uid` | `string` | Yes | Public uid of the booking — always the SAME uid: fresh-host reschedules reassign the host atomically on the same booking. |
| `booking.member_id` | `string \| null` | Yes | The assigned organizer's workspace member id after the reschedule (fresh-host reschedules may change it); `null` only for history rows whose organizer edge was severed. |
| `booking.status` | `"accepted" \| "pending"` | Yes | The booking's status — kept across the reschedule. |
| `booking.rescheduled` | `boolean` | Yes | `true` when the booking was moved to the new slot. |
| `booking.new_start_time` | `string` | Yes | The booking's new start (RFC 3339). |
| `booking.new_end_time` | `string` | Yes | The booking's new end (RFC 3339). |
| `booking.message` | `string` | Yes | Human-readable outcome message. |

**`400`** — Body failed Zod validation, the booking is cancelled/rejected, the duration no longer matches the service length, the new start is in the past, or the minimum booking notice is violated (`VALIDATION_FAILED` / `BAD_REQUEST`). Returns `ApiErrorEnvelope`.

**`401`** — No valid session cookie or `wbl_*` bearer was present. Returns `ApiErrorEnvelope`.

**`403`** — The actor is neither the booking's organizer, one of its hosts, nor an owner/admin (`BOOKING_FORBIDDEN`). Returns `ApiErrorEnvelope`.

**`404`** — No booking with this uid in this workspace (`BOOKING_NOT_FOUND`) or the workspace collapsed (`WORKSPACE_NOT_FOUND`). Returns `ApiErrorEnvelope`.

**`409`** — The new slot conflicts (`BOOKING_CONFLICT` — host busy, out of office, attendee already booked, or every round-robin candidate taken) or a booking/duration limit is full (`BOOKING_LIMIT_REACHED`). Returns `ApiErrorEnvelope`.

**`429`** — Rate limit exceeded. The body's `error.code` is `RATE_LIMITED` and `error.details.retry_after` is the same number of seconds as the `Retry-After` header. Returns `ApiErrorEnvelope`.
