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

Retrieve a SIP credential

Retrieves a single SIP credential from a specified credential list. Provide the Account, credential list, and credential identifiers to retrieve its username and resource metadata.

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

3 parameters
AccountSidstringrequired
The unique identifier of the Account responsible for the credential. Must be a 34-character identifier matching `^AC[0-9a-fA-F]{32}$`.
CredentialListSidstringrequired
The unique identifier of the credential list containing the credential. Must be a 34-character identifier matching `^CL[0-9a-fA-F]{32}$`.
Sidstringrequired
The unique identifier of the credential to retrieve. Must be a 34-character identifier matching `^CR[0-9a-fA-F]{32}$`.

1 status code
200Returns the SIP credential, including its `sid`, associated Account and credential list identifiers, username, creation and update timestamps, and resource URI.
sidstringoptional
A 34 character string that uniquely identifies this resource.
account_sidstringoptional
The unique id of the Account that is responsible for this resource.
credential_list_sidstringoptional
The unique id that identifies the credential list that includes this credential.
usernamestringoptional
The username for this credential.
date_createdstringoptional
The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
date_updatedstringoptional
The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
uristringoptional
The URI for this resource, relative to `https://api.twilio.com`

Error handling

AccountSid must be a 34-character identifier matching the AC format, CredentialListSid must match the CL format, and Sid must match the CR format. Each identifier must identify the resource specified by its position in the path.