Interaction format

Requests to the Yandex Direct API are made over the HTTPS protocol using the POST method.

A request must contain the HTTP Authorization header with the OAuth token of the user that the API request is being made on behalf of. It may also contain other headers that are necessary for processing the request. The response contains the RequestId header — the unique ID of the request.

Input and output data structures are passed in the body of the request and response. The Yandex Direct API supports two formats: JSON and SOAP/XML. All data is UTF-8 encoded.