> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replied.dk/llms.txt
> Use this file to discover all available pages before exploring further.

# API Route Map

> Known API routes and rules for adding new API endpoints.

## Confirmed public endpoint

| Method | Path                                             | Purpose                   |
| ------ | ------------------------------------------------ | ------------------------- |
| `POST` | `https://www.replied.dk/api/v1/submit/{api_key}` | Submit a website message. |

## Add an API route

1. Read `docs/codebase-map.json`.
2. Search for existing API route handlers.
3. Reuse validation, auth, rate limit, and response helpers.
4. Preserve `org_id` scoping.
5. Return stable JSON shapes.
6. Update API docs and examples.

## Contract rules

* Do not remove existing fields from responses.
* Do not rename accepted request fields without a migration path.
* Keep error status codes stable.
* Document new errors.
