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

List SIP credentials

Lists the credentials contained in a credential list. Supply AccountSid and CredentialListSid as valid SIDs, and use the pagination parameters to control the returned page.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

5 parameters
AccountSidstringrequired
The 34-character SID of the Account responsible for the credentials.
CredentialListSidstringrequired
The 34-character SID of the credential list containing the credentials.
PageSizeintegeroptional
The number of credentials to return per page. Must be between 1 and 1000, and defaults to 50 when omitted.
Pageintegeroptional
The page index used to maintain client-side pagination state. Must be zero or greater.
PageTokenstringoptional
The pagination token provided by the API for retrieving a specific page.

1 status code
200Returns a paginated object containing credential resources and navigation fields such as `next_page_uri`, `previous_page_uri`, `page`, and `page_size`.
endintegeroptional
first_page_uristringoptional
next_page_uristringoptional
pageintegeroptional
page_sizeintegeroptional
previous_page_uristringoptional
startintegeroptional
uristringoptional
credentialsarray<object>optional

Error handling

AccountSid must be a 34-character SID beginning with AC, and CredentialListSid must be a 34-character SID beginning with CL. PageSize must be between 1 and 1000, while Page must be zero or greater; PageToken must contain a token provided by the API when used.