cURL
curl --request GET \ --url https://app.alana.shopping/api/workspace/{workspaceId}/api-keys \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "key_1a2b3c", "workspace_id": "ws_1a2b3c4d", "name": "Production API Key", "key_prefix": "ak_live_abc123", "permissions": [ "api:read", "api:write" ], "last_used_at": "2024-02-15T10:30:00Z", "expires_at": null, "created_by": "user_xyz789", "created_at": "2024-01-15T08:00:00Z" } ] }
Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>
Authorization: Bearer <token>
The workspace ID
API keys retrieved successfully
Show child attributes