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

List API Keys for an account

Lists API Keys created by a specific account. Use the page parameters to navigate the results, and set PageSize to control how many keys each page contains.

4 parameters
AccountSidstringrequired
The SID of the account whose API Keys to list, in the format `AC` followed by 32 hexadecimal characters.
PageSizeintegeroptional
The number of resources to return per page, from 1 to 1000. Defaults to 50 when omitted.
Pageintegeroptional
The page index used for client state. Must be zero or greater.
PageTokenstringoptional
The page token provided by the API for navigating the results.

1 status code
200Returns a paginated response containing API Key records, including their SIDs, friendly names, creation and update dates, and page navigation metadata.
endintegeroptional
first_page_uristringoptional
next_page_uristringoptional
pageintegeroptional
page_sizeintegeroptional
previous_page_uristringoptional
startintegeroptional
uristringoptional
keysarray<object>optional

Error handling

AccountSid must be a 34-character account SID beginning with AC. PageSize must be between 1 and 1000, and Page must be zero or greater.