Which webhook events does a connector support? Native, virtual and none

Edited

Whether you get webhooks for a connector, and which ones, depends on the provider. Each connector works one of three ways:

Native

Virtual

None

How it works

The provider sends events to Apideck, and Apideck forwards them to you

Apideck regularly checks the provider for changes and sends you events

No webhooks for this connector

Speed

Near real time

Depends on the polling interval, often hours

Events

What the provider sends, for example created, updated, deleted

created and updated, plus terminated for HRIS employees

Examples

QuickBooks, Xero, HubSpot, Shopify

NetSuite, Sage Intacct, BambooHR, Fortnox

How to check a connector

  • On its page: open the connector in the connector catalog. The Overview tab says whether it has native or virtual webhooks.

  • In code: the Connector API (GET /connector/connectors/{id}) returns webhook_support.mode (native, virtual or none) and supported_events: the list of event types, each marked native or virtual.

Subscribe only to events in that list. Events for other resources never arrive for that connector.

Native webhooks: setup at the provider

For some native connectors, such as QuickBooks, Xero and HubSpot, the provider sends webhooks to one URL per developer app, which you set in that app's settings at the provider. So:

  • You need your own OAuth app. Native webhooks don't work with Apideck's shared credentials. See Do I need my own OAuth app?

  • You paste Apideck's webhook URL into your app at the provider. Copy the Webhook Execute URL from the connector's settings in the Apideck dashboard.

Connector-specific steps: Xero, Shopify.

Virtual webhooks: things to know

  • The first sync records a starting point. Events start from the second sync, so records that already existed don't send created events. See Virtual webhooks: why am I not receiving events?

  • Deleted records don't send events at the moment, even where .deleted events are listed for the connector. If you need to know about deletions, compare with a full list periodically.

  • Updated events without a new timestamp. An updated event can arrive while updated_at hasn't changed. When a provider doesn't give reliable timestamps, Apideck detects changes by comparing the content of each record as the provider returns it. A change to any of those fields sends an updated event, even a field Apideck doesn't map. Treat updated as "fetch the record again", and compare with what you have stored.

No webhooks

For connectors without webhooks, poll on a schedule and fetch only what changed, using filter[updated_since] where the connector supports it. See Understanding Connector Coverage and Limitations.

Related

Contact Apideck support through the Customer Portal (the Requests link at the top of this help center), your Slack channel with us, or support@apideck.com if events for a connector don't arrive.

Was this article helpful?

Sorry about that! Care to tell us more?

Thanks for the feedback!

There was an issue submitting your feedback
Please check your connection and try again.