CaraCara API

List API keys

List all API keys for the tenant. Key hashes are not returned.

List all API keys for the tenant. Key hashes are not returned.

GET
/settings/portal-access-keys

Authorization

AuthorizationRequiredBearer <token>

Use your API key (sk_live_* or sk_test_*) as the Bearer token.

In: header

curl -X GET "https://platform.caramedical.com/api/v1/settings/portal-access-keys" \
  -H "Authorization: Bearer <token>"

List of API keys.

{
  "keys": [
    {
      "id": "string",
      "name": "string",
      "keyPrefix": "sk_live_abc1",
      "scopes": [
        "string"
      ],
      "expiresAt": "2019-08-24T14:15:22Z",
      "lastUsedAt": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z",
      "revokedAt": "2019-08-24T14:15:22Z"
    }
  ]
}