Virtual webhooks: why am I not receiving events?
Virtual webhooks work by polling the provider on a schedule and sending you an event when a record changes. If nothing arrives, it's usually one of the reasons below. Work through the list in order.
1. Check your webhook subscription
There's an enabled webhook subscription in your Apideck dashboard (Webhooks).
It's for the right Unified API. A subscription for the CRM API doesn't receive HRIS events.
It includes the exact events you expect (for example
hris.employee.updated), or all events (*).It wasn't disabled after failed deliveries. If your endpoint failed for every retry, Apideck disables the subscription. See Are webhooks retried when they cannot be delivered?
Polling only runs when there's an enabled subscription for that Unified API that covers the resource.
2. Check that virtual webhooks are on for the connector
Virtual webhooks have to be switched on per connector, under Webhooks > Connectors in the dashboard (or on the connector's configuration page). See How to integrate webhook events?
3. Check the connection
Polling only runs for connections that are callable. If the connection needs re-authorization, polling stops until it's fixed. See Why did my connection stop working?
4. Give it enough time
The first sync starts within about 5 minutes of the connection becoming callable. After that, each resource is checked every 24 hours.
The first sync may not send any events. For providers that don't return created and updated dates, Apideck detects changes by comparing each record with what it saw last time. The first sync only records a starting point, so events start from the second sync, about 24 hours later.
For providers that do return those dates, the first sync can already send events for records changed in the past 24 hours.
A change is picked up at the next sync after it happens, not immediately.
To test without waiting 24 hours, trigger a sync manually with Schedule sync. See Virtual Webhooks: Triggering a sync sooner with Schedule sync.
5. Check the events you subscribed to
Make sure your subscription includes the created and updated events for the resource you're watching (for example hris.employee.created and hris.employee.updated), not only other event types.
6. Check your account
Polling is paused while an account is over its usage limit or its trial has expired.
Still nothing?
Contact Apideck support with the connector, the consumer ID and the event you expected. We can check when the connection was last synced and what was found.
