---
title: "Create File Annotation"
method: POST
path: "/api/v1/files/{file_id}/annotations"
tags: ["v1", "Source Verifications"]
---

# Create File Annotation

`POST /api/v1/files/{file_id}/annotations`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/files/{file_id}/annotations`
- Auth: none declared

A person draws a box, highlights text, or notes a page.

## Path parameters

- `file_id` integer, required

## Request body

- AnnotationCreate: A person's box, text highlight or page note on a file (JEEVY-2249 format). Coordinates are PDF points on the unrotated page (px for an image), top-left origin. Give `bbox` for a box, `text_anchor` ({start, end, quote}) for a highlight, or neither for a note on the whole page.
  - `page` integer, nullable
  - `bbox` number[], nullable
  - `text_anchor` object, nullable
  - `unit` 'pt' | 'px'
  - `page_width` number, nullable
  - `page_height` number, nullable
  - `rotation` integer
  - `sheet_label` string, nullable
  - `label` string, nullable
  - `kind` string, nullable
  - `facts` object
  - `targets` object[]

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-09** `d9ef00c0253a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/changes/api/v1/files/:file_id/annotations/post.md)

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
