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

# Introduction

> Fundamental concepts of Formbox's API.

## Base URL

Formbox's API is built on REST principles and is served over HTTPS. To ensure data privacy, unencrypted HTTP is not supported.

The Base URL for all API endpoints is:

```bash Terminal theme={null}
https://app.formbox.app/api/v1
```

## Authentication

Authentication to Formbox's API is performed via `api-key`. To authenticate, you need to include the `api-key` header with your API key in your requests like so:

```bash Terminal theme={null}
api-key: <YOUR_API_KEY>
```

Learn more about [how to get your API key](/api-reference/api-keys).

## Response Codes

The API returns standard HTTP response codes to indicate the success or failure of an API request. Here are a few examples:

| Code  | Description                                                                                    |
| ----- | ---------------------------------------------------------------------------------------------- |
| `200` | The request was successful.                                                                    |
| `400` | The request was invalid or cannot be served.                                                   |
| `401` | The request requires user authentication.                                                      |
| `403` | The server understood the request, but refuses to authorize it.                                |
| `404` | The requested resource could not be found.                                                     |
| `429` | Too many requests.                                                                             |
| `500` | The server encountered an unexpected condition which prevented it from fulfilling the request. |

## Caveats

* Formbox's API is currently in public beta and is subject to change. However, we will do our best to keep breaking changes to a minimum.
