# Put a person in the line for a service in a window of time

`POST /bookings/waitlist` · Rivier · bookings

Put a person in the line for a service in a window of time. When a slot frees they are offered it, once, with an offer that lapses; nothing is booked for them.

- Scope: bookings:write
- Mcp: rivier_booking_waitlist_join
- Graphql: Mutation.joinBookingWaitlist
- Sdk: bookings.waitlist.join
- Cli: bookings waitlist join

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "serviceId": {
      "type": "string",
      "format": "uuid"
    },
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "partySize": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000,
      "default": 1
    },
    "contact": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "email": {
          "type": "string",
          "format": "email",
          "maxLength": 254
        },
        "phone": {
          "type": "string",
          "pattern": "^\\+?[0-9 ()-]{6,20}$"
        }
      },
      "required": [
        "name"
      ],
      "additionalProperties": false
    },
    "notes": {
      "type": "string",
      "maxLength": 500,
      "default": ""
    }
  },
  "required": [
    "serviceId",
    "from",
    "to",
    "contact"
  ],
  "additionalProperties": false
}
```

## Responses

- `201`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/bookings/waitlist' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "serviceId": "string",
  "from": "2026-01-01T00:00:00Z",
  "to": "2026-01-01T00:00:00Z",
  "contact": {
    "name": "string"
  }
}'
```
