Backend API
cURL
curl --request GET \ --url https://api.wacht.dev/api-auth/apps/{app_name}/keys \ --header 'Authorization: <api-key>'
{ "keys": [ { "id": "1234567890123456789", "app_id": "9876543210987654321", "deployment_id": "1111111111111111111", "name": "Production Key", "key_prefix": "wacht_prod", "key_suffix": "abcd", "permissions": [ "<string>" ], "metadata": {}, "expires_at": "2023-11-07T05:31:56Z", "last_used_at": "2023-11-07T05:31:56Z", "is_active": true, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z", "revoked_at": "2023-11-07T05:31:56Z", "revoked_reason": "<string>" } ] }
Get all API keys for an app
API key authentication (format: Bearer {api_key})
API Auth app name
Include inactive keys
API keys
Show child attributes
Was this page helpful?