report.send, bill.send, booking.send, phlebotomist.send, quotation.send. They work like every other event: you can register them on their own or together with other events, and the same rules apply.
Register
Get the
authToken from Auth Token.
Party-scoped accounts: a catch-all webhook, if you have one, receives every message. Otherwise a message goes to the webhook of its bill’s or lead’s party; messages with no matching webhook go out the normal way. A bill whose corporate client and referring organization both have a webhook for the event is delivered to both, so make sure only one of them sends the WhatsApp.
Responses
Same as Register Webhook.200 Registered
View
GET /client/events/getAllEvents?labID=<labID>. Your WhatsApp webhook is the row whose events include the WhatsApp events. If more than one row includes the same WhatsApp event, delete the extras.
200
Remove or change
DELETE /client/events/deleteEvent/<_id>?labID=<labID>. Flabs goes back to sending these messages the normal way immediately. To change the URL or the events, delete it and register again. Registering again without deleting adds a second webhook, and the messages are then sent twice.
200