> ## 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.

# Routes

> Route map guidance for docs and application contributors.

The docs repo confirms these public URLs.

| URL                                              | Purpose                  |
| ------------------------------------------------ | ------------------------ |
| `https://replied.dk`                             | Public website.          |
| `https://app.replied.dk`                         | Replied dashboard.       |
| `https://www.replied.dk/api/v1/submit/{api_key}` | Submit website messages. |
| `https://replied.dk/widget.js`                   | Widget script.           |

## Add a dashboard page

1. Read `docs/codebase-map.json`.
2. Search for existing dashboard route patterns.
3. Reuse the dashboard layout and auth guard.
4. Scope queries by `org_id`.
5. Add the sidebar item only after the page works.

## Add a company admin page

1. Find current company admin routes.
2. Reuse company admin layout and role checks.
3. Keep billing, team, API key, and integration settings scoped to the workspace.

## Add a superadmin page

1. Find current superadmin route patterns.
2. Use superadmin auth only.
3. Keep it outside customer dashboard navigation.
4. Add audit context for sensitive actions.

## Do not invent routes

If a route is not in the map or source, confirm it before adding docs or links.
