Lists RCS brands owned by the authenticated organization.
GET
/
rcs
/
brands
JavaScript
import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});// Automatically fetches more pages as needed.for await (const response of client.rcs.brands.list()) { console.log(response);}
import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
page = client.rcs.brands.list()
print(page)
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
var page = client.rcs().brands().list();
}
}
require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
page = telnyx.rcs.brands.list
puts(page)
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$page = $client->rcs->brands->list();
var_dump($page);
} catch (APIException $e) {
echo $e->getMessage();
}
import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});// Automatically fetches more pages as needed.for await (const response of client.rcs.brands.list()) { console.log(response);}
import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
page = client.rcs.brands.list()
print(page)
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
var page = client.rcs().brands().list();
}
}
require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
page = telnyx.rcs.brands.list
puts(page)
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$page = $client->rcs->brands->list();
var_dump($page);
} catch (APIException $e) {
echo $e->getMessage();
}