Webhooks can be created on the Settings > API page.
The payload for a webhook is an Event object with the following properties:
The event type that triggered this webhook.
The date this webhook event is sent.
The object type of the item being sent in this webhook event.
A resource object associated with this webhook event. The type of this resource is specified in the
Copilot expects to receive an HTTP
200 response code from your endpoint. We will retry to deliver the message 3 times if we don't receive one. To prevent time-outs, it is wise to configure your endpoints to send a
200 and then do any long-running processing on the data.