---
metadata:
  - name: generator
    content: Diplodoc Platform v5.46.1
alternate:
  - https://yandex.com/dev/partner-statistics/doc/en/concepts/access.md
  - https://yandex.com/dev/partner-statistics/doc/ru/concepts/access.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/partner-statistics/doc/en/llms.txt

# Accessing the API

The Yandex Partner Interface uses OAuth access tokens to authorize applications. Each token gives an app access to a user's data. The statistics API and the in-app advertising API use different tokens.

To get an OAuth token, follow [this link](https://oauth.yandex.ru/authorize?response_type=token&client_id=da092e6d50b443308da7a28e638070b9) and log in to the account that you registered in the Yandex Advertising Network.

## Using a token {#use-tokens}

The token issued to your application should be passed in every API call.

You can pass the token in the HTTP `Authorization` header and specify its type before the value:
```no-highlight
Authorization: OAuth e78cf1a0ebbb19...
```
