Use Webhooks to listen to events from Fasten Connect, rather than polling the API.
POST
webhook events to your app as a JSON payload that includes an Event object.
event
object contains the event type and the data associated with the event.
test
and live
. Test mode is used for development and testing, while live mode is used for production.
This field will always be present in the payload and will indicate the mode of the API that generated the event.id
is a UUIDv4 that uniquely identifies the event. This is useful for idempotency, to ensure that you don’t process the same event multiple times.It remains the same no matter how many times a webhook that has failed is retried.data
field.type
and Event Types documentation to find out what fields are present in the data
object.