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
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.