# YCloud Docs: Russian Справочник API > YCloud product documentation, API reference, and webhook payload documentation. ## Справочник API ### Начало работы - [YCloud API](https://docs.ycloud.com/ru/api-reference/getting-started/ycloud-api.md): Создавайте рабочие процессы для отправки сообщений, верификации, работы с контактами и событиями с помощью YCloud API. - [Быстрый старт](https://docs.ycloud.com/ru/api-reference/getting-started/quickstart.md): Пройдите аутентификацию в YCloud и выполните свой первый запрос к API. - [Журнал изменений API](https://docs.ycloud.com/ru/api-reference/getting-started/changelog.md): Отслеживайте добавления в YCloud API, изменения совместимости и обновления документации для разработчиков. - [YCloud Developer Kit](https://docs.ycloud.com/ru/api-reference/getting-started/ycloud-developer-kit.md): Создавайте интеграции с YCloud с помощью навыков AI-разработки для Codex, Claude Code и WorkBuddy. ### Руководства - [Руководства](https://docs.ycloud.com/ru/api-reference/guides/overview.md): Практические руководства по интеграции с YCloud API. #### Основы API - [Аутентификация](https://docs.ycloud.com/ru/api-reference/guides/api-fundamentals/authentication.md): Аутентифицируйте запросы к YCloud API с помощью API-ключа. - [Обработка ошибок](https://docs.ycloud.com/ru/api-reference/guides/api-fundamentals/handle-errors.md): Разберитесь в ответах с ошибками YCloud и безопасно повторяйте запросы. - [Ограничения частоты запросов](https://docs.ycloud.com/ru/api-reference/guides/api-fundamentals/rate-limits.md): Проверяйте квоты YCloud API, считывайте заголовки ограничений частоты запросов и безопасно повторяйте запросы, ограниченные лимитами. - [Пагинация](https://docs.ycloud.com/ru/api-reference/guides/api-fundamentals/pagination.md): Получение полных наборов результатов из эндпоинтов со списками YCloud. - [Версионирование и совместимость API](https://docs.ycloud.com/ru/api-reference/guides/api-fundamentals/versioning.md): Обработка обратно совместимых изменений API, непрозрачных идентификаторов, новых типов событий и версий в URI. - [Настройка вебхуков](https://docs.ycloud.com/ru/api-reference/guides/api-fundamentals/configure-webhooks.md): Получайте события YCloud на вашей конечной точке HTTPS. - [Реализация получателя Webhook](https://docs.ycloud.com/ru/api-reference/guides/api-fundamentals/implement-a-webhook-receiver.md): Создайте эндпоинт, проверяйте подписи, надежно сохраняйте события и обрабатывайте повторные попытки и приостановку Webhook. #### Платформа WhatsApp ##### Отправка и получение - [Отправка сообщения WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/send-whatsapp-message.md): Отправляйте шаблонные, сессионные и медиасообщения WhatsApp с помощью асинхронного или синхронного API. - [Коды ошибок WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/whatsapp-error-code.md): Справочник кодов ошибок сообщений WhatsApp и способы решения проблем с недоставленными сообщениями, отправленными через YCloud. - [Обработка входящих сообщений WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/handle-whatsapp-inbound-messages.md): Получайте входящие сообщения, отмечайте их как прочитанные и отображайте индикатор набора текста. - [Загрузка медиафайлов WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/upload-whatsapp-media.md): Загружайте медиафайлы и используйте полученный media ID в запросах на отправку сообщений WhatsApp. - [Руководство по интеграции тарификации сообщений WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/whatsapp-message-pricing-integration-guide.md): Сведения о полях тарификации сообщений WhatsApp, правилах начисления платы и окончательности цен в вебхуках YCloud. - [Руководство по интеграции Max Price](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/max-price-integration-guide.md): Настраивайте ставки для маркетинговых шаблонов, регулируйте множители сообщений, а также добавляйте, сохраняйте или удаляйте параметры Max Price. ##### Рекомендации - [Рекомендации по API сообщений WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/whatsapp-messages-api-best-practices.md): Создавайте надежные, соответствующие правилам и наблюдаемые рабочие процессы отправки сообщений WhatsApp для продакшена. - [Практические рекомендации по Direct Send](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/best-practices/direct-send.md): Узнайте о Meta Direct Send, отправляйте контент категории Utility через YCloud и используйте расширение YCloud для конвертации шаблонов. ##### Бизнес-аккаунты - [Управление аккаунтами WhatsApp Business](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-business-accounts.md): Получайте список подключенных аккаунтов WhatsApp Business и проверяйте их рабочий статус. - [Управление номерами телефонов WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-phone-numbers.md): Регистрируйте номера телефонов и управляйте профилями, настройками коммерции и звонков. - [Использование business-scoped user ID](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/use-business-scoped-user-ids.md): Отправляйте сообщения и совершайте звонки в WhatsApp с помощью BSUID, запрашивайте номера телефонов, управляйте записями в адресной книге Meta и обрабатывайте поля BSUID в Webhook. ##### Шаблоны и сценарии - [Управление шаблонами WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-templates.md): Безопасное создание, версионирование, проверка, публикация и вывод из эксплуатации шаблонов сообщений WhatsApp. - [Поддерживаемые языки шаблонов WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/supported-whatsapp-template-languages.md): Выбирайте поддерживаемый Meta код языка при создании, управлении или отправке шаблона WhatsApp. - [Управление WhatsApp Flows](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-flows.md): Создавайте, валидируйте, просматривайте, публикуйте и выводите из эксплуатации структурированные сценарии WhatsApp. - [Реализация эндпоинта WhatsApp Flow](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/implement-a-whatsapp-flow-endpoint.md): Обрабатывайте проверки работоспособности (health checks) Flow, уведомления об ошибках, обмен данными, навигацию и завершение через YCloud. ##### Звонки и группы - [Управление звонками WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-calls.md): Настройте WhatsApp Calling, обрабатывайте сигнализацию входящих и исходящих звонков, обрабатывайте события звонков и скачивайте записи или расшифровки. - [Управление группами WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/whatsapp-platform/manage-whatsapp-groups.md): Узнайте, как создавать группы WhatsApp, доступные только по приглашению, приглашать пользователей, рассматривать запросы на вступление и управлять настройками группы. #### Meta Business Agent - [Обзор Meta Business Agent](https://docs.ycloud.com/ru/documentation/meta-business-agent/overview.md): Создавайте и запускайте ИИ-агента на платформе Meta для телефонного номера WhatsApp Business с помощью API YCloud. - [Подготовка и проверка соответствия требованиям](https://docs.ycloud.com/ru/documentation/meta-business-agent/prepare-and-check-eligibility.md): Подтвердите предварительные требования для бизнеса и проверьте, может ли номер телефона WhatsApp Business использовать Meta Business Agent. - [Подключение и настройка](https://docs.ycloud.com/ru/documentation/meta-business-agent/onboard-and-configure.md): Создайте Meta Business Agent и настройте его параметры, базу знаний, навыки, коннекторы и инструменты. - [Тестирование и оценка](https://docs.ycloud.com/ru/documentation/meta-business-agent/test-and-evaluate.md): Проверьте одношаговые и многошаговые сценарии, передачу диалога, инструменты и бизнес-сценарии перед полным развертыванием. - [Безопасное развертывание](https://docs.ycloud.com/ru/documentation/meta-business-agent/roll-out-safely.md): Включайте Meta Business Agent поэтапно, проверяйте каждое изменение настроек и держите наготове протестированный запрос на откат. - [Эксплуатация и устранение неполадок](https://docs.ycloud.com/ru/documentation/meta-business-agent/operate-and-troubleshoot.md): Управляйте ветками диалогов, обрабатывайте события, проверяйте логи, устраняйте сбои и безопасно выводите Meta Business Agent из эксплуатации. #### Данные клиентов и операции - [Проверка баланса аккаунта](https://docs.ycloud.com/ru/api-reference/guides/customer-data-and-operations/check-account-balance.md): Получение доступного баланса и валюты аккаунта YCloud. - [Управление контактами](https://docs.ycloud.com/ru/api-reference/guides/customer-data-and-operations/manage-contacts.md): Создавайте и ведите профили клиентов, используемые во всех рабочих процессах YCloud. - [Отслеживание пользовательских событий](https://docs.ycloud.com/ru/api-reference/guides/customer-data-and-operations/track-custom-events.md): Определяйте бизнес-события и отправляйте данные об активности клиентов в YCloud. - [Управление отписавшимися пользователями](https://docs.ycloud.com/ru/api-reference/guides/customer-data-and-operations/manage-unsubscribers.md): Регистрируйте и применяйте отказы клиентов от рассылок по каналам. #### Примеры - [Обзор примеров](https://docs.ycloud.com/ru/api-reference/guides/examples/overview.md): Изучите пошаговые руководства с комментариями, скриншотами, примечаниями по реализации, запросами, ответами и полезными нагрузками Webhook. - [Примеры Webhook](https://docs.ycloud.com/ru/api-reference/webhook-reference/overview.md): Здесь вы найдете триггеры, синтаксис полезной нагрузки, параметры и примеры для каждого события Webhook YCloud. ##### Примеры API - [Примеры создания шаблонов WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/examples/api-examples/whatsapp-template-creation-examples.md): Создавайте шаблоны аутентификации, сервисные, маркетинговые, коммерческие шаблоны, шаблоны Flow и шаблоны для звонков с аннотированными примерами запросов. - [Примеры сообщений WhatsApp](https://docs.ycloud.com/ru/api-reference/guides/examples/api-examples/whatsapp-messaging-examples.md): Отправляйте шаблонные, медиа-, интерактивные, торговые сообщения, сообщения Flow и вызовы с примерами запросов с пояснениями. ### Конечные точки #### Аккаунты WhatsApp Business - [List WABAs](https://docs.ycloud.com/api-reference/whatsapp-business-accounts/list-wabas.md): Returns a paginated list of WhatsApp business accounts you've registered. - [Retrieve a WABA](https://docs.ycloud.com/api-reference/whatsapp-business-accounts/retrieve-a-waba.md): Retrieves a WABA you've registered. - [Retrieve WABA automatic creative optimizations](https://docs.ycloud.com/api-reference/whatsapp-business-accounts/retrieve-waba-automatic-creative-optimizations.md): Retrieves current automatic creative optimization feature enrollment for a WhatsApp Business Account from Meta. - [Update WABA automatic creative optimizations](https://docs.ycloud.com/api-reference/whatsapp-business-accounts/update-waba-automatic-creative-optimizations.md): Partially updates automatic creative optimization feature enrollment for a WhatsApp Business Account. #### Входящие сообщения WhatsApp - [Mark message as read](https://docs.ycloud.com/api-reference/whatsapp-inbound-messages/mark-message-as-read.md): When you receive an inbound message from webhooks, you can use this endpoint to mark the message as read. Messages marked as read display two blue check marks alongside their timestamp. - [Mark message as read and display a typing indicator with a JSON response](https://docs.ycloud.com/api-reference/whatsapp-inbound-messages/mark-message-as-read-and-display-a-typing-indicator-with-a-json-response.md): Marks an inbound message as read and displays a typing indicator so the WhatsApp user knows you are preparing a response. Messages marked as read display two blue check marks alongside their timestamp. The typing indicator is dismissed once you respond, or after 25 seconds, whichever comes first. #### Медиа WhatsApp - [Upload media](https://docs.ycloud.com/api-reference/whatsapp-media/upload-media.md): Uploads media that can later be sent in WhatsApp messages. This endpoint interfaces with Meta's WhatsApp Business API media endpoints. All media files sent through this endpoint are encrypted and persist for 30 days. #### Сообщения WhatsApp - [Send a message directly](https://docs.ycloud.com/api-reference/whatsapp-messages/send-a-message-directly.md): Sends an outbound WhatsApp message directly. - [Enqueue a message](https://docs.ycloud.com/api-reference/whatsapp-messages/enqueue-a-message.md): Enqueues an outbound WhatsApp message for sending. - [Retrieve a message](https://docs.ycloud.com/api-reference/whatsapp-messages/retrieve-a-message.md): Retrieves a WhatsApp message you've previously sent. - [Submit a Direct Send message sample](https://docs.ycloud.com/api-reference/whatsapp-messages/submit-a-direct-send-message-sample.md): Submits one representative message sample to Meta and returns its detected category. We recommend submitting 3–4 samples that cover your utility use cases, one per request. This request does not send a message to a recipient. #### Сообщения Messenger - [Send a Messenger text reply directly](https://docs.ycloud.com/api-reference/messenger-messages/send-a-messenger-text-reply-directly.md): Use your connected Facebook Page to send a one-to-one text reply. Meta determines reply eligibility; YCloud does not precheck the messaging window. Use a Tenant API Key. Developer App API Keys are not supported. - [Retrieve an outbound message by its YCloud ID](https://docs.ycloud.com/api-reference/messenger-messages/retrieve-an-outbound-message-by-its-ycloud-id.md): Retrieves a locally stored outbound record scoped by authenticated tenant and from. Does not query Meta or require the Page to remain connected. There is no inbound detail lookup or public message-history list in this phase. - [Retrieve an outbound message by its Meta message ID](https://docs.ycloud.com/api-reference/messenger-messages/retrieve-an-outbound-message-by-its-meta-message-id.md): The opaque Meta ID is a query parameter to avoid path-segment encoding problems. Use the YCloud message ID to retrieve records without a confirmed Meta ID. Only locally stored outbound messages are available. #### Заблокированные пользователи WhatsApp - [Block users](https://docs.ycloud.com/api-reference/whatsapp-blocked-users/block-users.md): Blocks users from sending messages to the specified WhatsApp business phone number. You must have management permissions for this business phone number. YCloud synchronizes the operation with Meta's WhatsApp platform. - [Unblock users](https://docs.ycloud.com/api-reference/whatsapp-blocked-users/unblock-users.md): Removes users from the blocklist so they can send messages to the specified WhatsApp business phone number again. You must have management permissions for this business phone number. YCloud synchronizes the operation with Meta's WhatsApp platform. - [List blocked users](https://docs.ycloud.com/api-reference/whatsapp-blocked-users/list-blocked-users.md): Lists blocked users for the specified WhatsApp business phone number. You must have management permissions for this business phone number. #### Группы WhatsApp - [Create a group](https://docs.ycloud.com/api-reference/whatsapp-groups/create-a-group.md): Creates a WhatsApp group for the specified business phone number. - [List groups](https://docs.ycloud.com/api-reference/whatsapp-groups/list-groups.md): Returns a cursor-paginated list of active WhatsApp groups. - [Retrieve a group](https://docs.ycloud.com/api-reference/whatsapp-groups/retrieve-a-group.md): Retrieves a WhatsApp group. - [Delete a group](https://docs.ycloud.com/api-reference/whatsapp-groups/delete-a-group.md): Deletes a WhatsApp group. - [Retrieve a group invite link](https://docs.ycloud.com/api-reference/whatsapp-groups/retrieve-a-group-invite-link.md): Retrieves the invite link for a WhatsApp group. - [Reset a group invite link](https://docs.ycloud.com/api-reference/whatsapp-groups/reset-a-group-invite-link.md): Resets and returns the invite link for a WhatsApp group. - [Send a group invite link message](https://docs.ycloud.com/api-reference/whatsapp-groups/send-a-group-invite-link-message.md): Sends a WhatsApp template message that contains the group invite link parameter. - [List group join requests](https://docs.ycloud.com/api-reference/whatsapp-groups/list-group-join-requests.md): Returns a cursor-paginated list of pending join requests for a WhatsApp group. - [Approve group join requests](https://docs.ycloud.com/api-reference/whatsapp-groups/approve-group-join-requests.md): Approves one or more pending join requests for a WhatsApp group. - [Reject group join requests](https://docs.ycloud.com/api-reference/whatsapp-groups/reject-group-join-requests.md): Rejects one or more pending join requests for a WhatsApp group. - [Remove group participants](https://docs.ycloud.com/api-reference/whatsapp-groups/remove-group-participants.md): Removes one or more participants from a WhatsApp group. - [Update group settings](https://docs.ycloud.com/api-reference/whatsapp-groups/update-group-settings.md): Updates a WhatsApp group's settings, such as subject or description. #### Звонки WhatsApp - [Connect a call](https://docs.ycloud.com/api-reference/whatsapp-calling/connect-a-call.md): Initiates a WhatsApp call connection. - [Pre-accept a call](https://docs.ycloud.com/api-reference/whatsapp-calling/pre-accept-a-call.md): Pre-accepts an inbound WhatsApp call. - [Accept a call](https://docs.ycloud.com/api-reference/whatsapp-calling/accept-a-call.md): Accepts an inbound WhatsApp call. - [Terminate a call](https://docs.ycloud.com/api-reference/whatsapp-calling/terminate-a-call.md): Terminates an active WhatsApp call. - [Reject a call](https://docs.ycloud.com/api-reference/whatsapp-calling/reject-a-call.md): Rejects an inbound WhatsApp call. - [Download call media](https://docs.ycloud.com/api-reference/whatsapp-calling/download-call-media.md): Downloads an available recording or transcription generated for an API-sourced WhatsApp call. #### Номера телефонов WhatsApp - [List phone numbers](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/list-phone-numbers.md): Returns a paginated list of WhatsApp business phone numbers you've registered. - [Retrieve a phone number](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/retrieve-a-phone-number.md): Retrieves a WhatsApp business phone number you've registered. - [Retrieve a phone number profile](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/retrieve-a-phone-number-profile.md): Retrieves a WhatsApp business phone number's profile. Customers can view your business profile by clicking your business's name or number in a conversation thread. - [Update a phone number profile](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/update-a-phone-number-profile.md): Updates a WhatsApp business phone number profile. - [Update a phone number display name](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/update-a-phone-number-display-name.md): Updates a WhatsApp business phone number display name. - [Retrieve commerce settings](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/retrieve-commerce-settings.md): Retrieves a WhatsApp business phone number's commerce settings. - [Update commerce settings](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/update-commerce-settings.md): Updates a WhatsApp business phone number's commerce settings. Use this endpoint to enable or disable the shopping cart or the product catalog for a specific business phone number. - [Register a phone number](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/register-a-phone-number.md): Registers a WhatsApp business phone number. - [Retrieve phone number settings](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/retrieve-phone-number-settings.md): Retrieves phone number specific settings. - [Save phone number settings](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/save-phone-number-settings.md): Saves phone number specific settings. Send `calling`, `capture`, or both. When both are supplied, the service independently attempts both saves after shared authorization and phone-number validation. A failure in either branch does not prevent the other branch from being attempted. If either branch… - [Retrieve a phone number business username](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/retrieve-a-phone-number-business-username.md): Retrieves the Business Username state for a WhatsApp business phone number. The response reflects YCloud's latest known phone number state. If the phone number has no locally stored Business Username state, YCloud may sync the current username state from Meta before returning the response. - [Retrieve phone number business username suggestions](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/retrieve-phone-number-business-username-suggestions.md): Retrieves reserved Business Username suggestions for a WhatsApp business phone number. The response flattens Meta username suggestions into a string array. If no suggestions are available, `data` is an empty array. - [Update a phone number business username](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/update-a-phone-number-business-username.md): Requests a Business Username update for a WhatsApp business phone number. The requested username may require Meta review before it becomes active. If Meta accepts or reserves the request for review, the response status is usually `reserved`; `pending_review` is kept only as a legacy compatibility va… - [Delete a phone number business username](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/delete-a-phone-number-business-username.md): Deletes the active Business Username for a WhatsApp business phone number. This operation removes the currently active Business Username. It does not cancel or remove a reserved Business Username request. If a reserved request still exists after deletion, the returned `businessUsernameStatus` remain… - [Check a Meta contact book entry](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/check-a-meta-contact-book-entry.md): Checks whether Meta has a phone number entry for this standard BSUID in this business phone number contact book, without returning the phone number. Uses the same account API key, available WABA ownership and bound phone checks as DELETE. Parent BSUIDs are unsupported; Developer App API keys return… - [Delete a Meta contact book entry](https://docs.ycloud.com/api-reference/whatsapp-phone-numbers/delete-a-meta-contact-book-entry.md): Deletes the Meta contact book entry that associates a WhatsApp business phone number with a customer's WhatsApp Business-scoped user ID (BSUID). #### Шаблоны WhatsApp - [Create a template](https://docs.ycloud.com/api-reference/whatsapp-templates/create-a-template.md): Creates a WhatsApp template. - [List templates](https://docs.ycloud.com/api-reference/whatsapp-templates/list-templates.md): Returns a paginated list of WhatsApp templates you've previously created. - [Retrieve WhatsApp template analytics](https://docs.ycloud.com/api-reference/whatsapp-templates/retrieve-whatsapp-template-analytics.md): Returns daily YCloud message metrics and, when available, Meta Template Insights for one WhatsApp template. Authenticate with `X-API-Key`. `analyticsStatus` describes Meta Template Insights only; it does not describe YCloud metrics. Dates are interpreted in the WABA timezone, both boundaries are inc… - [Delete templates by name](https://docs.ycloud.com/api-reference/whatsapp-templates/delete-templates-by-name.md): Deletes WhatsApp templates by name. If that template name exists in multiple languages, all languages will be deleted. HTTP status `404` is returned if no templates are found for the specific name. - [Delete a template](https://docs.ycloud.com/api-reference/whatsapp-templates/delete-a-template.md): Deletes a WhatsApp template by name and language. - [Edit a template](https://docs.ycloud.com/api-reference/whatsapp-templates/edit-a-template.md): Edits a WhatsApp template by name and language. Editing a template replaces its old contents entirely, so include any components you wish to preserve as well as components you wish to update using the components parameter. - [Retrieve a template](https://docs.ycloud.com/api-reference/whatsapp-templates/retrieve-a-template.md): Retrieves a WhatsApp template by name and language. #### WhatsApp Flows - [Create a flow](https://docs.ycloud.com/api-reference/whatsapp-flows/create-a-flow.md): Creates a new WhatsApp Flow. New Flows are by default created in DRAFT state. You can create a new published Flow in single request by specifying flowJson and publish parameters. - [List flows](https://docs.ycloud.com/api-reference/whatsapp-flows/list-flows.md): Returns a list of WhatsApp Flows under a WhatsApp Business Account (WABA). - [Update flow metadata](https://docs.ycloud.com/api-reference/whatsapp-flows/update-flow-metadata.md): Updates a WhatsApp Flow's metadata (name or categories). - [Update flow structure](https://docs.ycloud.com/api-reference/whatsapp-flows/update-flow-structure.md): Updates a WhatsApp Flow's structure. Note that the file must be attached as form-data. - [Delete a flow](https://docs.ycloud.com/api-reference/whatsapp-flows/delete-a-flow.md): Deletes a WhatsApp Flow. Only Flows in DRAFT status can be deleted. - [Retrieve a flow](https://docs.ycloud.com/api-reference/whatsapp-flows/retrieve-a-flow.md): Retrieves a WhatsApp Flow's details. - [Publish a flow](https://docs.ycloud.com/api-reference/whatsapp-flows/publish-a-flow.md): Updates the status of the Flow to "PUBLISHED". You can either edit this flow in the future and turn it back to the "DRAFT" state, or create a new flow by specifying the existing Flow ID as the cloneFlowId parameter. - [Deprecate a flow](https://docs.ycloud.com/api-reference/whatsapp-flows/deprecate-a-flow.md): Marks a published Flow as deprecated. Once a Flow is published, it cannot be modified or deleted, but can be marked as deprecated. - [generate a web preview URL with this flow.](https://docs.ycloud.com/api-reference/whatsapp-flows/generate-a-web-preview-url-with-this-flow.md): In order to visualize the Flows created, you can generate a web preview URL with this request. **The preview URL is public and can be shared with different stakeholders to visualize the Flow.**. #### CTWA - [Submit a conversion event](https://docs.ycloud.com/api-reference/ctwa/submit-a-conversion-event.md): Submits one Lead or Purchase conversion event from a Click-to-WhatsApp ad. - [Submit conversion events](https://docs.ycloud.com/api-reference/ctwa/submit-conversion-events.md): Submits 1 to 100 Lead or Purchase conversion events for the same WhatsApp Business Account. #### Баланс - [Retrieve balance](https://docs.ycloud.com/api-reference/balance/retrieve-balance.md): Retrieves the current account balance. #### Контакты - [Create a contact](https://docs.ycloud.com/api-reference/contacts/create-a-contact.md): Creates a contact. - [List contacts](https://docs.ycloud.com/api-reference/contacts/list-contacts.md): Returns a paginated list of contacts. - [Retrieve a contact](https://docs.ycloud.com/api-reference/contacts/retrieve-a-contact.md): Retrieves a contact. - [List contact notes](https://docs.ycloud.com/api-reference/contacts/list-contact-notes.md): Returns all notes for a contact, ordered by creation time descending. The `{contactIdentifier}` path parameter supports a contact ID, a phone number in E.164 format starting with `+`, or a Meta username without the leading `@`. Ambiguous numeric values are resolved as Meta usernames first and fall b… - [Create a contact note](https://docs.ycloud.com/api-reference/contacts/create-a-contact-note.md): Creates one note for the contact and returns the created note. Leading and trailing whitespace is removed before storage. This operation does not use a client idempotency key; repeating the request creates another note with a different ID. - [Update a contact note](https://docs.ycloud.com/api-reference/contacts/update-a-contact-note.md): Updates one note in the current tenant by note ID and returns the updated note. Repeating the same request leaves the stored content unchanged, but an accepted update may still produce another `contact.note.updated` event. - [Delete a contact note](https://docs.ycloud.com/api-reference/contacts/delete-a-contact-note.md): Deletes one note in the current tenant by note ID and returns its snapshot before deletion. Deleting the same note again returns `404`; the operation does not use a client idempotency key. - [Update a contact](https://docs.ycloud.com/api-reference/contacts/update-a-contact.md): Updates a contact. If every supplied persisted contact field already has the requested value, the contact is not updated and no `contact.attributes_changed` event is emitted. Note mutations in the same request are still applied. - [Delete a contact](https://docs.ycloud.com/api-reference/contacts/delete-a-contact.md): Deletes a contact. - [List contact attributes](https://docs.ycloud.com/api-reference/contacts/list-contact-attributes.md): Returns a list of all available contact attributes and their configurations. #### Пользовательские события - [Create an event definition](https://docs.ycloud.com/api-reference/custom-events/create-an-event-definition.md): Creates a custom event definition. - [Retrieve an event definition](https://docs.ycloud.com/api-reference/custom-events/retrieve-an-event-definition.md): Retrieves a custom event definition you previously created. - [Update an event definition](https://docs.ycloud.com/api-reference/custom-events/update-an-event-definition.md): Updates an event definition's label and description. - [Create an event property definition](https://docs.ycloud.com/api-reference/custom-events/create-an-event-property-definition.md): Defines a new property for the event definition. - [Update an event property definition](https://docs.ycloud.com/api-reference/custom-events/update-an-event-property-definition.md): Updates an event property definition's label and description. - [Delete an event property definition](https://docs.ycloud.com/api-reference/custom-events/delete-an-event-property-definition.md): Deletes a property of the event definition. - [Send an event](https://docs.ycloud.com/api-reference/custom-events/send-an-event.md): Sends an occurrence of a previously defined custom event. For contact events, identify the contact using one of a contact ID, phone number, or Meta username. #### Email-сообщения - [Send an email](https://docs.ycloud.com/api-reference/emails/send-an-email.md): Sends an outbound email message. #### SMS - [Send an SMS](https://docs.ycloud.com/api-reference/sms/send-an-sms.md): Sends an outbound text message. - [List SMS records](https://docs.ycloud.com/api-reference/sms/list-sms-records.md): Returns a paginated list of SMS messages you've previously sent. #### Отписавшиеся - [Create an unsubscriber](https://docs.ycloud.com/api-reference/unsubscribers/create-an-unsubscriber.md): Creates an unsubscriber. An unsubscriber is a configuration item representing that customers opt out of receiving messages from your business. **A customer and a channel form a unique identifier for an unsubscriber.** - [List unsubscribers](https://docs.ycloud.com/api-reference/unsubscribers/list-unsubscribers.md): Returns a paginated list of unsubscribers. - [List all unsubscribers by customer](https://docs.ycloud.com/api-reference/unsubscribers/list-all-unsubscribers-by-customer.md): Returns all unsubscribers for the specified customer. - [Retrieve an unsubscriber](https://docs.ycloud.com/api-reference/unsubscribers/retrieve-an-unsubscriber.md): Retrieves the unsubscriber for the specified customer and channel. - [Delete an unsubscriber](https://docs.ycloud.com/api-reference/unsubscribers/delete-an-unsubscriber.md): Deletes the unsubscriber for the specified customer and channel. #### Верификация - [Start a verification](https://docs.ycloud.com/api-reference/verify/start-a-verification.md): Starts a verification by sending an SMS, voice, or email message to the recipient. This verification is charged once the message is sent successfully. - [Check a verification](https://docs.ycloud.com/api-reference/verify/check-a-verification.md): Checks a verification with a phone number, an email address, or a verification ID. A `pending` verification status changes to `approved` once you receive a response with the `valid` parameter is `true`. An approved verification cannot be checked anymore. #### Голоса - [Send a voice code](https://docs.ycloud.com/api-reference/voices/send-a-voice-code.md): Sends an outbound voice call verification code. - [List voice records](https://docs.ycloud.com/api-reference/voices/list-voice-records.md): Returns a paginated list of voice calls you've previously sent. #### Конечные точки Webhook - [Create a webhook endpoint](https://docs.ycloud.com/api-reference/webhook-endpoints/create-a-webhook-endpoint.md): Creates a webhook endpoint listening for specific events. - [List webhook endpoints](https://docs.ycloud.com/api-reference/webhook-endpoints/list-webhook-endpoints.md): Returns a paginated list of webhook endpoints. - [Retrieve a webhook endpoint](https://docs.ycloud.com/api-reference/webhook-endpoints/retrieve-a-webhook-endpoint.md): Retrieves the webhook endpoint with the given ID. - [Update a webhook endpoint](https://docs.ycloud.com/api-reference/webhook-endpoints/update-a-webhook-endpoint.md): Updates a webhook endpoint, such as url, events, status. - [Delete a webhook endpoint](https://docs.ycloud.com/api-reference/webhook-endpoints/delete-a-webhook-endpoint.md): Deletes a webhook endpoint. - [Rotate a webhook endpoint secret](https://docs.ycloud.com/api-reference/webhook-endpoints/rotate-a-webhook-endpoint-secret.md): Generates a new secret for a webhook endpoint. #### Meta Business Agent - [Обзор Meta Business Agent](https://docs.ycloud.com/ru/api-reference/meta-business-agents/overview.md): Ознакомьтесь с REST-ресурсами YCloud для подключения, настройки, тестирования, запуска и работы с Meta Business Agent. ##### Настройка ###### База знаний агента — Информация о бизнесе - [Get Business Info](https://docs.ycloud.com/api-reference/meta-business-agents/get-business-info.md): Retrieves the business information used by the agent when answering customers, including policies, purchase and shipping details, the business description, and contact information. - [Replace Business Info](https://docs.ycloud.com/api-reference/meta-business-agents/replace-business-info.md): Creates or fully replaces the phone number's business information knowledge. Values supplied in the request overwrite the existing business information. - [Delete Business Info](https://docs.ycloud.com/api-reference/meta-business-agents/delete-business-info.md): Resets the agent's business information to Meta's default empty values and returns the resulting business information object. ###### База знаний агента — Часто задаваемые вопросы - [List Faqs](https://docs.ycloud.com/api-reference/meta-business-agents/list-faqs.md): Lists all FAQ question-and-answer entries currently available to the agent as knowledge. - [Create Faq](https://docs.ycloud.com/api-reference/meta-business-agents/create-faq.md): Creates a question-and-answer entry in the agent knowledge base and returns the created FAQ. - [Get Faq](https://docs.ycloud.com/api-reference/meta-business-agents/get-faq.md): Retrieves the FAQ knowledge entry identified by `faqId`. - [Update Faq](https://docs.ycloud.com/api-reference/meta-business-agents/update-faq.md): Send both `question` and `answer` to update the FAQ. You can also include `metadata`. The response may contain a new `id`. Use the returned ID for subsequent reads, updates, and deletes. If the ID changes, `created_at` resets to the update time. A timeout or HTTP `502` response does not necessarily… - [Delete Faq](https://docs.ycloud.com/api-reference/meta-business-agents/delete-faq.md): Deletes the FAQ identified by `faqId`. Returns HTTP `204` when deletion succeeds or Meta explicitly reports that the FAQ does not exist. Other `404` errors remain errors. ###### База знаний агента — Файлы - [List Files](https://docs.ycloud.com/api-reference/meta-business-agents/list-files.md): Lists all uploaded file-based knowledge sources for the agent, including the metadata and processing state returned by Meta. - [Upload File](https://docs.ycloud.com/api-reference/meta-business-agents/upload-file.md): Streams the multipart `file` upload to Meta and adds it as a file-based knowledge source for the agent. - [Get File](https://docs.ycloud.com/api-reference/meta-business-agents/get-file.md): Retrieves the metadata and processing state of the knowledge file identified by `fileId`. - [Delete File](https://docs.ycloud.com/api-reference/meta-business-agents/delete-file.md): Deletes the uploaded file identified by `fileId` from the agent knowledge base. ###### База знаний агента — Веб-сайты - [List Websites](https://docs.ycloud.com/api-reference/meta-business-agents/list-websites.md): Lists the website URLs configured for Meta to crawl and ingest into the agent knowledge base, including each crawl entry's current state. - [Create Website](https://docs.ycloud.com/api-reference/meta-business-agents/create-website.md): Adds a website URL for Meta to crawl and ingest into the agent knowledge base and returns the created crawl entry. - [Get Website](https://docs.ycloud.com/api-reference/meta-business-agents/get-website.md): Retrieves the website knowledge entry identified by `websiteId`, including its URL and crawl status information. - [Update Website](https://docs.ycloud.com/api-reference/meta-business-agents/update-website.md): Updates the URL and optional crawl scope of the website identified by `websiteId`. The response may contain a new `id`. Use the returned ID for subsequent reads, updates, and deletes. Do not automatically retry an update whose outcome is uncertain. - [Delete Website](https://docs.ycloud.com/api-reference/meta-business-agents/delete-website.md): Removes the website crawl entry identified by `websiteId` from the agent knowledge base. ###### Навыки агента - [List Skills](https://docs.ycloud.com/api-reference/meta-business-agents/list-skills.md): Lists the agent's skills, which define behavioral instructions, tone, and response patterns. Pass `agent_id` to target a specific settings object. - [Create Skill](https://docs.ycloud.com/api-reference/meta-business-agents/create-skill.md): Creates a behavioral skill for the agent from the supplied title, description, and instruction text. - [Get Skill](https://docs.ycloud.com/api-reference/meta-business-agents/get-skill.md): Retrieves the behavioral skill identified by `skillId`. - [Update Skill](https://docs.ycloud.com/api-reference/meta-business-agents/update-skill.md): Updates the supplied title, description, or instruction text of the skill identified by `skillId` and returns the updated skill. - [Delete Skill](https://docs.ycloud.com/api-reference/meta-business-agents/delete-skill.md): Deletes the behavioral skill identified by `skillId` from the agent configuration. ###### Навыки UI - [List UI Skills](https://docs.ycloud.com/api-reference/meta-business-agents/list-ui-skills.md): Lists the rich WhatsApp UI components that the agent can select during a conversation. Continue pagination while `paging.next` is present. - [Create UI Skill](https://docs.ycloud.com/api-reference/meta-business-agents/create-ui-skill.md): Creates a UI Skill. `flow_id` is required only when `component_type` is `flow` and must be omitted for every other component type. - [Get UI Skill](https://docs.ycloud.com/api-reference/meta-business-agents/get-ui-skill.md): Retrieves the UI Skill identified by `skillId`. - [Update UI Skill](https://docs.ycloud.com/api-reference/meta-business-agents/update-ui-skill.md): Updates the title, status, and instruction of the UI Skill identified by `skillId`. Component type and Flow association cannot be changed by this operation. - [Delete UI Skill](https://docs.ycloud.com/api-reference/meta-business-agents/delete-ui-skill.md): Deletes the UI Skill identified by `skillId`. ###### Инструменты коннекторов - [List Connector Tools](https://docs.ycloud.com/api-reference/meta-business-agents/list-connector-tools.md): Lists the tool operations defined under `connectorId` that the agent can use to call the external service. - [Create Connector Tool](https://docs.ycloud.com/api-reference/meta-business-agents/create-connector-tool.md): Creates a tool under `connectorId`, including its agent-facing description, outbound request definition, and optional user-auth extraction configuration. transformation_spec is optional: omit it to preserve an existing transformation on update, send null to delete it, or send an object to set it. - [Get Connector Tool](https://docs.ycloud.com/api-reference/meta-business-agents/get-connector-tool.md): Retrieves the connector tool identified by `toolId`, including its outbound request and user-auth definitions. - [Update Connector Tool](https://docs.ycloud.com/api-reference/meta-business-agents/update-connector-tool.md): Updates the name, description, outbound request definition, and user-auth configuration of the connector tool identified by `toolId`. transformation_spec is optional: omit it to preserve an existing transformation on update, send null to delete it, or send an object to set it. - [Delete Connector Tool](https://docs.ycloud.com/api-reference/meta-business-agents/delete-connector-tool.md): Deletes the tool identified by `toolId` from `connectorId`. - [Run Connector Tool](https://docs.ycloud.com/api-reference/meta-business-agents/run-connector-tool.md): Executes the connector tool identified by `toolId` with the supplied `input` and returns the upstream API result exposed by Meta. ###### Коннекторы - [List Connectors](https://docs.ycloud.com/api-reference/meta-business-agents/list-connectors.md): Lists the external API connectors configured for the agent, including their endpoint and authentication definitions. - [Create Connector](https://docs.ycloud.com/api-reference/meta-business-agents/create-connector.md): Creates an external API connector with its name, description, base URL, authentication type, and optional user-auth or certificate configuration. For MCP, base_url is the remote MCP server address and authentication uses the existing auth fields. Creating a connector does not guarantee discovered to… - [Get Connector](https://docs.ycloud.com/api-reference/meta-business-agents/get-connector.md): Retrieves the external API connector identified by `connectorId`. - [Update Connector](https://docs.ycloud.com/api-reference/meta-business-agents/update-connector.md): Updates the connector definition identified by `connectorId`, including its descriptive, endpoint, authentication, and certificate requirement fields. connector_protocol cannot be changed after creation. - [Refresh MCP Connector Tools](https://docs.ycloud.com/api-reference/meta-business-agents/refresh-mcp-connector-tools.md): Triggers Meta to rediscover the MCP tools exposed by this connector. The request has no body. A successful HTTP 200 returns the current Connector; inspect mcp_tool_sync.status because remote discovery or provisioning failure can still return HTTP 200 with status ERROR. This operation has no idempote… - [Delete Connector](https://docs.ycloud.com/api-reference/meta-business-agents/delete-connector.md): Deletes the external API connector identified by `connectorId` from the agent configuration. - [Upsert Connector Certificate](https://docs.ycloud.com/api-reference/meta-business-agents/upsert-connector-certificate.md): Uploads or rotates the mTLS client certificate, private key, and optional CA certificate for `connectorId`, then returns the updated connector. - [Upsert Connector Api Key](https://docs.ycloud.com/api-reference/meta-business-agents/upsert-connector-api-key.md): Sets or rotates the API key credentials for `connectorId`. Existing API key credentials are replaced, and the updated connector is returned. - [Upsert Connector O Auth](https://docs.ycloud.com/api-reference/meta-business-agents/upsert-connector-o-auth.md): Sets or rotates the OAuth 2.0 client credentials for `connectorId`. Existing OAuth credentials are replaced, and the updated connector is returned. - [List Connector Logs](https://docs.ycloud.com/api-reference/meta-business-agents/list-connector-logs.md): Retrieves third-party connector error logs for the requested time and tool filters. It can return individual entries, aggregated failure patterns, and optional success-rate or latency statistics; Meta limits the query window and retention to seven days. ##### Удалить агента - [Delete Agent](https://docs.ycloud.com/api-reference/meta-business-agents/delete-agent.md): Removes the Meta Business Agent from the WhatsApp phone number and deletes its agent configuration. If this is the account's last agent, Meta also disconnects the integration; `deleted_agent_id` is null when there was nothing to remove. ##### Подключение ###### Белый список агента - [List Allowlist](https://docs.ycloud.com/api-reference/meta-business-agents/list-allowlist.md): Lists allowlist entries that may receive agent replies when `ai_audience` is set to `ALLOWLISTED_ONLY`. Identity fields may be absent. - [Create Allowlist Entry](https://docs.ycloud.com/api-reference/meta-business-agents/create-allowlist-entry.md): Adds exactly one explicitly supplied WhatsApp identity: consumer_phone_number or consumer_bsuid. This public API does not look up a BSUID from a phone number. Phone and BSUID entries have distinct IDs and each counts toward the shared limit of 20. - [Delete Allowlist Entry](https://docs.ycloud.com/api-reference/meta-business-agents/delete-allowlist-entry.md): Deletes only the entry identified by entryId. Other phone or BSUID entries remain unchanged. ###### Критерии доступа агента - [Check Eligibility](https://docs.ycloud.com/api-reference/meta-business-agents/check-eligibility.md): Checks whether the WhatsApp Business Phone Number identified by `entityId` is eligible to use Meta Business Agent and returns Meta's eligibility result. ###### Онбординг агента - [Onboard Agent](https://docs.ycloud.com/api-reference/meta-business-agents/onboard-agent.md): Starts onboarding for the phone number, creates the required agent resources, and schedules asynchronous data preparation. The optional request body may provide `catalog_id`; onboarding alone does not enable customer replies. ###### Настройки агента - [Get Settings](https://docs.ycloud.com/api-reference/meta-business-agents/get-settings.md): Returns the current agent settings as a list. Pass `agent_id` to target a specific settings object; when it is omitted, Meta returns the latest settings for the channel. - [Replace Settings](https://docs.ycloud.com/api-reference/meta-business-agents/replace-settings.md): Creates or updates rollout, handoff, follow-up, audience, and response-policy settings for the agent. YCloud omits null fields before calling Meta. Omitting `never_say_phrases` preserves the current list, an empty list clears it, and a non-empty list fully replaces it. ###### Бюджеты агента - [Get Budgets](https://docs.ycloud.com/api-reference/meta-business-agents/get-budgets.md): Returns the complete Budget collection for the Business Manager associated with the WhatsApp Business Phone Number ID. An empty collection means usage is unlimited. - [Replace Budgets](https://docs.ycloud.com/api-reference/meta-business-agents/replace-budgets.md): Replaces the complete Budget collection. Include every `token` and `ai_turn` entry that should remain. Send an empty collection to remove all limits. ##### Управление ###### Оценка агента - [List Eval Cases](https://docs.ycloud.com/api-reference/meta-business-agents/list-eval-cases.md): Lists the evaluation scenario configurations available for the agent, including their scenario, categories, turn limit, and success criteria. - [Get Eval Summary](https://docs.ycloud.com/api-reference/meta-business-agents/get-eval-summary.md): Retrieves aggregated evaluation insight reports for the comma-separated `summary_ids` supplied in the query string. - [Get Eval Details](https://docs.ycloud.com/api-reference/meta-business-agents/get-eval-details.md): Retrieves per-conversation evaluation results for the comma-separated `eval_ids` supplied in the query string. - [Get Eval Run Status](https://docs.ycloud.com/api-reference/meta-business-agents/get-eval-run-status.md): Polls the evaluation job identified by `jobId` and returns its status, progress, completed result, or error information. - [Submit Eval Run](https://docs.ycloud.com/api-reference/meta-business-agents/submit-eval-run.md): Starts an asynchronous evaluation job for the supplied Meta-native `eval_case_ids` value and returns its `job_id` and initial status. ###### Событие агента - [Submit Agent Event](https://docs.ycloud.com/api-reference/meta-business-agents/submit-agent-event.md): Submits a business event for a consumer and enqueues it for asynchronous agent processing. The immediate response contains `status` and `agent_event_id` for later polling. - [Get Agent Event Status](https://docs.ycloud.com/api-reference/meta-business-agents/get-agent-event-status.md): Retrieves the current processing status, timestamps, and any error or skip reason for the event identified by `agentEventId`. ###### Тестирование агента - [Test Agent](https://docs.ycloud.com/api-reference/meta-business-agents/test-agent.md): Sends `user_msg` through the full agent pipeline and returns a synchronous test response without requiring a real consumer number. Reuse the optional `conversation_id` to continue a multi-turn test. ###### Реплики диалога - [Get Conversation Turns](https://docs.ycloud.com/api-reference/meta-business-agents/get-conversation-turns.md): Returns conversation turns for one WhatsApp user. Timestamp boundaries are inclusive Unix epoch milliseconds. Continue pagination while `paging.next` is present, including when the current `data` array is empty. ###### Управление цепочками диалогов (Cloud API) - [Control Thread](https://docs.ycloud.com/api-reference/meta-business-agents/control-thread.md): Passes, releases, or takes control of a consumer thread. YCloud resolves the tenant and Meta credential. ### Webhook reference #### Messenger - [messenger.inbound_message.received](https://docs.ycloud.com/ru/api-reference/webhook-reference/messenger-inbound-message-received.md): Происходит при получении обычного текстового сообщения Messenger от клиента. - [messenger.inbound_message.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/messenger-inbound-message-updated.md): Происходит, когда клиент редактирует сохраненное входящее текстовое сообщение Messenger. - [messenger.message.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/messenger-message-updated.md): Срабатывает, когда доступен сохраненный снимок обычного исходящего сообщения Messenger, включая результаты отправки и сопоставленные отчеты о доставке. - [messenger.message_reaction.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/messenger-message-reaction-updated.md): Происходит, когда клиент ставит реакцию на сообщение в Messenger или удаляет её. #### WhatsApp messages - [whatsapp.inbound_message.received](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-inbound-message-received.md): Срабатывает при получении входящего сообщения WhatsApp. - [whatsapp.message.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-message-updated.md): Происходит при обновлении статуса исходящего сообщения WhatsApp, когда статус меняется на `sent`, `failed`, `delivered` или `read`. - [whatsapp.user.preferences](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-user-preferences.md): Происходит, когда пользователь WhatsApp отключает маркетинговые сообщения или возобновляет их получение. #### WhatsApp templates - [whatsapp.template.category_updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-template-category-updated.md): Происходит при обновлении категории шаблона WhatsApp. - [whatsapp.template.correct_category_detection](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-template-correct-category-detection.md): Происходит, когда Meta обнаруживает неслужебный контент в Utility Direct Send. Подпишитесь через API конечных точек Webhook. - [whatsapp.template.quality_updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-template-quality-updated.md): Происходит при обновлении рейтинга качества шаблона WhatsApp. - [whatsapp.template.reviewed](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-template-reviewed.md): Происходит, когда шаблон WhatsApp получает обновление статуса рассмотрения или жизненного цикла, включая одобрение, отклонение, приостановку, отключение, архивацию и разархивацию. #### WhatsApp accounts - [whatsapp.business_account.deleted](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-business-account-deleted.md): Происходит при удалении WhatsApp Business Account. - [whatsapp.business_account.reviewed](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-business-account-reviewed.md): Срабатывает, когда WhatsApp Business Account прошел проверку. - [whatsapp.business_account.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-business-account-updated.md): Происходит при нарушении политик, блокировке WhatsApp Business Account и других событиях. #### WhatsApp phone numbers - [whatsapp.phone_number.deleted](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-phone-number-deleted.md): Происходит при удалении бизнес-номера телефона WhatsApp. - [whatsapp.phone_number.name_updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-phone-number-name-updated.md): Происходит, когда отображаемое имя для бизнес-номера WhatsApp было одобрено или отклонено. - [whatsapp.phone_number.quality_updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-phone-number-quality-updated.md): Происходит при обновлении показателя качества, лимита на отправку сообщений или состояния подключения бизнес-номера WhatsApp. - [whatsapp.phone_number.business_username_updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-phone-number-business-username-updated.md): Происходит при обновлении Business Username у бизнес-номера телефона WhatsApp. #### WhatsApp Business App - [whatsapp.smb.history](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-history.md): Происходит при синхронизации истории сообщений WhatsApp Business App. - [whatsapp.smb.message.created](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-message-created.md): Происходит при отправке сообщения из приложения WhatsApp Business. - [whatsapp.smb.message.echoes](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-smb-message-echoes.md): Происходит, когда сообщение, отправленное из приложения WhatsApp Business, синхронизируется как эхо-копия. #### WhatsApp Agents - [whatsapp.echo_message.created](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-echo-message-created.md): Происходит при фиксации исходящего эхо-сообщения для Public REST API Agent. - [whatsapp.echo_message.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-echo-message-updated.md): Происходит при получении статуса исходящего эхо-сообщения для Public REST API Agent; также могут доставляться запоздалые статусы более низкого ранга. - [whatsapp.meta_business_agent.handover.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-meta-business-agent-handover-updated.md): Происходит, когда поддерживаемый callback-вызов передачи управления передает контроль от Public REST API Agent. Не подтверждает назначение во входящих (Inbox). #### WhatsApp calls - [whatsapp.call.connect](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-call-connect.md): Происходит, когда входящий звонок предоставляет SDP offer или звонок, инициированный бизнесом, предоставляет SDP answer. - [whatsapp.call.terminate](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-call-terminate.md): Происходит при завершении звонка WhatsApp. - [whatsapp.call.status.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-call-status-updated.md): Происходит при обновлении статуса звонка WhatsApp. - [whatsapp.call.recording.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-call-recording-updated.md): Происходит, когда запись звонка WhatsApp, инициированного через API, становится доступной или завершается неустранимой ошибкой. - [whatsapp.call.transcription.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-call-transcription-updated.md): Происходит, когда транскрипция звонка WhatsApp, полученная через API, становится доступной или завершается неустранимой ошибкой. #### WhatsApp groups - [whatsapp.group.lifecycle_update](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-group-lifecycle-update.md): Происходит при создании или удалении группы WhatsApp, включая успешные результаты и ошибки. - [whatsapp.group.participants_update](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-group-participants-update.md): Происходит при обновлении списка участников группы WhatsApp или запросов на вступление. - [whatsapp.group.settings_update](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-group-settings-update.md): Происходит при обновлении настроек группы WhatsApp, включая успешные и неуспешные результаты. - [whatsapp.group.status_update](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-group-status-update.md): Происходит при обновлении статуса блокировки группы WhatsApp. #### WhatsApp Flows and payments - [whatsapp.flow.status_change](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-flow-status-change.md): Происходит при обновлении статуса WhatsApp Flow. - [whatsapp.payment.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/whatsapp-payment-updated.md): Происходит при изменении статуса платежной транзакции WhatsApp. #### Contacts - [contact.attributes_changed](https://docs.ycloud.com/ru/api-reference/webhook-reference/contact-attributes-changed.md): Происходит при изменении атрибутов контакта. - [contact.created](https://docs.ycloud.com/ru/api-reference/webhook-reference/contact-created.md): Происходит при создании контакта. - [contact.deleted](https://docs.ycloud.com/ru/api-reference/webhook-reference/contact-deleted.md): Происходит при удалении контакта. - [contact.unsubscribe.created](https://docs.ycloud.com/ru/api-reference/webhook-reference/contact-unsubscribe-created.md): Происходит, когда контакт отписывается от сообщений. - [contact.unsubscribe.deleted](https://docs.ycloud.com/ru/api-reference/webhook-reference/contact-unsubscribe-deleted.md): Происходит, когда контакт возобновляет подписку на сообщения. - [contact.note.created](https://docs.ycloud.com/ru/api-reference/webhook-reference/contact-note-created.md): Происходит при создании заметки о контакте. - [contact.note.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/contact-note-updated.md): Происходит при обновлении заметки о контакте. - [contact.note.deleted](https://docs.ycloud.com/ru/api-reference/webhook-reference/contact-note-deleted.md): Происходит при самостоятельном удалении заметки контакта. При удалении контакта это событие не отправляется для каскадно удаляемых заметок. #### Email, SMS, and Voice - [email.delivery.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/email-delivery-updated.md): Происходит при обновлении статуса доставки электронного письма, когда статус изменяется на `delivered` или `failed`. - [sms.message.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/sms-message-updated.md): Происходит, когда статус SMS-сообщения обновляется и меняется на `delivered` или `undelivered`. - [sms.inbound.received](https://docs.ycloud.com/ru/api-reference/webhook-reference/sms-inbound-received.md): Происходит при получении входящего SMS-сообщения, то есть когда пользователь отвечает на ваше сообщение. - [voice.message.updated](https://docs.ycloud.com/ru/api-reference/webhook-reference/voice-message-updated.md): Происходит при обновлении статуса голосового сообщения, когда статус меняется на `delivered` или `undelivered`. ## OpenAPI Specs - [ycloud-api-v2](/openapi/endpoints/ycloud-api-v2.yaml) - [meta-business-agent-public.openapi](/openapi/endpoints/meta-business-agent-public.openapi.json)