Retrieve a list of credentials

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

Username and password information for SIP Domains

Retrieve a list of credentials.

Path parameters

  • AccountSid string Required

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

  • CredentialListSid string Required

    The unique id that identifies the credential list that contains the desired credentials.

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

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

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

      • credential_list_sid string | null

        The unique id that identifies the credential list that includes this credential

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

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

        The date that this resource was created, given as GMT in RFC 2822 format.

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

        The date that this resource was last updated, given as GMT in RFC 2822 format.

      • sid string | null

        A 34 character string that uniquely identifies this resource.

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

      • uri string(uri) | null

        The URI for this resource, relative to https://api.twilio.com

      • username string | null

        The username for this credential.

    • 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/{CredentialListSid}/Credentials.json
curl \
 -X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/CredentialLists/{CredentialListSid}/Credentials.json \
 --user "username:password"
Response examples (200)
{
  "credentials": [
    {
      "account_sid": "string",
      "credential_list_sid": "string",
      "date_created": "string",
      "date_updated": "string",
      "sid": "string",
      "uri": "https://example.com",
      "username": "string"
    }
  ],
  "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"
}