---
title: "Book"
method: POST
path: "/api/robots/book"
tags: ["robot-operators"]
---

# Book

`POST /api/robots/book`

## Request

- Base URL: `https://astranl.com`
- URL: `https://astranl.com/api/robots/book`
- Auth: one of:
  - API key in header `X-Task-Key`
  - API key in header `X-Agent-Key`

Requires the task key (?key= or X-Task-Key) or an API credential (enforced by middleware).

## Request body

- BookIn
  - `unit_id` integer, required
  - `client_ref` string, required
  - `task_category` string, required
  - `zone` string, required
  - `client_email` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/astranl/apis/astranl-public-api-positive-allowlist.md) · [All operations](https://skmtc.dev/astranl/apis/astranl-public-api-positive-allowlist/llms.txt) · [OpenAPI document](https://skmtc.dev/astranl/apis/astranl-public-api-positive-allowlist/revisions/5f86bcffe30d?raw)
