# CreateSlotRequest

Model ID: `CreateSlotRequest`

Request body for POST /slots.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `comment` | `string|null` | No |  |  |  | Yes | Optional scheduling note visible to appointment administrators. |
| `end` | `string` | Yes | date-time |  |  | No | Exclusive slot end in ISO 8601 date-time format; it must be after `start`. |
| `location` | `string|null` | No |  |  |  | Yes | Human-readable appointment location. |
| `provider_id` | `string` | Yes |  |  |  | No | FHIR Practitioner resource ID for the slot provider. |
| `provider_name` | `string|null` | No |  |  |  | Yes | Provider display name. |
| `schedule_id` | `string` | Yes |  |  |  | No | FHIR Schedule resource ID that owns the slot. |
| `service_type_code` | `string|null` | No |  |  |  | Yes | SNOMED CT service-type code associated with the slot. |
| `specialty_code` | `string|null` | No |  |  |  | Yes | SNOMED CT specialty code associated with the slot. |
| `start` | `string` | Yes | date-time |  |  | No | Inclusive slot start in ISO 8601 date-time format. |
| `status` | [`SlotStatus`](./SlotStatus.md) | No |  |  | `"free"` | No | Initial slot status. Defaults to `free`. |

## Example

None declared in canonical OpenAPI.
