# Schedule a session of a group service with its seats

`POST /bookings/sessions` · Rivier · bookings

Schedule a session of a group service with its seats.

- Scope: bookings:admin
- Sdk: bookings.session.create
- Cli: bookings session create

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "serviceId": {
      "type": "string",
      "format": "uuid"
    },
    "start": {
      "type": "string",
      "format": "date-time"
    },
    "durationMinutes": {
      "type": "integer",
      "minimum": 5,
      "maximum": 1440
    },
    "capacity": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    },
    "resourceId": {
      "type": "string",
      "format": "uuid"
    },
    "priceMinor": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "serviceId",
    "start"
  ],
  "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/sessions' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "serviceId": "string",
  "start": "2026-01-01T00:00:00Z"
}'
```
