# Start a group: a party with one lead guest, to which rooms are then booked

`POST /lodging/groups` · Rivier · bookings

Start a group: a party with one lead guest, to which rooms are then booked.

- Scope: bookings:write
- Mcp: rivier_lodging_group_create
- Sdk: bookings.group.create
- Cli: bookings group create

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "propertyId": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160
    },
    "lead": {
      "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}$"
        },
        "company": {
          "type": "string",
          "maxLength": 160
        }
      },
      "required": [
        "name"
      ],
      "additionalProperties": false
    },
    "notes": {
      "type": "string",
      "maxLength": 2000,
      "default": ""
    }
  },
  "required": [
    "propertyId",
    "name",
    "lead"
  ],
  "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/lodging/groups' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "propertyId": "string",
  "name": "string",
  "lead": {
    "name": "string"
  }
}'
```
