CreateWebhookRequest
Request to create a new webhook.
- eventsType: array of stringrequired
List of event types to subscribe to. Valid values: contact.created, contact.updated, contact.deleted, company.created, company.updated, company.deleted, link.created, link.updated, link.deleted, project.created, project.updated, project.deleted, project.restored, prospect.created, prospect.updated, prospect.deleted, comp.created, comp.updated, comp.deleted, comp.restored, comp.hidden, comp.unhidden (the comp events are delivered only while the organisation is on the Professional plan)
- urlType: stringrequired
The HTTPS URL where webhook payloads will be delivered.
- nameType: null | string
Optional human-readable name for the webhook.