---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - https://fleet.yandex.ru/docs/api/en/interaction.md
  - https://fleet.yandex.ru/docs/api/ru/interaction.md
  - href: https://fleet.yandex.ru/docs/api/en/interaction.md
    type: text/markdown
    title: Markdown version
  - href: https://fleet.yandex.ru/docs/api/en/llms.txt?revision=r21515713
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://fleet.yandex.ru/docs/api/en/llms.txt?revision=r21515713

# Interaction

Interaction with the API via:

```text
https://fleet-api.taxi.yandex.net
```

Data is transferred via secure protocol HTTPS.
The JSON format is used to represent the data in the request and response fields.

## Request headers

General headers for API requests:

| Heading         | Description                    |
| --------------- | ------------------------------ |
| X-Client-ID     | Client ID                      |
| X-API-Key       | Secret API key                 |
| Accept-Language | Accept Language (default `en`) |

## Response Codes

The following response codes are used in the API:

| Code | Reason              | Description                                             |
| ---- | ------------------- | ------------------------------------------------------- |
| 200  | OK                  | Request completed successfully                          |
| 400  | BadRequest          | Incorrect request parameters                            |
| 401  | Unauthorized        | Missing authorization parameters                        |
| 403  | Forbidden           | Not enough rights for the request                       |
| 404  | NotFound            | Resource not found                                      |
| 409  | Conflict            | Operation could not be completed due to change conflict |
| 429  | TooManyRequests     | Limit exceeded                                          |
| 500  | InternalServerError | Internal server error                                   |

## Error format

The API regulates the format of unsuccessful responses to a request:

```json
{
    "code": "Machine-readable error code",
    "message": "Human-readable error message"
}
```

## Feedback

Questions regarding the API can be sent at [api-taxi@yandex-team.ru](mailto:api-taxi@yandex-team.ru).
