Keycafe offers two ways to track key activity, such as pickups, drop-offs, and access changes:
- Webhooks
- Event API
While both methods are supported, webhooks are the preferred approach for receiving real-time updates with minimal load and better performance.
Webhook
When you set up a webhook, Keycafe sends event data directly to your server the moment something happens.
Use webhooks when:
- You need immediate updates for key pickups or drop-offs
- You want to trigger follow-up actions automatically
- You want to reduce API usage and avoid rate limits
For more information, refer to
Event
The Event API allows you to retrieve a list of recent events using a GET
request. This can be useful for historical analysis.
Use the Event API when:
- You are auditing past key activity
- You need to periodically check for activity from multiple users or keys
For more information, refer to Event API Reference.