Retrieve a list of all End-User Types

GET /v1/EndUserTypes

TODO: Resource-level docs

Retrieve a list of all End-User Types.

Query parameters

  • PageSize integer

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • end_user_types array[object]
      Hide end_user_types attributes Show end_user_types attributes
      • fields array | null

        The required information for creating an End-User.

      • friendly_name string | null

        A human-readable description of the End-User Type resource

      • machine_name string | null

        A machine-readable description of the End-User Type resource

      • 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}$.

      • url string(uri) | null

        The absolute URL of the End-User Type resource

    • meta object
      Hide meta attributes Show meta attributes
GET /v1/EndUserTypes
curl \
 -X GET https://trusthub.twilio.com/v1/EndUserTypes \
 --user "username:password"
Response examples (200)
{
  "end_user_types": [
    {
      "fields": [],
      "friendly_name": "string",
      "machine_name": "string",
      "sid": "string",
      "url": "https://example.com"
    }
  ],
  "meta": {
    "first_page_url": "https://example.com",
    "key": "string",
    "next_page_url": "https://example.com",
    "page": 42,
    "page_size": 42,
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  }
}