---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.2
alternate:
  - https://yandex.ru/dev/direct/doc/dg-v4/en/reference/PingAPI.md
  - https://yandex.ru/dev/direct/doc/dg-v4/ru/reference/PingAPI.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/direct/doc/dg-v4/en/llms.txt

# PingAPI
Checks API availability and whether the user was successfully authorized.
## Input data {#input}

The input data structure in JSON is shown below.

```javascript
{
   "method": "PingAPI"
}
```


## Output data {#output}

Returns 1 when the user is authorized successfully, as shown in the following example.

```javascript
{
   "data": 1
}
```

