Outgoing Webhooks
Introduction
Outgoing webhooks enable an external application (controlled by you) to be notified when an event happens within the Clockwork ecosystem. Examples include when an invitation email is sent to a customer, or when a new study is launched.
Once you have subscribed to an event, we will send an HTTP post
request to a URL that you supply, with an attached payload of metadata about the event
List of Webhooks supported
Currently, the only events we support for outgoing webhooks are:
invitation_sent
- Triggered when an appointment invitation email is created and sent
The payload for invitation_sent
:
Example
Let's say you want to use the invitation_sent
webhook. First, you would contact us and let us know the name of the event (invitation_sent
), and the URL where we should send the event, e.g. https://youdomain.com/webhooks/webhook_name
. Once set up, you'll start receiving POST
requests to the url you specified, with the payload that was detailed above.
Last updated
Was this helpful?