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

# Quick Start

> Get your first screenshot in under 5 minutes

Get started with Snapopa in minutes. This guide walks you through creating your first screenshot.

## Prerequisites

* A Snapopa account ([sign up here](https://snapopa.com/signup))
* An API key from your dashboard

<Steps>
  <Step title="Get Your API Key">
    Navigate to [Dashboard → API Keys](https://snapopa.com/dashboard/api-keys) and create a new API key.
  </Step>

  <Step title="Make Your First Request">
    Use the API key to capture a screenshot:

    <Tabs>
      <Tab title="cURL">
        ```bash theme={null}
        curl -X POST https://api.snapopa.com/capture \
          -H "Authorization: Bearer YOUR_API_KEY" \
          -H "Content-Type: application/json" \
          -d '{"url": "https://example.com"}'
        ```
      </Tab>

      <Tab title="Node.js">
        ```javascript theme={null}
        const response = await fetch('https://api.snapopa.com/capture', {
          method: 'POST',
          headers: {
            'Authorization': 'Bearer YOUR_API_KEY',
            'Content-Type': 'application/json',
          },
          body: JSON.stringify({ url: 'https://example.com' }),
        });
        const data = await response.json();
        console.log(data.data.fileUrl);
        ```
      </Tab>

      <Tab title="Python">
        ```python theme={null}
        import requests

        response = requests.post(
            'https://api.snapopa.com/capture',
            headers={
                'Authorization': 'Bearer YOUR_API_KEY',
                'Content-Type': 'application/json',
            },
            json={'url': 'https://example.com'}
        )
        data = response.json()
        print(data['data']['fileUrl'])
        ```
      </Tab>
    </Tabs>
  </Step>

  <Step title="View Your Screenshot">
    The response includes a `fileUrl` pointing to your screenshot on the CDN.
  </Step>
</Steps>

## Response

```json theme={null}
{
  "success": true,
  "error": null,
  "data": {
    "uuid": "abc123-def456",
    "fileUrl": "https://cdn.snapopa.com/abc123-def456.png",
    "fromCache": false,
    "tokenCost": 1,
    "fileSizeBytes": 245678,
    "processingTimeMs": 1234,
    "metadata": {
      "mimeType": "image/png",
      "width": 1920,
      "height": 1080,
      "createdAt": 1703001234
    }
  }
}
```

## Next Steps

* [Learn about authentication](/authentication)
* [Explore capture parameters](/capture/parameters)
* [See more code examples](/examples/code-samples)
