Retrieve a list of all Entities for a Service

GET /v2/Services/{ServiceSid}/Entities

TODO: Resource-level docs

Retrieve a list of all Entities for a Service.

Path parameters

  • ServiceSid string Required

    The unique SID identifier of the Service.

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

  • OK

    Hide response attributes Show response attributes object
    • entities array[object]
      Hide entities attributes Show entities attributes array[object]
      • account_sid string | null

        Account Sid.

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

      • date_created string(date-time) | null

        The date this Entity was created

      • date_updated string(date-time) | null

        The date this Entity was updated

      • identity string | null

        Unique external identifier of the Entity

      • service_sid string | null

        Service Sid.

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

      • sid string | null

        A string that uniquely identifies this Entity.

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

      • url string(uri) | null

        The URL of this resource.

    • meta object
      Hide meta attributes Show meta attributes object
GET /v2/Services/{ServiceSid}/Entities
curl \
 -X GET https://verify.twilio.com/v2/Services/{ServiceSid}/Entities \
 --user "username:password"
Response examples (200)
{
  "entities": [
    {
      "account_sid": "string",
      "date_created": "2023-05-04T09:42:00+00:00",
      "date_updated": "2023-05-04T09:42:00+00:00",
      "identity": "string",
      "links": {},
      "service_sid": "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"
  }
}
Response examples (200)
{
  "entities": [
    {
      "account_sid": "string",
      "date_created": "2024-05-04T09:42:00+00:00",
      "date_updated": "2024-05-04T09:42:00+00:00",
      "identity": "string",
      "links": {},
      "service_sid": "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"
  }
}