> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/distribution/doc/dg-v2/en/llms.txt

# Interaction format

Interaction occurs over the HTTPS protocol in JSON format. The API supports the following HTTP methods:

- GET — Requesting a specified resource.
- POST — Creating a new resource.

Operations are listed in [API resources](https://yandex.com/dev/distribution/doc/dg-v2/en/concepts/all-resources.md).

## Exchanging data

The API supports JSON format. The following headers are used in requests:

#|
||
**Header**
|
**Description**
|
**Method**
||
||
`Authorization`
|
Data for authorization.
|
GET

POST
||
||
`Accept`
|
Format of the requested resource. Acceptable values:
- application/json.
|
GET

POST
||
||
`Content-Type`
|
Input data format for the resource. Acceptable values:
- application/json.
|
POST
||
|#

