Fetch a specific End-User Type Instance.

GET /v1/EndUserTypes/{Sid}

Fetch a specific End-User Type Instance.

Path parameters

  • Sid string Required

    The unique string that identifies the End-User Type resource.

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 End-User Type resource.

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

    • friendly_name string | null

      A human-readable description that is assigned to describe the End-User Type resource. Examples can include first name, last name, email, business name, etc

    • machine_name string | null

      A machine-readable description of the End-User Type resource. Examples can include first_name, last_name, email, business_name, etc.

    • fields array | null

      The required information for creating an End-User. The required fields will change as regulatory needs change and will differ for businesses and individuals.

    • url string(uri) | null

      The absolute URL of the End-User Type resource.

GET /v1/EndUserTypes/{Sid}
curl \
 --request GET 'https://trusthub.twilio.com/v1/EndUserTypes/{Sid}' \
 --user "username:password"
Response examples (200)
{
  "sid": "OYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "url": "https://trusthub.twilio.com/v1/EndUserTypes/OYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "fields": [
    {
      "constraint": "String",
      "machine_name": "last_name",
      "friendly_name": "Last Name"
    },
    {
      "constraint": "String",
      "machine_name": "email",
      "friendly_name": "Email"
    },
    {
      "constraint": "String",
      "machine_name": "first_name",
      "friendly_name": "First Name"
    },
    {
      "constraint": "String",
      "machine_name": "business_title",
      "friendly_name": "Business Title"
    },
    {
      "constraint": "String",
      "machine_name": "phone_number",
      "friendly_name": "Phone Number"
    },
    {
      "constraint": "String",
      "machine_name": "job_position",
      "friendly_name": "Job Position"
    }
  ],
  "machine_name": "authorized_representative_1",
  "friendly_name": "Authorized Representative one"
}