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

# Introduction

> Get Started with the Campflare HTTP API

<Note>
  To use the Campflare API, you must get an API Key from the [Dashboard](https://campflare.com/platform).
</Note>

## Base URL

All requests are made to the base URL:

```
https://api.campflare.com/v2
```

## Authentication

Authentication requires an Authorization header with your API key. Replace `YOUR_API_KEY` with your actual API key.
You can get an API Key from the [Dashboard](https://campflare.com/platform).

```json theme={null}
Authorization: YOUR_API_KEY
```

## Response Codes

The Campflare API follows conventional HTTP status codes.
HTTP status codes are grouped into three main categories for indicating response outcomes:

* 2xx Success Codes: Indicate that the request was received, understood, and processed successfully.
* 4xx Client Error Codes: Show that the issue stems from the user's request. This could mean the request was malformed (400) or unauthorized (401).
* 5xx Server Error Codes: Indicate problems on the server side, meaning our infrastructure encountered an issue while processing an otherwise valid request. For instance, 500 signals an internal server error, while 503 means the service is temporarily unavailable.
