In order to use the AppMetrica API, you need to get an access token from the Yandex.OAuth service. The token must be sent with all method requests in the HTTP
curl -X GET \ https://api.appmetrica.yandex.ru/management/v1/applications \ -H 'Authorization: OAuth 05dd3dd84ff948fdae2bc4fb91f13e22bb1f289ceef0037'
GET /management/v1/applications HTTP/1.1 Host: api.appmetrica.yandex.ru Authorization: OAuth 05dd3dd84ff948fdae2bc4fb91f13e22bb1f289ceef0037
If an API method is called without a token, or the request includes an invalid token, the server returns the HTTP status
Obtaining the OAuth token
Register your application to obtain the access token. Choose the appropriate access rights during registration:
For more information about authorization, read the document OAuth authentication. Developer's guide. This document also provides recommendations for client application developers.
For information on getting a token for application development and debugging, see the section Debugging token.