# Введение

Спасибо за выбор Webcom Mobi API. Данный API позволяет работать со всеми основными возможностями Webcom Mobi, благодаря чему вы можете быстро наладить взаимодействие с нашим сервисом.

### Авторизация

Для корректной работы всех последующих примеров вам потребуется логин и пароль или ключ для доступа к Webcom Mobi API. Чтобы получить токен для авторизации, свяжитесь с закрепленным за вашей учетной записью менеджером.

### Поддерживаемые типы отправки:

* SMS сообщение
* Viber сообщение
* Голосовое сообщение
* Отправка кодов голосом (VoiceCode)
* FlashСall
* HLR
* Каскадная отправка Viber + SMS
* Каскадная отправка FlashCall + SMS

**Запросы необходимо отправлять в UTF-8 кодировке.**\
\
Не стоит использовать URL длиной более 2,000 символов. Но этот параметр зависит от многих факторов и [может различаться в большую или меньшую сторону](https://github.com/dreikanter/paradigm.ru/blob/master/posts/2007-12-19_url-max-length.md). Одинаковые запросы можно отправлять не чаще 1 раза в 1 минуту. В случае ошибки вернется:

```
error: Попытка отправки более одного одинакового запроса в течение минуты
```

### Варианты взаимодействия с API

С нашим API можно работать в формате JSON, XML и HTTP GET.

{% content-ref url="type/specifikaciya-json" %}
[specifikaciya-json](https://apidocs.webcom.mobi/ru2/type/specifikaciya-json)
{% endcontent-ref %}

{% content-ref url="type/specifikaciya-http-get" %}
[specifikaciya-http-get](https://apidocs.webcom.mobi/ru2/type/specifikaciya-http-get)
{% endcontent-ref %}

{% content-ref url="type/specifikaciya-xml" %}
[specifikaciya-xml](https://apidocs.webcom.mobi/ru2/type/specifikaciya-xml)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.webcom.mobi/ru2/vvedenie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
