# Introduction

Read and write your organization's data, send call transcripts to Valeron's analysis, and receive webhooks.

The Valeron API gives your own software the same data the Valeron app works with. Use it when you run a custom CRM, or any internal tool, and want Valeron's call intelligence inside it.

## What you can build

- **A two-way CRM sync.** Pull contacts and companies, fetch only what changed since your last run, and write changes back. See [Sync Valeron into your CRM](/docs/guides/sync-valeron-into-your-crm/).
- **Call analysis for calls Valeron did not record.** Send a transcript to `POST /v1/analyses` and get the score, summary, objections, next steps and coaching points. See [Send calls for analysis](/docs/guides/send-calls-for-analysis/).
- **Live updates.** Receive a webhook when a contact is created or changes, a call is analyzed, a meeting is booked, a message arrives or a payment succeeds. See [Webhooks](/docs/webhooks/).
- **Reporting.** Read recordings, transcripts, analyses, payments and metrics into your own dashboards.

## Base URL

All requests go to one base URL. Every route lives under `/v1`.

```text
https://api.valeron.io/v1
```

## Make your first request

Create an API key in the Valeron app (see [Authentication](/docs/authentication/)), then fetch your organization:

```bash title="cURL"
curl "https://api.valeron.io/v1/organization" \
  -H "Authorization: Bearer $VALERON_API_KEY"
```

```js title="JavaScript"
const response = await fetch("https://api.valeron.io/v1/organization", {
  headers: { Authorization: `Bearer ${process.env.VALERON_API_KEY}` },
});
console.log(await response.json());
```

```python title="Python"
import os
import requests

response = requests.get(
    "https://api.valeron.io/v1/organization",
    headers={"Authorization": f"Bearer {os.environ['VALERON_API_KEY']}"},
)
print(response.json())
```

## Conventions

| Topic | Rule |
|---|---|
| Format | JSON in, JSON out. Keys are `snake_case`. |
| IDs | Prefixed strings that tell you the type: `ct_` contact, `co_` company, `rec_` recording, `tsk_` task, `mtg_` meeting, `usr_` member. |
| Times | ISO 8601 in UTC, ending in `Z`, such as `2026-12-03T14:30:00Z`. |
| Money | Integer minor units with a currency: `{ "amount": 2400000, "currency": "USD" }`. |
| Unknown values | `null`. Valeron never guesses or fills in a default. |
| Enums | Values that people see carry a label: `{ "value": "price_too_high", "label": "Price too high" }`. |
| Creating | `POST` accepts an `Idempotency-Key` header. A retried request returns the first result. |
| Request ID | Every response has an `X-Request-Id` header. Quote it when you ask Valeron for help. |
| Versioning | A breaking change gets a new path, such as `/v2`. Changes that only add are made in `/v1`. See the [changelog](/docs/changelog/). |

## Plans

The API is available on every plan, Individual, Team and Enterprise. Using it costs nothing. What it causes is charged as usual: see [Billing and charges](/docs/billing-and-charges/).

## For AI coding agents

These docs are written to be read by machines too. Every page has a Markdown copy at the same address with `.md` added (or `index.md` for a folder), and there are two index files.

- [`/docs/llms.txt`](/docs/llms.txt): an index of every page with a one-line description.
- [`/docs/llms-full.txt`](/docs/llms-full.txt): all the documentation in one Markdown file.
- [`/docs/openapi.json`](/docs/openapi.json): the OpenAPI 3.1 description of every public route.
