---
title: "Create new employee's booking for some gym"
method: POST
path: "/bookings"
tags: ["Api::Bookings"]
---

# Create new employee's booking for some gym

`POST /bookings`

## Request

- Base URL: `https://api.totalpass.com/service/v1`
- URL: `https://api.totalpass.com/service/v1/bookings`
- Auth: none declared. Required headers: `SINGLE-ACCESS-TOKEN`

## Query parameters

- `locale` string

## Headers

- `SINGLE-ACCESS-TOKEN` string, required

## Request body

- object
  - `gym_acronym` string
  - `document_type` string
  - `document_number` string
  - `scheduled_at` string

## Response `201`

booking created

- object
  - `booking_id` integer
  - `message` string

## Other responses

- `404`: employee or gym not found
- `422`: fail to create a new booking

---

[API](https://skmtc.dev/totalpass/apis/legacy-apis.md) - [All operations](https://skmtc.dev/totalpass/apis/legacy-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/totalpass/apis/legacy-apis/revisions/b3ee4bc6af18?raw)
