Webhooks
Webhooks
We have webhooks available if needed. Please contact us to set them up.
Events
We trigger webhooks on the same set of events as our email notifications.
List of available events
- Unscheduled appointment created
- Appointment changed to pending state
- Appointment approved
- Appointment marked as arrived
- Appointment marked as started
- Appointment marked as completed
- Drop trailer appointment marked as completed
- Appointment marked as left
- Appointment cancelled
- Appointment rescheduled
- Appointment had a note added
- Appointment marked as delayed
Payload
The webhook payload is the same as our appointments endpoint (/api/v1/appointments
).
Refer to our sample payload on the documentation for that endpoint: https://test-test.datadocks.com/docs/api/appointments.
note
Although the linked sample payload is wrapped in an array, the webhook response will be a single object (no array) since webhooks deal with one appointment at a time.