Auth and API keys
List API keys
Permission
api-keys:readAuthenticationGET
Lists safe credential metadata in reverse creation order. Secret and hash material are never returned. Follow next_cursor until null for a complete traversal.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
cursor?stringOpaque pagination cursor from a previous response's next_cursor.
limit?integerNumber of API keys to return.
Range
1 <= value <= 100Default
50API keys, including revoked and expired keys.
application/json- response
data*array<>next_cursor*|Cursor for the next page, or null after the final page.
curl -X GET 'https://api.kejue.co/v1/api-keys'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "prefix": "string", "name": "string", "scopes": [ "string" ], "status": "active", "created_by_user_id": "209f54c4-4c33-43bc-9c6a-ef4c65ad7473", "created_by_api_key_id": "16a8c1ea-aaaf-49f0-9266-c657c48ceff3", "last_used_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "revoked_at": "2019-08-24T14:15:22Z", "version": 1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "next_cursor": "string"}