import sys
sys.path.append("../plivo-python")
import plivo

client = plivo.RestClient("<auth_id>", "<auth_token>")
response = client.profile.list(limit=1, offset=0)
print(response)
{
  "api_id": "752e99d0-baf3-11ec-ac74-0242ac110002", 
  "profile": {
    "address": {
        "city": "New York",
        "country": "US",
        "postal_code": "10001",
        "state": "NY",
        "street": "123"
    },
    "alt_business_id": "ABC",
    "alt_business_id_type": "DUNS",
    "authorized_contact": {
        "email": "john@example.com",
        "first_name": "john",
        "last_name": "doe",
        "phone": "12125557777",
        "seniority": "admin",
        "title": "Doe"
    },
    "company_name": "ABC Inc.12345",
    "customer_type": "RESELLER",
    "ein": "12125552222",
    "ein_issuing_country": "US",
    "entity_type": "PUBLIC",
    "plivo_subaccount": "SAXXXXX",
    "primary_profile": "c780f9d0-e3c9-4d13-87f7-b898654569b0",
    "profile_alias": "john_doe",
    "profile_type": "SECONDARY",
    "profile_uuid": "f19c4773-4ae6-4b75-92ea-9cf3ea4227d6",
    "stock_exchange": "NYSE",
    "stock_symbol": "HIBYE",
    "vertical": "ENTERTAINMENT",
    "website": "hibye.com"
}

This API lets you fetch details about a specific profile_id associated with an account.

API Endpoint

GET
https://api.plivo.com/v1/Account/{auth_id}/Profile/{profile_uuid}/

Arguments

No arguments need to be passed.

Returns

api_id and the profile object identified by the profile_id specified in the request URL.

import sys
sys.path.append("../plivo-python")
import plivo

client = plivo.RestClient("<auth_id>", "<auth_token>")
response = client.profile.list(limit=1, offset=0)
print(response)
{
  "api_id": "752e99d0-baf3-11ec-ac74-0242ac110002", 
  "profile": {
    "address": {
        "city": "New York",
        "country": "US",
        "postal_code": "10001",
        "state": "NY",
        "street": "123"
    },
    "alt_business_id": "ABC",
    "alt_business_id_type": "DUNS",
    "authorized_contact": {
        "email": "john@example.com",
        "first_name": "john",
        "last_name": "doe",
        "phone": "12125557777",
        "seniority": "admin",
        "title": "Doe"
    },
    "company_name": "ABC Inc.12345",
    "customer_type": "RESELLER",
    "ein": "12125552222",
    "ein_issuing_country": "US",
    "entity_type": "PUBLIC",
    "plivo_subaccount": "SAXXXXX",
    "primary_profile": "c780f9d0-e3c9-4d13-87f7-b898654569b0",
    "profile_alias": "john_doe",
    "profile_type": "SECONDARY",
    "profile_uuid": "f19c4773-4ae6-4b75-92ea-9cf3ea4227d6",
    "stock_exchange": "NYSE",
    "stock_symbol": "HIBYE",
    "vertical": "ENTERTAINMENT",
    "website": "hibye.com"
}