Brand
Retrieve a specific brand
Copy
Ask AI
import sys
sys.path.append("../plivo-python")
import plivo
client = plivo.RestClient("<auth_id>", "<auth_token>")
response = client.campaign.list(limit=1, offset=0)
print(response)
Copy
Ask AI
{'api_id': '0215c238-1701-11ed-9d48-0242ac110003',
'brand': {'address': {'city': 'New York',
'country': 'IN',
'postal_code': '10001',
'state': 'NY',
'street': '123'},
'authorized_contact': {'email': 'test@plivo.com',
'first_name': 'John',
'last_name': 'Doe',
'phone': '1890342302',
'seniority': 'admin',
'title': 'Doe'},
'brand_id': 'BVMN1EM',
'brand_type': 'STARTER',
'ein_issuing_country': 'IN',
'entity_type': 'PRIVATE',
'profile_uuid': 'dd0b418d-73df-4eb4-a7ab-171b774bf4a9',
'registration_status': 'COMPLETED',
'vertical': 'ENERGY',
'website': 'www.google.com'}}
This API lets you fetch details about a specific brand associated to your account.
API Endpoint
GET
Copy
Ask AI
https://api.plivo.com/v1/Account/{auth_id}/Brand/{brand_id}/
Arguments
No arguments need to be passed.
Returns
api_id and the brand object identified by the brand_id specified in the request URL.
Copy
Ask AI
import sys
sys.path.append("../plivo-python")
import plivo
client = plivo.RestClient("<auth_id>", "<auth_token>")
response = client.campaign.list(limit=1, offset=0)
print(response)
Copy
Ask AI
{'api_id': '0215c238-1701-11ed-9d48-0242ac110003',
'brand': {'address': {'city': 'New York',
'country': 'IN',
'postal_code': '10001',
'state': 'NY',
'street': '123'},
'authorized_contact': {'email': 'test@plivo.com',
'first_name': 'John',
'last_name': 'Doe',
'phone': '1890342302',
'seniority': 'admin',
'title': 'Doe'},
'brand_id': 'BVMN1EM',
'brand_type': 'STARTER',
'ein_issuing_country': 'IN',
'entity_type': 'PRIVATE',
'profile_uuid': 'dd0b418d-73df-4eb4-a7ab-171b774bf4a9',
'registration_status': 'COMPLETED',
'vertical': 'ENERGY',
'website': 'www.google.com'}}
Copy
Ask AI
import sys
sys.path.append("../plivo-python")
import plivo
client = plivo.RestClient("<auth_id>", "<auth_token>")
response = client.campaign.list(limit=1, offset=0)
print(response)
Copy
Ask AI
{'api_id': '0215c238-1701-11ed-9d48-0242ac110003',
'brand': {'address': {'city': 'New York',
'country': 'IN',
'postal_code': '10001',
'state': 'NY',
'street': '123'},
'authorized_contact': {'email': 'test@plivo.com',
'first_name': 'John',
'last_name': 'Doe',
'phone': '1890342302',
'seniority': 'admin',
'title': 'Doe'},
'brand_id': 'BVMN1EM',
'brand_type': 'STARTER',
'ein_issuing_country': 'IN',
'entity_type': 'PRIVATE',
'profile_uuid': 'dd0b418d-73df-4eb4-a7ab-171b774bf4a9',
'registration_status': 'COMPLETED',
'vertical': 'ENERGY',
'website': 'www.google.com'}}
Assistant
Responses are generated using AI and may contain mistakes.