List of comments

Attention.

Access tokens will not be accepted in URL parameters starting February 13, 2019. To continue working with the Yandex.Metrica API, set up authorization by passing the token in the HTTP header.

The outdated authorization method will be temporarily disabled on January 23, January 30, and February 6 for maintenance. Authorization using URL parameters will be unavailable on these dates.

Returns information about all comments that the user added for this counter in the web interface.

  1. Request syntax
  2. Response format

Request syntax

counterId — ID of the counter with comments that you want to get information about.

https://api-metrica.yandex.net/management/v1/counter/{counterId}/chart_annotations
 ? 

Response format


{
    "chart_annotations" : [  < _metrika_chart_annotation > , ... ]
}
ParametersDescription
chart_annotationsList of comments.