---
title: "Generate Prompts"
method: POST
path: "/citations/generate-prompts"
tags: ["citations"]
---

# Generate Prompts

`POST /citations/generate-prompts`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/citations/generate-prompts`
- Auth: API key in header `X-Agent-Key`

Generate provider-tailored citation-test prompts (Gemini, backend keys).

## Query parameters

- `email` string, nullable

## Request body

- GeneratePromptsRequest
  - `domain` string, required
  - `title` string, nullable
  - `meta_desc` string, nullable
  - `headings` string[]
  - `summary` string, nullable
  - `top_queries` string[]
  - `competitor_themes` string[]
  - `max_prompts` integer
  - `provider` string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
