---
metadata:
  - name: generator
    content: Diplodoc Platform v5.19.6
alternate:
  - https://yandex.ru/dev/sdg-robot/en/api-access.md
  - https://yandex.ru/dev/sdg-robot/ru/api-access.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/sdg-robot/en/llms.txt

# API access

## Step 1. Get a token {#token}

To get access to the service API, please email us at [delivery-robot@yandex-team.ru](mailto:delivery-robot@yandex-team.ru).

In response, you'll receive an API key (token) that you need for your HTTP requests to the service API. Pass this key in the `Authorization` header in HTTP requests. For example:

```bash
GET /couriers/search
Host: https://delivery-office.sdg.yandex.ru/api
Authorization: OAuth <your key>
```

## Step 2. Send a test request {#test}

Test how the API works. To do this, send a test HTTP request to get the list of robots:

```bash
GET https://delivery-office.sdg.yandex.ru/api/couriers/search/
```

You'll get a response:

`Code 200`

You'll find robot information in the response body.

{% include notitle [feedback](_includes/feedback-091b0be5d947.md) %}
