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

# API reference

> Reference for every Elastly API endpoint, generated from the published API document, with the production base URL, authentication and a live playground.

This reference lists every endpoint of the Elastly API with its parameters, request body, responses and error codes. The pages are generated from the API document the product publishes, so they match the API exactly. For concepts that apply to every endpoint, start with the [developer overview](/docs/developers/overview.md).

## Base URL

```text theme={null}
https://api.elastly.ai
```

Every endpoint is served from production. There is no sandbox host. A **Test** API key keeps your calls apart from live data and is not billed as usage.

## Authentication

Send an API key as a bearer token in the `Authorization` header.

```bash theme={null}
curl https://api.elastly.ai/v1/catalog/items \
  -H "Authorization: Bearer YOUR_API_KEY"
```

Create keys on **Manage** > **API & webhooks**. See [Authentication](/docs/developers/authentication.md) for key types and which endpoints each type can call.

## Playground

Each endpoint page has a playground that sends a real request with the API key you enter.

> [!WARNING]
>
> The playground sends requests to production with your own API key. A write request sent from it, such as a price request, an outcome report or a data import, changes live data in your workspace. Use a **Test** key where the endpoint accepts one.

## Endpoint groups

| Group | Endpoints | Key type |
| - | - | - |
| Pricing | Price one line, price a quote, report outcomes, read a decision | **Live**, **Test**; **Read-only** cannot report outcomes |
| Catalog and customers | List catalog items, list customers | **Live**, **Test**, **Read-only** |
| Events | List events | **Live**, **Test**, **Read-only** |
| Data | Create or update catalog items, customers and documents; bulk imports | **Connector** |

The reference also documents the payload of each webhook event. See [Webhooks and events](/docs/developers/webhooks.md) for delivery and signature verification.

## Machine-readable document

The API serves its own OpenAPI document, so you can generate a client in your language or import the API into a tool that reads OpenAPI. No API key is needed to read it.

| Document | URL |
| - | - |
| OpenAPI 3.1 | `https://api.elastly.ai/openapi.json` |
| OpenAPI 3.0 | `https://api.elastly.ai/openapi-3.0.json` |

> [card] [Price requests](/docs/developers/price-requests.md)
>
> Price lines and quotes, then report outcomes.

> [card] [Sending data](/docs/developers/data-ingestion.md)
>
> Send records and bulk files with a connector key.

> [card] [Errors](/docs/developers/errors.md)
>
> Every error code and what to do.

> [card] [Rate limits](/docs/developers/rate-limits.md)
>
> Limits per key and per workspace.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.