putty
API ReferenceAccount

List the caller's API keys

Returns every API key the authenticated user owns, including revoked ones. The plaintext is never included; only the id, label, prefix, last four, status, and timestamps.

GET
/account/api-keys

Returns every API key the authenticated user owns, including revoked ones. The plaintext is never included; only the id, label, prefix, last four, status, and timestamps.

Authorization

bearerAuth
AuthorizationBearer <token>

A bearer token. The Account routes accept a Privy access token; the MCP transport accepts an sk- API key issued by POST /account/api-keys.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/account/api-keys"
{  "keys": [    {      "id": "string",      "name": "string",      "prefix": "string",      "last4": "stri",      "status": "active",      "createdAt": "2019-08-24T14:15:22Z",      "lastUsedAt": "2019-08-24T14:15:22Z",      "revokedAt": "2019-08-24T14:15:22Z"    }  ]}