Get All Credential Lists

GET /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json

Lists of SIP credentials

Get All Credential Lists

Path parameters

  • AccountSid string Required

    The unique id of the Account that is responsible for this resource.

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
    • credential_lists array[object]
      Hide credential_lists attributes Show credential_lists attributes
      • account_sid string | null

        The unique sid that identifies this account

        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-rfc-2822) | null

        The date this resource was created

      • date_updated string(date-time-rfc-2822) | null

        The date this resource was last updated

      • friendly_name string | null

        Human readable descriptive text

      • sid string | null

        A string that uniquely identifies this credential

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

      • subresource_uris object(uri-map) | null

        The list of credentials associated with this credential list.

      • uri string(uri) | null

        The URI for this resource

    • end integer
    • first_page_uri string(uri)
    • next_page_uri string(uri)
    • page integer
    • page_size integer
    • start integer
    • uri string(uri)
GET /2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json
curl \
 -X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists.json \
 --user "username:password"
Response examples (200)
{
  "credential_lists": [
    {
      "account_sid": "string",
      "date_created": "string",
      "date_updated": "string",
      "friendly_name": "string",
      "sid": "string",
      "subresource_uris": {},
      "uri": "https://example.com"
    }
  ],
  "end": 42,
  "first_page_uri": "https://example.com",
  "next_page_uri": "https://example.com",
  "page": 42,
  "page_size": 42,
  "previous_page_uri": "https://example.com",
  "start": 42,
  "uri": "https://example.com"
}