Retrieves an RCS brand and its current lifecycle status.
GET
/
rcs
/
brands
/
{id}
JavaScript
import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const Brand = await client.rcs.brands.retrieve('id');console.log(Brand.brand_id);
import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
brand = client.rcs.brands.retrieve(
"id",
)
print(brand.brand_id)
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 response = client.rcs().brands().retrieve("id");
}
}
require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
brand = telnyx.rcs.brands.retrieve("id")
puts(brand)
<?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 {
$brand = $client->rcs->brands->retrieve(
'id',
);
var_dump($brand);
} catch (APIException $e) {
echo $e->getMessage();
}
telnyx rcs:brands retrieve \
--api-key 'My API Key' \
--id id
import Telnyx from 'telnyx';const client = new Telnyx({ apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted});const Brand = await client.rcs.brands.retrieve('id');console.log(Brand.brand_id);
import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
brand = client.rcs.brands.retrieve(
"id",
)
print(brand.brand_id)
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 response = client.rcs().brands().retrieve("id");
}
}
require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
brand = telnyx.rcs.brands.retrieve("id")
puts(brand)
<?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 {
$brand = $client->rcs->brands->retrieve(
'id',
);
var_dump($brand);
} catch (APIException $e) {
echo $e->getMessage();
}
telnyx rcs:brands retrieve \
--api-key 'My API Key' \
--id id