---
title: "Creates a BBoxAnnotation"
method: PUT
path: "/bbox"
tags: ["bboxAnnotation"]
---

# Creates a BBoxAnnotation

`PUT /bbox`

## Request body

- BBoxAnnotationCreate
  - `x_min` integer, required — Absolute x_min coordinate of the BBoxAnnotation
  - `x_max` integer, required — Absolute x_max coordinate of the BBoxAnnotation
  - `y_min` integer, required — Absolute y_min coordinate of the BBoxAnnotation
  - `y_max` integer, required — Absolute y_max coordinate of the BBoxAnnotation
  - `code_id` integer, required — Code the BBoxAnnotation refers to
  - `sdoc_id` integer, required — SourceDocument the BBoxAnnotation refers to

## Response `200`

Successful Response

- BBoxAnnotationRead
  - `x_min` integer, required — Absolute x_min coordinate of the BBoxAnnotation
  - `x_max` integer, required — Absolute x_max coordinate of the BBoxAnnotation
  - `y_min` integer, required — Absolute y_min coordinate of the BBoxAnnotation
  - `y_max` integer, required — Absolute y_max coordinate of the BBoxAnnotation
  - `id` integer, required — ID of the BBoxAnnotation
  - `code_id` integer, required — Code the BBoxAnnotation refers to
  - `user_id` integer, required — User that created the BBoxAnnotation
  - `sdoc_id` integer, required — SourceDocument the BBoxAnnotation refers to
  - `created` string, date-time, required — Created timestamp of the BBoxAnnotation
  - `updated` string, date-time, required — Updated timestamp of the BBoxAnnotation
  - `memo_ids` integer[], required — Memo IDs attached to the BBoxAnnotation

## Other responses

- `422` — Validation Error

## Changes

> 73 revisions in range; 22 could not be searched.

- **2025-08-22** `53e769440a25` — 2 warning
  - removed the optional property `detail/items/ctx` from the response with the `422` status
  - removed the optional property `detail/items/input` from the response with the `422` status

[Change history](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/changes/bbox/put.md)

---

[API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/revisions/a84d27ef7a0d/schema)
