Webhooks can be created on the Settings > API page.


The payload for a webhook is an Event object with the following properties:

eventType string
The event type that triggered this webhook.

created string
The date this webhook event is sent.

object string
The object type of the item being sent in this webhook event.

data map
A resource object associated with this webhook event. The type of this resource is specified in the object property.


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.