> For the complete documentation index, see [llms.txt](https://docs.aitu.io/aituapps/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aitu.io/aituapps/aitu-business-chat-api/metody.md).

# Методы

Для доступа к методам Business Chat API требуется аутентификация — в каждом запросе необходимо передавать токен в заголовке.

{% hint style="warning" %}
Обязательна инициация диалога со стороны пользователя.
{% endhint %}

### Пример

```javascript
curl --location 'https://businesschatapi.aitu.io/bc/v1/sendMessage' \
--header 'Authorization: secret' \
--header 'Content-Type: application/json' \
--data '{
"timestamp": 1745578372,
"dialog_id": "c77e0e80-a653-11ea-a88d-e2ba00094b29",
"correlation_id": "39b0ca11-f0a2-4a38-9927-ca7f592122de",
"sender": {
"name": "Operator 1"
},
"type": "data",
"text": "messafe"
}'
```

<br>
