---
title: "Generate Citation"
method: POST
path: "/generate_citation"
---

# Generate Citation

`POST /generate_citation`

## Request

- Base URL: `https://api.yomu.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yomu.ai/generate_citation`
- Auth: API key in header `ACCESS_TOKEN`

## Request body

- GenerateCitationsRequest
  - `text` string, nullable
  - `url` string, nullable
  - `prefer_gpt` string, nullable
  - `custom_style` string, nullable
  - `language` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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