---
title: "Book a seat in a class on a date for a person, by name and number"
method: POST
path: "/v1/sessions/book"
---

# Book a seat in a class on a date for a person, by name and number

`POST /v1/sessions/book`

## Request

- Base URL: `https://api.octapi.app`
- URL: `https://api.octapi.app/v1/sessions/book`
- Auth: HTTP bearer

## Request body

- object
  - `session_id` string, uuid, required
  - `date` string, required
  - `name` string, required
  - `phone` string, required
  - `student_name` union
    - string, nullable
    - ''
  - `notes` union
    - string, nullable
    - ''
  - `makeup_for` string, uuid, nullable

## Response `200`

Default Response

- object
  - `id` string, required
  - `service_name` string, required
  - `provider_name` string, required
  - `starts_at` union, required
    - string
    - string, date-time
  - `ends_at` union, required
    - string
    - string, date-time

---

[API](https://skmtc.dev/octapi/apis/octapi-api.md) · [All operations](https://skmtc.dev/octapi/apis/octapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/octapi/apis/octapi-api/revisions/580afda787d2?raw)
