Introduction
Webhooks are a powerful mechanism that allows applications to communicate with each other in real-time. Think of them as a way for one application to "notify" another application about specific events as they happen. Instead of constantly asking (or "polling") an application for updates, webhooks enable CAPTUR3D to proactively send information to your application when something interesting occurs.
How it works
CAPTUR3D has several internal processes which users might want to know about. This might include the completion of an order, or the creation of a new property, for example.
As a user of CAPTUR3D, you can set up one or more endpoints (URLs) in CAPTUR3D. This URL is where the CAPTUR3D will send notifications (via HTTP POST requests).
When events occur in your CAPTUR3D account, like an order being completed, it automatically sends a message (typically containing data about the event) to the registered URL. Your application can then process this information and take appropriate action, such as updating your clients or triggering a fulfilment process.
This "push" approach is much more efficient than the traditional "pull" approach (polling). With polling, your application has to repeatedly ask CAPTUR3D for updates, even if nothing has changed. This wastes resources and can lead to delays.
Webhooks, on the other hand, only send data when there's something new, making them ideal for real-time updates and event-driven architectures.
Events
You can see a full break down of the events you can subscribe to in the Events page.
EventsSecurity
Receiving webhooks involves receiving information from a HTTP request and potentially acting upon that information. This could potentially be exploited by attackers sending malicious HTTP requests to the public endpoint in your application.
We recommend following the instructions on the Security Page to verify that incoming webhooks are coming from CAPTUR3D.
SecurityVerifying webhooks were sent by CAPTUR3D
Retries
Webhook events are automatically retried with exponential backoff if they do not complete successfully. Read more about this process in the Retries page:
RetriesWebhook retries
Get Started
The Captur3d UI for webhooks is currently hidden by default. Please contact developers@captur3d.io to enable it for your Captur3d account.