Sample - Twilio API
GET/2010-04-01/Accounts/{AccountSid}/Keys/{Sid}.json

Get an Account Key

Retrieves a specific Key from an Account. Supply the Account SID and Key SID to identify the resource. The response includes the Key's descriptive name and creation and update timestamps.

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

2 parameters
AccountSidstringrequired
The 34-character SID of the Account that created the Key, matching the `AC` prefix.
Sidstringrequired
The 34-character SID that identifies the Key to retrieve, matching the `SK` prefix.

1 status code
200Returns the Key object with its SID, friendly name, creation timestamp, and last update timestamp.
sidstringoptional
The unique string that that we created to identify the Key resource.
friendly_namestringoptional
The string that you assigned to describe the resource.
date_createdstringoptional
The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
date_updatedstringoptional
The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.

Error handling

AccountSid must be a 34-character Account SID with the AC prefix, and Sid must be a 34-character Key SID with the SK prefix. Sid must identify a Key belonging to the specified Account.