---
title: "Book Event"
method: POST
path: "/activity/{location_id}/{event_id}/book"
tags: ["Online Booking"]
---

# Book Event

`POST /activity/{location_id}/{event_id}/book`

## Path parameters

- `location_id` number, required
- `event_id` integer, required

## Headers

- `Accept` string, required
- `Content-Type` string, required

## Response `200`

OK

- EventBookResponse — Book Event response with created Appointment details
  - `success` boolean — Execution success status (true)
  - `data` object — Object with data
    - `id` integer — Appointment ID
    - `hash` string — Appointment ID, for deleting it immediately after creation
  - `meta` object[] — Metadata (empty array)

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/alteg/apis/online-booking.md) · [All operations](https://skmtc.net/alteg/apis/online-booking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alteg/online-booking/versions/623dc683246f/schema)
