# API reference

Every public route, with its scope, parameters and examples.

The Valeron API is a JSON REST API. Every route is under one base URL and needs an API key.

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

Send the key as `Authorization: Bearer vk_live_…`. Each route below lists the [scope](/docs/scopes/) it needs. See [Authentication](/docs/authentication/) to create a key, and [Errors](/docs/errors/) for the error shape.

The routes are also available as an OpenAPI 3.1 file: [`/docs/openapi.json`](/docs/openapi.json).

## Groups

| Group | What it covers | Routes |
|---|---|---|
| [Organization](/docs/api-reference/organization/) | The organization, its teams, positions and members. | 5 |
| [Contacts](/docs/api-reference/contacts/) | People, with every field, their history and timeline. | 11 |
| [Companies](/docs/api-reference/companies/) | Companies, with every field, their people and history. | 10 |
| [Lists](/docs/api-reference/lists/) | Lists of contacts or companies and who is on them. | 4 |
| [Fields and pipelines](/docs/api-reference/fields-and-pipelines/) | Pipelines and stages, fields, picklists, tags, call types and call outcomes. | 23 |
| [Recordings](/docs/api-reference/recordings/) | Recorded calls, their transcripts and their analyses. | 9 |
| [Analyses](/docs/api-reference/analyses/) | Send calls Valeron did not record to the analysis. | 1 |
| [Meetings](/docs/api-reference/meetings/) | Booked meetings and the calendar. | 3 |
| [Tasks](/docs/api-reference/tasks/) | Tasks, including the next steps the analysis finds. | 4 |
| [Notes](/docs/api-reference/notes/) | Notes on contacts and companies. | 4 |
| [Messages](/docs/api-reference/messages/) | Text and email conversations with contacts. | 6 |
| [Payments](/docs/api-reference/payments/) | Payments from contacts, including manual ones. | 5 |
| [Analytics](/docs/api-reference/analytics/) | Metrics and their values. | 2 |
| [Webhooks](/docs/api-reference/webhooks/) | Webhook endpoints, their deliveries, and the events they receive. | 8 |
