---
title: "Create a highlight on an article"
method: POST
path: "/api/v1/articles/{id}/highlights"
tags: ["Highlights"]
---

# Create a highlight on an article

`POST /api/v1/articles/{id}/highlights`

## Request

- Base URL: `https://feednest.com`
- URL: `https://feednest.com/api/v1/articles/{id}/highlights`
- Auth: HTTP bearer

Creates a highlight on an article. The `text` must appear verbatim in the article content, so fetch the article with `GET /api/v1/articles/{id}` first and copy the passage exactly. Paraphrased or invented text is rejected with a validation error. Requires the `write` scope.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `text` string, required
  - `color` string

## Response `201`

Highlight created

- object
  - `data` HighlightV1, required
    - `id` string, uuid, required
    - `text` string, required
    - `color` string, required
    - `start_position` integer, nullable, required
    - `end_position` integer, nullable, required

## Other responses

- `400`: Input validation failed
- `401`: Missing or invalid API key
- `403`: Insufficient permissions or subscription required
- `404`: Resource not found
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/feednest/apis/feednest-public-api.md) · [All operations](https://skmtc.dev/feednest/apis/feednest-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/feednest/apis/feednest-public-api/revisions/51c8242d8418?raw)
