Webhook events
This page describes the different events you can get from our web hooks as a partner
Setting up webhooks
In your dashboard go to Data Links. There you can fill in your web-hook url and secret key.
Choose a long difficult secret and do not share you secret key with anyone
Once you have done this you can press the test button to check your implementation.
Here is a sample for express that can be used in a lambda serverless (node) to save these events to your own database:
Supported events
Samplers: appointmentCreated, appointmentUpdated, appointmentCancelled, appointmentCompleted, sampleUpdated
Labs: sampleReceived, sampleUpdated
Clients: codeUsed
Providers: appAuthorized, patientUpdated, sampleUpdated, appDeauthorized
All: dataDeletionRequest
Coming soon
Samplers, labs, clients: covidPositiveAlert
Checkers: resultVerified
More events can be added on request.
Examples
appointmentCreated, appointmentUpdated, appointmentCancelled
dataDeletionRequest
For GDPR requests, please comply
dataShareAccepted
For external applications
sampleUpdated
When a result is added, or a sample is moved to your (lab) facility
Personal data about the patient or result will never be shared via the webhook, due to it being less secure. You would have to call our REST API for further details about the appointment.
Last updated