Documentation

Application authorization using an OAuth token

Applications can get access to statistical data on email marketing using OAuth access tokens. Each token provides a particular application with access to the data of a particular user.

In order to access Yandex services over the OAuth protocol, the developer must register the app on the http://oauth.yandex.com service in the Register new application section.

When registering an app that uses the Post Office API, select the following access rights:

After registration, the app can get OAuth tokens for accessing users' data.

For debugging an app, you can get a debugging OAuth token that gives you access to statistical data for mailings registered in Post Office by the app developer.

You should pass the token in the oauth_token GET parameter in every request you send to the Post Office API.

How to obtain and use OAuth tokens is described in detail in the documentation for the Yandex OAuth service.