Fetch specific Policy Instance.

GET /v1/Policies/{Sid}

Fetch specific Policy Instance.

Path parameters

  • Sid string Required

    The unique string that identifies the Policy resource.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RN[0-9a-fA-F]{32}$.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • sid string | null

      The unique string that identifies the Policy resource.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^RN[0-9a-fA-F]{32}$.

    • friendly_name string | null

      A human-readable description that is assigned to describe the Policy resource. Examples can include Primary Customer profile policy

    • requirements

      The SID of an object that holds the policy information

    • url string(uri) | null

      The absolute URL of the Policy resource.

GET /v1/Policies/{Sid}
curl \
 --request GET 'https://trusthub.twilio.com/v1/Policies/{Sid}' \
 --user "username:password"
{
  "sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://trusthub.twilio.com/v1/Policies/RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "requirements": {
    "end_user": [
      {
        "url": "/EndUserTypes/customer_profile_business_information",
        "name": "Business Information",
        "type": "customer_profile_business_information",
        "fields": [
          "business_type",
          "business_registration_number",
          "business_name",
          "business_registration_identifier",
          "business_identity",
          "business_industry",
          "website_url",
          "business_regions_of_operation",
          "social_media_profile_urls"
        ],
        "requirement_name": "customer_profile_business_information"
      },
      {
        "url": "/EndUserTypes/authorized_representative_1",
        "name": "Authorized Representative 1",
        "type": "authorized_representative_1",
        "fields": [
          "first_name",
          "last_name",
          "email",
          "phone_number",
          "business_title",
          "job_position"
        ],
        "requirement_name": "authorized_representative_1"
      },
      {
        "url": "/EndUserTypes/authorized_representative_2",
        "name": "Authorized Representative 2",
        "type": "authorized_representative_2",
        "fields": [
          "first_name",
          "last_name",
          "email",
          "phone_number",
          "business_title",
          "job_position"
        ],
        "requirement_name": "authorized_representative_2"
      }
    ],
    "supporting_document": [
      [
        {
          "name": "Physical Business Address",
          "type": "document",
          "description": "Customer Profile HQ Physical Address",
          "requirement_name": "customer_profile_address",
          "accepted_documents": [
            {
              "url": "/SupportingDocumentTypes/customer_profile_address",
              "name": "Physical Business Address",
              "type": "customer_profile_address",
              "fields": [
                "address_sids"
              ]
            }
          ]
        }
      ]
    ],
    "supporting_trust_products": [],
    "supporting_customer_profiles": []
  },
  "friendly_name": "Primary Customer Profile of type Business"
}
{
  "sid": "RN806dd6cd175f314e1f96a9727ee271f4",
  "url": "https://trusthub.twilio.com/v1/Policies/RN806dd6cd175f314e1f96a9727ee271f4",
  "requirements": {
    "end_user": [
      {
        "url": "/EndUserTypes/starter_customer_profile_information",
        "name": "Information",
        "type": "starter_customer_profile_information",
        "fields": [
          "first_name",
          "last_name",
          "email",
          "phone_number"
        ],
        "requirement_name": "starter_customer_profile_information"
      }
    ],
    "supporting_document": [
      [
        {
          "name": "Customer Profile Address",
          "type": "document",
          "description": "Customer Profile Address",
          "requirement_name": "customer_profile_address",
          "accepted_documents": [
            {
              "url": "/SupportingDocumentTypes/customer_profile_address",
              "name": "Legal Company Address",
              "type": "customer_profile_address",
              "fields": [
                "address_sids"
              ]
            },
            {
              "url": "/SupportingDocumentTypes/starter_customer_profile_address",
              "name": "Legal Company Address",
              "type": "starter_customer_profile_address",
              "fields": [
                "address_sids"
              ]
            }
          ]
        }
      ]
    ],
    "supporting_trust_products": [],
    "supporting_customer_profiles": [
      {
        "name": "Primary Customer Profile Bundle",
        "type": "primary_customer_profile_type_business",
        "requirement_name": "primary_customer_profile"
      }
    ]
  },
  "friendly_name": "Starter Customer Profile of type Business"
}
{
  "sid": "RN670d5d2e282a6130ae063b234b6019c8",
  "url": "https://trusthub.twilio.com/v1/Policies/RN670d5d2e282a6130ae063b234b6019c8",
  "requirements": {
    "end_user": [
      {
        "url": "/EndUserTypes/sole_proprietor_information",
        "name": "Sole Proprietor Information",
        "type": "sole_proprietor_information",
        "fields": [
          "brand_name",
          "mobile_phone_number",
          "vertical"
        ],
        "requirement_name": "sole_proprietor_information"
      }
    ],
    "supporting_document": [
      []
    ],
    "supporting_trust_products": [],
    "supporting_customer_profiles": [
      {
        "name": "Starter Customer Profile(isv customers) Proof",
        "type": "starter_customer_profile_type_business",
        "requirement_name": "customer_profile"
      },
      {
        "name": "Starter Customer Profile(direct customers) Proof",
        "type": "starter_customer_profile_type_direct_long_tail",
        "requirement_name": "customer_profile"
      }
    ]
  },
  "friendly_name": "Sole Proprietor TrustProduct"
}