Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Branded Calling (Public Beta)


(warning)

Public Beta

Branded Calling is currently available as a Public Beta product and the information contained in this document is subject to change. This means that some features are not yet implemented and others may be changed before the product is declared as Generally Available. Public Beta products are not covered by a Twilio SLA.


Overview

Branded Calling can be used to display your business's name, logo and call reason on the called party's cell phone when they receive your call.

While CNAM can add a display name to your outbound calls made to landlines, Branded Calling can brand your calls on cell phones.


Supported functionalities

  • Display Name
  • Logo (Coming soon)
  • Call reason (Coming soon)

Network coverage

Note: Branded Calling is only supported for calls made to handsets from the following networks at this time

  • T-Mobile
  • Verizon

Prerequisites


Display Name Requirements

  • Display Name can be a maximum of 32 characters.
  • Display Name must be related to your Business Name.
  • Display Name can only contain letters and numbers.

Who can sign up for Branded Calling?

(warning)

Warning

If you are an ISV and wish to enable Branded Calling to your customer please talk to Sales or reach out to your account manager.

For information about whether you are a Direct customer or ISV please see our Am I a direct customer or an ISV? support page.


Onboarding

What you will need

  • The person completing the form must be an authorized representative of the brand.
  • A United States government-issued ID (e.g., driver's license).
  • A written description of your Branded Calling use-case.
  • Your Voice Integrity Trust Product SID.
  • Your Phone Number SIDs (max 25) that you wish to register for Branded Calling.

Register the brand

Click on Register a new Brand within the Branded Calling Trust Product page on Trust Hub and follow the steps.

A Branded Calling Trust Product Instance is associated with one Display Name and one or more Phone Numbers. New Branded Calling Trust Product needs to be configured for each new Display Name. A Phone Number can be associated with exactly one Branded Calling Trust Product.

In order to assign/unassign Phone Numbers to your Branded Calling Trust Product instance please use the Trust Hub REST API or contact Support.

(information)

Info

Branded Calling registrations will not be shown in Console until approved. Review times may take up to 7 days to process. Once approved, all Phone Number SIDs provided during registration will be assigned to your Branded Trust Product instance within 72 hours.


Assign Phone Number to Branded Calling Trust Product

  • You need the Branded Calling Trust Product SID. You can find that on the Branded Calling Trust Product in Trust Hub once your Brand is approved.

    • The Branded Calling Trust Product SID begins with the letters "BU"
  • You need the Phone Number SID(s) you assigned to your Business Profile earlier. (Note: Only those phone numbers already assigned to your Voice Integrity Trust Product are eligible)

    • The Phone Number SID begins with the letters "PN"
  • To retrieve any of these SIDs via API, see the Additional API Calls section below.
  • Note: Don't change the ChannelEndpointType

Assign Phone Numbers to your Branded Calling Trust Product

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_21
// Download the helper library from https://www.twilio.com/docs/node/install
_21
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_21
_21
// Find your Account SID and Auth Token at twilio.com/console
_21
// and set the environment variables. See http://twil.io/secure
_21
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_21
const authToken = process.env.TWILIO_AUTH_TOKEN;
_21
const client = twilio(accountSid, authToken);
_21
_21
async function createTrustProductChannelEndpointAssignment() {
_21
const trustProductsChannelEndpointAssignment = await client.trusthub.v1
_21
.trustProducts("YOUR_BRANDED_CALLING_TRUST_PRODUCT_SID")
_21
.trustProductsChannelEndpointAssignment.create({
_21
channelEndpointSid: "YOUR_PHONE_NUMBER_SID",
_21
channelEndpointType: "phone-number",
_21
});
_21
_21
console.log(trustProductsChannelEndpointAssignment.sid);
_21
}
_21
_21
createTrustProductChannelEndpointAssignment();

Output

_10
{
_10
"sid": "RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_10
"trust_product_sid": "YOUR_BRANDED_CALLING_TRUST_PRODUCT_SID",
_10
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_10
"channel_endpoint_sid": "YOUR_PHONE_NUMBER_SID",
_10
"channel_endpoint_type": "phone-number",
_10
"date_created": "2019-07-31T02:34:41Z",
_10
"url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments/RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
_10
}


Unassign Phone Number from Branded Calling Trust Product

Retrieve a list of all Assigned Items for a Branded Calling Trust Product

  • You need the Branded Calling Trust Product SID. You can find that on the Branded Calling Trust Product in Trust Hub once your Brand is approved.

    • The Branded Calling Trust Product SID begins with the letters "BU"
  • This API call will return the SIDs for the Assigned Items. You need the SID associated with the Phone Number assignment that you wish to unassign in the next step.

    • The Assigned Item SID begins with the letters "RA"

Retrieve a list of all Assigned Items for an account

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_21
// Download the helper library from https://www.twilio.com/docs/node/install
_21
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_21
_21
// Find your Account SID and Auth Token at twilio.com/console
_21
// and set the environment variables. See http://twil.io/secure
_21
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_21
const authToken = process.env.TWILIO_AUTH_TOKEN;
_21
const client = twilio(accountSid, authToken);
_21
_21
async function fetchTrustProductChannelEndpointAssignment() {
_21
const trustProductsChannelEndpointAssignment = await client.trusthub.v1
_21
.trustProducts("YOUR_BRANDED_CALLING_TRUST_PRODUCT_SID")
_21
.trustProductsChannelEndpointAssignment(
_21
"RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
_21
)
_21
.fetch();
_21
_21
console.log(trustProductsChannelEndpointAssignment.sid);
_21
}
_21
_21
fetchTrustProductChannelEndpointAssignment();

Output

_10
{
_10
"sid": "RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_10
"trust_product_sid": "YOUR_BRANDED_CALLING_TRUST_PRODUCT_SID",
_10
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_10
"channel_endpoint_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_10
"channel_endpoint_type": "phone-number",
_10
"date_created": "2019-07-31T02:34:41Z",
_10
"url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments/RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
_10
}

Unassign an Assigned Item from a Branded Calling Trust Product

  • You need the Branded Calling Trust Product SID. You can find that on the Branded Calling Trust Product in Trust Hub once your Brand is approved.

    • The Branded Calling Trust Product SID begins with the letters "BU"
  • You'll need your Assigned Item SID . This is the SID that starts with "RA" was returned by previous API call.

Unassign an Assigned Item from a Branded Calling Trust Product

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_17
// Download the helper library from https://www.twilio.com/docs/node/install
_17
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_17
_17
// Find your Account SID and Auth Token at twilio.com/console
_17
// and set the environment variables. See http://twil.io/secure
_17
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_17
const authToken = process.env.TWILIO_AUTH_TOKEN;
_17
const client = twilio(accountSid, authToken);
_17
_17
async function deleteTrustProductChannelEndpointAssignment() {
_17
await client.trusthub.v1
_17
.trustProducts("YOUR_BRANDED_CALLING_TRUST_PRODUCT_SID")
_17
.trustProductsChannelEndpointAssignment("YOUR_ASSIGNED_ITEM_SID")
_17
.remove();
_17
}
_17
_17
deleteTrustProductChannelEndpointAssignment();


Additional Information

Learn more about Business Profiles and other Trust Products in the Trust Hub Docs.


Additional API Calls

Get Phone Number SIDs from Parent Account

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_18
// Download the helper library from https://www.twilio.com/docs/node/install
_18
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_18
_18
// Find your Account SID and Auth Token at twilio.com/console
_18
// and set the environment variables. See http://twil.io/secure
_18
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_18
const authToken = process.env.TWILIO_AUTH_TOKEN;
_18
const client = twilio(accountSid, authToken);
_18
_18
async function listIncomingPhoneNumber() {
_18
const incomingPhoneNumbers = await client.incomingPhoneNumbers.list({
_18
limit: 20,
_18
});
_18
_18
incomingPhoneNumbers.forEach((i) => console.log(i.accountSid));
_18
}
_18
_18
listIncomingPhoneNumber();

Output

_56
{
_56
"end": 0,
_56
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0",
_56
"incoming_phone_numbers": [
_56
{
_56
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_56
"address_requirements": "none",
_56
"address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_56
"api_version": "2010-04-01",
_56
"beta": null,
_56
"capabilities": {
_56
"voice": true,
_56
"sms": false,
_56
"mms": true,
_56
"fax": false
_56
},
_56
"date_created": "Thu, 30 Jul 2015 23:19:04 +0000",
_56
"date_updated": "Thu, 30 Jul 2015 23:19:04 +0000",
_56
"emergency_status": "Active",
_56
"emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_56
"emergency_address_status": "registered",
_56
"friendly_name": "(808) 925-5327",
_56
"identity_sid": "RIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_56
"origin": "origin",
_56
"phone_number": "+18089255327",
_56
"sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_56
"sms_application_sid": "",
_56
"sms_fallback_method": "POST",
_56
"sms_fallback_url": "",
_56
"sms_method": "POST",
_56
"sms_url": "",
_56
"status_callback": "",
_56
"status_callback_method": "POST",
_56
"trunk_sid": null,
_56
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
_56
"voice_application_sid": "",
_56
"voice_caller_id_lookup": false,
_56
"voice_fallback_method": "POST",
_56
"voice_fallback_url": null,
_56
"voice_method": "POST",
_56
"voice_url": null,
_56
"bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_56
"voice_receive_mode": "voice",
_56
"status": "in-use",
_56
"subresource_uris": {
_56
"assigned_add_ons": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AssignedAddOns.json"
_56
}
_56
}
_56
],
_56
"next_page_uri": null,
_56
"page": 0,
_56
"page_size": 50,
_56
"previous_page_uri": null,
_56
"start": 0,
_56
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0"
_56
}

Check Business Profile Phone Number Assignments

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_18
// Download the helper library from https://www.twilio.com/docs/node/install
_18
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_18
_18
// Find your Account SID and Auth Token at twilio.com/console
_18
// and set the environment variables. See http://twil.io/secure
_18
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_18
const authToken = process.env.TWILIO_AUTH_TOKEN;
_18
const client = twilio(accountSid, authToken);
_18
_18
async function listCustomerProfileChannelEndpointAssignment() {
_18
const customerProfilesChannelEndpointAssignments = await client.trusthub.v1
_18
.customerProfiles("YOUR_BUSINESS_PROFILE_SID")
_18
.customerProfilesChannelEndpointAssignment.list({ limit: 20 });
_18
_18
customerProfilesChannelEndpointAssignments.forEach((c) => console.log(c.sid));
_18
}
_18
_18
listCustomerProfileChannelEndpointAssignment();

Output

_22
{
_22
"results": [
_22
{
_22
"sid": "RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"customer_profile_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"channel_endpoint_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"channel_endpoint_type": "phone-number",
_22
"date_created": "2019-07-31T02:34:41Z",
_22
"url": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments/RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
_22
}
_22
],
_22
"meta": {
_22
"page": 0,
_22
"page_size": 50,
_22
"first_page_url": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments?ChannelEndpointSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
_22
"previous_page_url": null,
_22
"url": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments?ChannelEndpointSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
_22
"next_page_url": null,
_22
"key": "results"
_22
}
_22
}

Get Business Profile SIDs

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_18
// Download the helper library from https://www.twilio.com/docs/node/install
_18
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_18
_18
// Find your Account SID and Auth Token at twilio.com/console
_18
// and set the environment variables. See http://twil.io/secure
_18
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_18
const authToken = process.env.TWILIO_AUTH_TOKEN;
_18
const client = twilio(accountSid, authToken);
_18
_18
async function listCustomerProfile() {
_18
const customerProfiles = await client.trusthub.v1.customerProfiles.list({
_18
limit: 20,
_18
});
_18
_18
customerProfiles.forEach((c) => console.log(c.sid));
_18
}
_18
_18
listCustomerProfile();

Output

_36
{
_36
"results": [
_36
{
_36
"sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_36
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_36
"policy_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_36
"friendly_name": "friendly_name",
_36
"status": "twilio-approved",
_36
"email": "email",
_36
"status_callback": "http://www.example.com",
_36
"valid_until": "2020-07-31T01:00:00Z",
_36
"date_created": "2019-07-30T22:29:24Z",
_36
"date_updated": "2019-07-31T01:09:00Z",
_36
"url": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_36
"links": {
_36
"customer_profiles_entity_assignments": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/EntityAssignments",
_36
"customer_profiles_evaluations": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations",
_36
"customer_profiles_channel_endpoint_assignment": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments"
_36
},
_36
"errors": [
_36
{
_36
"code": 18601
_36
}
_36
]
_36
}
_36
],
_36
"meta": {
_36
"page": 0,
_36
"page_size": 50,
_36
"first_page_url": "https://trusthub.twilio.com/v1/CustomerProfiles?Status=draft&FriendlyName=friendly_name&PolicySid=RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
_36
"previous_page_url": null,
_36
"url": "https://trusthub.twilio.com/v1/CustomerProfiles?Status=draft&FriendlyName=friendly_name&PolicySid=RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
_36
"next_page_url": null,
_36
"key": "results"
_36
}
_36
}

Check Business Profile Phone Number Assignments

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_18
// Download the helper library from https://www.twilio.com/docs/node/install
_18
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_18
_18
// Find your Account SID and Auth Token at twilio.com/console
_18
// and set the environment variables. See http://twil.io/secure
_18
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_18
const authToken = process.env.TWILIO_AUTH_TOKEN;
_18
const client = twilio(accountSid, authToken);
_18
_18
async function listCustomerProfileChannelEndpointAssignment() {
_18
const customerProfilesChannelEndpointAssignments = await client.trusthub.v1
_18
.customerProfiles("YOUR_BUSINESS_PROFILE_SID")
_18
.customerProfilesChannelEndpointAssignment.list({ limit: 20 });
_18
_18
customerProfilesChannelEndpointAssignments.forEach((c) => console.log(c.sid));
_18
}
_18
_18
listCustomerProfileChannelEndpointAssignment();

Output

_22
{
_22
"results": [
_22
{
_22
"sid": "RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"customer_profile_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"channel_endpoint_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"channel_endpoint_type": "phone-number",
_22
"date_created": "2019-07-31T02:34:41Z",
_22
"url": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments/RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
_22
}
_22
],
_22
"meta": {
_22
"page": 0,
_22
"page_size": 50,
_22
"first_page_url": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments?ChannelEndpointSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
_22
"previous_page_url": null,
_22
"url": "https://trusthub.twilio.com/v1/CustomerProfiles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments?ChannelEndpointSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
_22
"next_page_url": null,
_22
"key": "results"
_22
}
_22
}

Fetch Trust Product SIDs

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_18
// Download the helper library from https://www.twilio.com/docs/node/install
_18
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_18
_18
// Find your Account SID and Auth Token at twilio.com/console
_18
// and set the environment variables. See http://twil.io/secure
_18
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_18
const authToken = process.env.TWILIO_AUTH_TOKEN;
_18
const client = twilio(accountSid, authToken);
_18
_18
async function listTrustProduct() {
_18
const trustProducts = await client.trusthub.v1.trustProducts.list({
_18
limit: 20,
_18
});
_18
_18
trustProducts.forEach((t) => console.log(t.sid));
_18
}
_18
_18
listTrustProduct();

Output

_32
{
_32
"results": [
_32
{
_32
"sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_32
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_32
"policy_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_32
"friendly_name": "friendly_name",
_32
"status": "twilio-approved",
_32
"email": "email",
_32
"status_callback": "http://www.example.com",
_32
"valid_until": "2020-07-31T01:00:00Z",
_32
"date_created": "2019-07-30T22:29:24Z",
_32
"date_updated": "2019-07-31T01:09:00Z",
_32
"url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_32
"links": {
_32
"trust_products_entity_assignments": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/EntityAssignments",
_32
"trust_products_evaluations": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations",
_32
"trust_products_channel_endpoint_assignment": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments"
_32
},
_32
"errors": null
_32
}
_32
],
_32
"meta": {
_32
"page": 0,
_32
"page_size": 50,
_32
"first_page_url": "https://trusthub.twilio.com/v1/TrustProducts?Status=draft&FriendlyName=friendly_name&PolicySid=RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
_32
"previous_page_url": null,
_32
"url": "https://trusthub.twilio.com/v1/TrustProducts?Status=draft&FriendlyName=friendly_name&PolicySid=RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
_32
"next_page_url": null,
_32
"key": "results"
_32
}
_32
}

Check Branded Calling Phone Number Assignments

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_18
// Download the helper library from https://www.twilio.com/docs/node/install
_18
const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_18
_18
// Find your Account SID and Auth Token at twilio.com/console
_18
// and set the environment variables. See http://twil.io/secure
_18
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_18
const authToken = process.env.TWILIO_AUTH_TOKEN;
_18
const client = twilio(accountSid, authToken);
_18
_18
async function listTrustProductChannelEndpointAssignment() {
_18
const trustProductsChannelEndpointAssignments = await client.trusthub.v1
_18
.trustProducts("YOUR_BRANDED_CALLING_TRUST_PRODUCT_SID")
_18
.trustProductsChannelEndpointAssignment.list({ limit: 20 });
_18
_18
trustProductsChannelEndpointAssignments.forEach((t) => console.log(t.sid));
_18
}
_18
_18
listTrustProductChannelEndpointAssignment();

Output

_22
{
_22
"results": [
_22
{
_22
"sid": "RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"trust_product_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"channel_endpoint_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_22
"channel_endpoint_type": "phone-number",
_22
"date_created": "2019-07-31T02:34:41Z",
_22
"url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments/RAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
_22
}
_22
],
_22
"meta": {
_22
"page": 0,
_22
"page_size": 50,
_22
"first_page_url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments?ChannelEndpointSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
_22
"previous_page_url": null,
_22
"url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ChannelEndpointAssignments?ChannelEndpointSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
_22
"next_page_url": null,
_22
"key": "results"
_22
}
_22
}


Rate this page: