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

# SureFeedback API

> Programmatic access to feedback, comments, approvals, sites, and more.

<Info>
  Base URL: `https://api.surefeedback.com/v1`
</Info>

## Authentication

All Public API endpoints require an API key. Include it in every request:

```bash theme={null}
X-API-Key: sf_your_api_key_here
```

Or using the Authorization header with Bearer prefix:

```bash theme={null}
Authorization: Bearer sf_your_api_key_here
```

## Getting an API key

1. Log in to SureFeedback
2. Navigate to **Profile on Top Bar → API Keys**
3. Click **+ Create API Key**
4. Set a name, permissions (Read / Write / Delete), and optional expiry
5. Copy the key — it is shown **only once**

<Warning>
  Keep your API keys private. Anyone with a key has the access defined by its permissions.
</Warning>

## What you can build

* Read and manage comments, sites, projects, and organizations
* Approve or unapprove pages programmatically
* Sync feedback with external tools via webhooks
* Automate mockup review workflows

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Make your first API call in under 2 minutes.
  </Card>

  <Card title="API Keys" icon="key" href="/api-reference/api-keys/create">
    Create and manage API keys.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/comments/list">
    Browse all endpoints.
  </Card>

  <Card title="Errors & Pagination" icon="circle-exclamation" href="/guides/errors">
    Understand error codes and paginated responses.
  </Card>
</CardGroup>
