List of accounts

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 list of accounts, the representative of which is a current user.

  1. Request syntax
  2. Response format

Request syntax

https://api-metrica.yandex.net/management/v1/accounts
 ? [callback=<string>]
Query parameters
callbackCallback function which returns an API response.

Response format


{
    "accounts" : [ {
        "user_login" :  < string > ,
        "created_at" :  < date > 
    }, ... ]
}
Parameters Description
accounts List of accounts, the representative of which is a current user.
accounts
user_login

User login, which has provided full access to its counters for the current user.

created_at

Date of granting access in the format YYYY-MM-DD'T'hh:mm:ssZ.