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

# API reference

> Base URL, authentication, and conventions for the SentFromAI API.

The SentFromAI API is organized around REST: predictable resource URLs, JSON request
and response bodies, and standard HTTP status codes.

## Base URL

```
https://api.sentfrom.ai/v1
```

## Authentication

Every request requires a Bearer API key:

```bash theme={null}
curl https://api.sentfrom.ai/v1/inboxes \
  -H "Authorization: Bearer sf_live_…"
```

Create and revoke keys in the [dashboard](https://console.sentfrom.ai). See
[Authentication](/authentication) for details.

## Conventions

* **JSON everywhere** — send `Content-Type: application/json`; responses are JSON.
* **IDs** are opaque strings; don't parse them.
* **Timestamps** are ISO-8601 UTC.
* **Errors** use standard status codes with an `{ "error": "…" }` body — see [Error handling](/guides/errors).
* **Idempotency** — pass a `client_id` on sends to make retries safe.

The endpoints in this section are generated from our
[OpenAPI spec](https://api.sentfrom.ai/openapi.json) — use the
**Try it** panel to call them live with your key.
