new_releases Updates: Check the
release notes for new features and product updates.
List carriers (regions)
Stay organized with collections
Save and categorize content based on your preferences.
The carrier networks where an RBM agent can be launched are defined as "regions"
in the RBM Management API.
The RBM Support team maintains an up-to-date carrier list, which grows as more
carriers adopt RBM.
Code snippets on this page are taken from the Java samples
and Node.js samples.
List regions
You need to retrieve a list of the launchable regions before you can submit
an agent for launch. For more details, see regions.list
.
Node.js
const businessCommunicationsApiHelper =
require('@google/rbm-businesscommunications');
const privateKey =
require('../../resources/businesscommunications-service-account-credentials.json');
businessCommunicationsApiHelper.initBusinessCommunucationsApi(privateKey);
businessCommunicationsApiHelper.listRegions().then((response) => {
console.log(response.data);
}).catch((err) => {
console.log(err);
});
Java
List<RcsBusinessMessagingRegion> regions = api.listAllRbmLaunchRegions();
List<String> regionIds = regions.stream().map(RcsBusinessMessagingRegion::getName).sorted()
.collect(Collectors.toList());
logger.info("Fetched region Ids: " + regionIds);
This code returns a list of all the carriers where an agent can be
submitted for launch:
{
regions: [
{
name: '/v1/regions/dt-germany',
displayName: 'Germany: DT',
managementType: 'CARRIER_MANAGED'
},
{
name: '/v1/regions/9mobile-nigeria',
displayName: 'Nigeria: 9 Mobile',
managementType: 'GOOGLE_MANAGED'
},
...
...
]
}
Carriers which are listed as CARRIER_MANAGED
operate their own approval
process and charge for delivery of RBM messages to their subscribers. You
need to have a commercial agreement in place directly with these carriers
before you can deliver RBM messages to their subscribers.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-16 UTC.
[null,null,["Last updated 2025-01-16 UTC."],[[["\u003cp\u003e"Regions" in the RBM Management API refer to the carrier networks where an RBM agent can be launched.\u003c/p\u003e\n"],["\u003cp\u003eThe RBM Support team keeps an updated list of carriers that support RBM, which is constantly expanding.\u003c/p\u003e\n"],["\u003cp\u003eYou must retrieve a list of launchable regions using the \u003ccode\u003eregions.list\u003c/code\u003e endpoint before you can submit an agent for launch.\u003c/p\u003e\n"],["\u003cp\u003eCode samples for listing regions are available in both Java and Node.js, and these examples demonstrate how to retrieve the available carrier networks.\u003c/p\u003e\n"],["\u003cp\u003eCarriers listed as \u003ccode\u003eCARRIER_MANAGED\u003c/code\u003e have their own approval process and require a commercial agreement before delivering RBM messages to their subscribers.\u003c/p\u003e\n"]]],[],null,["# List carriers (regions)\n\nThe carrier networks where an RBM agent can be launched are defined as \"regions\"\nin the RBM Management API.\n\nThe RBM Support team maintains an up-to-date carrier list, which grows as more\ncarriers adopt RBM.\n\nCode snippets on this page are taken from the [Java samples](https://github.com/rcs-business-messaging/rbm-api-examples/tree/master/java/rbm-mgmt-api)\nand [Node.js samples](https://github.com/rcs-business-messaging/rbm-api-examples/tree/master/nodejs/rbm-mgmt-api).\n\nList regions\n------------\n\nYou need to retrieve a list of the launchable regions before you can submit\nan agent for launch. For more details, see [`regions.list`](/business-communications/rcs-business-messaging/reference/business-communications/rest/v1/regions/list). \n\n### Node.js\n\n```javascript\nconst businessCommunicationsApiHelper =\n require('@google/rbm-businesscommunications');\n\nconst privateKey =\n require('../../resources/businesscommunications-service-account-credentials.json');\n\nbusinessCommunicationsApiHelper.initBusinessCommunucationsApi(privateKey);\n\nbusinessCommunicationsApiHelper.listRegions().then((response) =\u003e {\n console.log(response.data);\n}).catch((err) =\u003e {\n console.log(err);\n}); \n```\n\n### Java\n\n```java\nList\u003cRcsBusinessMessagingRegion\u003e regions = api.listAllRbmLaunchRegions();\nList\u003cString\u003e regionIds = regions.stream().map(RcsBusinessMessagingRegion::getName).sorted()\n .collect(Collectors.toList());\nlogger.info(\"Fetched region Ids: \" + regionIds);\n```\n\nThis code returns a list of all the carriers where an agent can be\nsubmitted for launch: \n\n {\n regions: [\n {\n name: '/v1/regions/dt-germany',\n displayName: 'Germany: DT',\n managementType: 'CARRIER_MANAGED'\n },\n {\n name: '/v1/regions/9mobile-nigeria',\n displayName: 'Nigeria: 9 Mobile',\n managementType: 'GOOGLE_MANAGED'\n },\n ...\n ...\n ]\n }\n\nCarriers which are listed as `CARRIER_MANAGED` operate their own approval\nprocess and charge for delivery of RBM messages to their subscribers. You\nneed to have a commercial agreement in place directly with these carriers\nbefore you can deliver RBM messages to their subscribers."]]