# Introduction

One API for Email, CRM and Schedule. Every endpoint is
`/<product>/<resources>`, like `POST /email/emails` or `GET /crm/lists`.

<Cards>
  <Card title="Email API" href="/docs/api-reference/email">
    Sends, templates, contacts, inboxes and webhooks.
  </Card>
  <Card title="CRM API" href="/docs/api-reference/crm">
    Records, lists, notes and more.
  </Card>
  <Card title="Schedule API" href="/docs/api-reference/schedule">
    Event types, availability and bookings.
  </Card>
</Cards>

## Base URL [#base-url]

Every request goes to:

```text
https://api.relevate.app
```

It's HTTPS only.

## Authentication [#authentication]

Send an API key with every request, as `Authorization: Bearer <key>` or
`X-Api-Key: <key>`. Keys are made by workspace owners; see
[API keys](/docs/developers/api-keys). A key for Email belongs to one project and
has one scope, such as sending or reading.

## Versions [#versions]

Paths carry no version. Send the `Relevate-Version` header with a date, like
`Relevate-Version: 2026-10-27`, to pin the behaviour you built against. Without
it, the current version answers. Every response says which version it used, and an
unknown date is `400 unknown_api_version`.

## Responses and errors [#responses-and-errors]

Successful responses look like `{"api_version": "2026-10-27", "data": …}`. Errors
look like:

```json
{
  "error": {
    "code": "invalid_variables",
    "message": "A value is missing for order.total.",
    "details": [{ "variable": "order.total" }]
  }
}
```

The `code` is stable; the `message` is for people and can change.

## Retries [#retries]

Sends take an `Idempotency-Key` header. Retrying with the same key and the same body
returns the first answer instead of sending twice; a different body with the same
key is `409`. Use one key per email you mean to send, like `order-4821:receipt`.

## Limits [#limits]

Every accepted email returns `RateLimit-Limit`, `RateLimit-Remaining` and
`RateLimit-Reset`. Over the limit you get `429` with `Retry-After`.
`GET /email/usage` shows your allowances and what's used.

## Built for agents too [#built-for-agents-too]

Every docs page is available as plain text at [`/llms.txt`](/docs/llms.txt) and
[`/llms-full.txt`](/docs/llms-full.txt), and the full API contract is at
[`/openapi.json`](/docs/openapi.json), ready for code generators.
