Revet Brand
This operation allows you to revet the brand. However, revetting is allowed once after the successful brand registration and thereafter limited to once every 3 months.
PUT
/
10dlc
/
brand
/
{brandId}
/
revet
JavaScript
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const telnyxBrand = await client.messaging10dlc.brand.revet('brandId');
console.log(telnyxBrand.identityStatus);import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
telnyx_brand = client.messaging_10dlc.brand.revet(
"brandId",
)
print(telnyx_brand.identity_status)
package main
import (
"context"
"fmt"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
telnyxBrand, err := client.Messaging10dlc.Brand.Revet(context.TODO(), "brandId")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", telnyxBrand.IdentityStatus)
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
import com.telnyx.sdk.models.messaging10dlc.brand.BrandRevetParams;
import com.telnyx.sdk.models.messaging10dlc.brand.TelnyxBrand;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
TelnyxBrand telnyxBrand = client.messaging10dlc().brand().revet("brandId");
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
telnyx_brand = telnyx.messaging_10dlc.brand.revet("brandId")
puts(telnyx_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 {
$telnyxBrand = $client->messaging10dlc->brand->revet('brandId');
var_dump($telnyxBrand);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx messaging-10dlc:brand revet \
--api-key 'My API Key' \
--brand-id brandIdcurl --request PUT \
--url https://api.telnyx.com/v2/10dlc/brand/{brandId}/revet \
--header 'Authorization: Bearer <token>'{
"entityType": "PRIVATE_PROFIT",
"displayName": "ABC Mobile",
"country": "US",
"email": "<string>",
"brandRelationship": "BASIC_ACCOUNT",
"vertical": "<string>",
"cspId": "<string>",
"brandId": "4b20017f-8da9-a992-a6c0-683072fb7729",
"tcrBrandId": "BBRAND1",
"companyName": "ABC Inc.",
"firstName": "John",
"lastName": "Smith",
"ein": "111111111",
"phone": "+12024567890",
"street": "123",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"stockSymbol": "ABC",
"stockExchange": "NASDAQ",
"ipAddress": "<string>",
"website": "http://www.abcmobile.com",
"altBusinessId": "<string>",
"altBusinessIdType": "NONE",
"universalEin": "<string>",
"referenceId": "<string>",
"identityStatus": "VERIFIED",
"optionalAttributes": {
"taxExemptStatus": "<string>"
},
"mock": false,
"mobilePhone": "+12024567890",
"isReseller": false,
"webhookURL": "https://webhook.com/67ea78a8-9f32-4d04-b62d-f9502e8e5f93",
"businessContactEmail": "[email protected]",
"webhookFailoverURL": "<string>",
"createdAt": "2021-03-08T17:57:48.801186",
"updatedAt": "2021-03-08T17:57:48.801186",
"status": "OK",
"failureReasons": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
}
}
]
}Authorizations
Response
Successful Response
Telnyx-specific extensions to The Campaign Registry's Brand type
Business contact email.
Required if entityType is PUBLIC_PROFIT.
Example:
Was this page helpful?
JavaScript
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const telnyxBrand = await client.messaging10dlc.brand.revet('brandId');
console.log(telnyxBrand.identityStatus);import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
telnyx_brand = client.messaging_10dlc.brand.revet(
"brandId",
)
print(telnyx_brand.identity_status)
package main
import (
"context"
"fmt"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
telnyxBrand, err := client.Messaging10dlc.Brand.Revet(context.TODO(), "brandId")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", telnyxBrand.IdentityStatus)
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
import com.telnyx.sdk.models.messaging10dlc.brand.BrandRevetParams;
import com.telnyx.sdk.models.messaging10dlc.brand.TelnyxBrand;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
TelnyxBrand telnyxBrand = client.messaging10dlc().brand().revet("brandId");
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
telnyx_brand = telnyx.messaging_10dlc.brand.revet("brandId")
puts(telnyx_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 {
$telnyxBrand = $client->messaging10dlc->brand->revet('brandId');
var_dump($telnyxBrand);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx messaging-10dlc:brand revet \
--api-key 'My API Key' \
--brand-id brandIdcurl --request PUT \
--url https://api.telnyx.com/v2/10dlc/brand/{brandId}/revet \
--header 'Authorization: Bearer <token>'{
"entityType": "PRIVATE_PROFIT",
"displayName": "ABC Mobile",
"country": "US",
"email": "<string>",
"brandRelationship": "BASIC_ACCOUNT",
"vertical": "<string>",
"cspId": "<string>",
"brandId": "4b20017f-8da9-a992-a6c0-683072fb7729",
"tcrBrandId": "BBRAND1",
"companyName": "ABC Inc.",
"firstName": "John",
"lastName": "Smith",
"ein": "111111111",
"phone": "+12024567890",
"street": "123",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"stockSymbol": "ABC",
"stockExchange": "NASDAQ",
"ipAddress": "<string>",
"website": "http://www.abcmobile.com",
"altBusinessId": "<string>",
"altBusinessIdType": "NONE",
"universalEin": "<string>",
"referenceId": "<string>",
"identityStatus": "VERIFIED",
"optionalAttributes": {
"taxExemptStatus": "<string>"
},
"mock": false,
"mobilePhone": "+12024567890",
"isReseller": false,
"webhookURL": "https://webhook.com/67ea78a8-9f32-4d04-b62d-f9502e8e5f93",
"businessContactEmail": "[email protected]",
"webhookFailoverURL": "<string>",
"createdAt": "2021-03-08T17:57:48.801186",
"updatedAt": "2021-03-08T17:57:48.801186",
"status": "OK",
"failureReasons": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
}
}
]
}