> For the complete documentation index, see [llms.txt](https://help.axatel.by/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.axatel.by/administrirovanie-telefonnoi-stancii/api/voicebot.md).

# voicebot

![](/files/-MV1P0DDAsNqd0YDuPck)

[http://demo.a1.axatel.by/api/token/v1/b3eb7f02cd2afb37882045c6dbdbd128 <br>](<http://demo.a1.axatel.by/api/token/v1/b3eb7f02cd2afb37882045c6dbdbd128&#xD;&#xA;>)\
**Метод** - POST\
**Content-Type** - application/json

* **action** - константа
* **recipient** - получатель звонка

Пример запроса&#x20;

```
{
  "action":"voicebot",  //константа
  "recipient": 375291554499,    // получатель 
}
```

Пример успешного ответа

```
{
"success": "true",
"error": "null",
"guid": "dab9a7dc-0178-0261-6770-005056011d6c"
}        
```

Пример ошибки

```
{
"success": "false",
"sip_code": "503",
"error": "phone number is busy or unavailable"
}
```
