new_releases Updates : ознакомьтесь с
примечаниями к выпуску, чтобы узнать о новых функциях и обновлениях продукта. ,
new_releases Обновления : Ознакомьтесь с
примечаниями к выпуску , чтобы узнать о новых функциях и обновлениях продукта.
API управления RBM
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
API управления RBM повторяет возможности консоли разработчика RBM . Этот API особенно полезен агрегаторам и партнерам, которые управляют собственными платформами проведения кампаний и хотят легко интегрировать RBM в качестве канала.
API управления RBM — это REST API, который позволяет разработчикам программно выполнять следующие действия:
- Создавайте и редактируйте определения агентов RBM и загружайте ресурсы.
- Отправьте агенты RBM на проверку и запуск.
- Получите информацию о проверке и запуске.
API управления RBM представлен как расширение RCS для API бизнес-коммуникаций Google.
Учетные данные аутентификации
Любой разработчик RBM может получить доступ к API управления RBM. При вызове API вы проходите аутентификацию с помощью учетной записи службы, созданной в консоли разработчика .
Пример кода
Чтобы лучше понять, как использовать API управления RBM, загрузите пример кода на Java или Javascript (node.js):
Рабочий процесс
Чтобы создать и запустить агент с помощью RBM Management API, выполните следующие действия:
- Создайте бренд.
- Создайте агента в бренде.
- Отправьте агента на проверку.
- Отправьте агент для запуска с одним или несколькими операторами связи.
- Проверьте статус запуска.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-03-12 UTC.
[null,null,["Последнее обновление: 2025-03-12 UTC."],[[["\u003cp\u003eThe RBM Management API mirrors the RBM Developer Console's functions, enabling seamless RBM integration for campaign platforms.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the RBM Management API, a REST API, to programmatically manage RBM agents, including creating, editing, and submitting them for verification and launch.\u003c/p\u003e\n"],["\u003cp\u003eThe RBM Management API is accessible as RCS extensions within Google's Business Communications API, offering a programmatic interface for RBM agent management.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication to the API requires a Service Account created in the Developer Console, allowing any RBM developer to use the API's features.\u003c/p\u003e\n"],["\u003cp\u003eThe workflow for creating and launching an agent with the RBM Management API involves creating a brand, creating an agent within the brand, submitting it for verification and launch, and finally checking launch status.\u003c/p\u003e\n"]]],[],null,["# The RBM Management API replicates the capabilities of the\n[RBM Developer Console](/business-communications/rcs-business-messaging/guides/build/agents).\nThis API is especially useful for aggregators and partners who\noperate their own campaign platforms and want to seamlessly integrate RBM as\na channel.\n\nThe RBM Management API is a REST API that allows developers\nto programmatically do the following:\n\n- Create and edit RBM agent definitions and upload assets.\n- Submit RBM agents for verification and launch.\n- Retrieve verification and launch information.\n\nThe RBM Management API is exposed as RCS extensions to Google's\n[Business Communications API](/business-communications/rcs-business-messaging/reference/business-communications/rest).\n\nAuthentication credentials\n--------------------------\n\nAny RBM developer can access the RBM Management API. When calling the API, you\nauthenticate using a [Service Account](/business-communications/rcs-business-messaging/guides/get-started/partner-account#set_up_service_account_to_authenticate_api_calls) you have created in the\n[Developer Console](https://business-communications.cloud.google.com/console/partner-console/partner/service-account).\n\nSample code\n-----------\n\nTo better understand how to use the RBM Management API, download the sample code\nin Java or Javascript (node.js):\n\n- Download [Java samples](https://github.com/rcs-business-messaging/rbm-api-examples/tree/master/java/rbm-mgmt-api)\n- Download [Node.js samples](https://github.com/rcs-business-messaging/rbm-api-examples/tree/master/nodejs/rbm-mgmt-api)\n\nWorkflow\n--------\n\nTo create and launch an agent with the RBM Management API, follow these steps:\n\n1. Create a brand.\n2. Create an agent in the brand.\n3. Submit the agent for verification.\n4. Submit the agent for launch with one or more carriers.\n5. Check the launch status."]]