Getting authorization

To perform actions on Yandex.Webmaster on behalf of a specific user, your application must be registered in the Yandex.OAuth service.

Authorization uses the OAuth 2.0 protocol. The Yandex OAuth implementation page shows how the application interacts with the OAuth server.

User information is accepted in the form of an access token in the HTTP Authorization header. For information about the authorization flow, see the section Extract a token from a URL in the Yandex.OAuth documentation.

If user data is requested without supplying an access token, the HTTP status 401 Unauthorized is returned.