---
title: "Reg Unit"
method: POST
path: "/api/robots/operators/units"
tags: ["robot-operators"]
---

# Reg Unit

`POST /api/robots/operators/units`

## Request

- Base URL: `https://astranl.com`
- URL: `https://astranl.com/api/robots/operators/units`
- 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

- UnitIn
  - `operator_id` integer, required
  - `unit_label` string, required
  - `category` string, required
  - `service_zone` string, required
  - `robot_id` integer, nullable
  - `price_per_hour` number
  - `price_per_task` number
  - `availability_state` string
  - `booking_lead_hours` integer

## 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)
