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

# API Reference

> Browse the SegmentFlow.ai unified API launch endpoints generated from the OpenAPI spec.

The SegmentFlow\.ai unified API reference is generated from the OpenAPI spec in this docs site. Use the reference pages in this section to inspect each launch endpoint, required scopes, request shape, and response shape.

## Base URL

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

Customer-facing launch endpoints live under `/api/v1/`.

## Launch resources

The v1 launch surface includes:

* Profiles
* Templates
* Catalog Products
* Assets
* Brand Kit
* EmailSends
* Events

Segments, direct Journey management, Broadcasts, Newsletter Issues, anonymous web routes under `/api/v1/public/*`, and the WriteKey-authenticated Ingest API are not part of this launch reference. For product-level guidance across those surfaces, see [Which API should I use?](/docs/which-api-should-i-use).

## Authentication

Send your API key in the `x-api-key` header:

```bash theme={null}
curl https://api.segmentflow.ai/api/v1/templates \
  -H "x-api-key: sk_live_..."
```

See [Authentication](/docs/authentication) for key scopes, idempotency, and send-permission controls.

## Emails

The API reference includes `POST /api/v1/emails`, `POST /api/v1/emails/batch`, and `GET /api/v1/emails/{id}`. For end-to-end examples and lifecycle guidance, read [Emails](/docs/emails).

## Events

The API reference includes `POST /api/v1/events`. For examples and Journey-triggering guidance, read [Events](/docs/events).
