Webhooks Model

ActionMethodResourceDescription
Get allGET/webhooksGet all webhooks.
GetGET/webhooks/:webhook_idGet webhook with id webhook_id.
CreatePOST/webhooksCreate a webhook.
UpdatePUT/webhooks/:webhook_idUpdate webhook with webhook_id.
DeleteDELETE/webhooks/:webhook_idDelete webhook with webhook_id.

The webhook model is composed of the following attributes:

AttributeTypeRequiredDescriptionWhereable
hookstringRequiredThe webhook's hook.Yes
urlurlRequiredThe webhook's url.Yes
delaystring-integerNot RequiredInteger between 0 and 60 seconds, receives delivery_time& pickup_time.Yes