Webhooks Model

ActionMethodResourceDescription
Get allGET/webhooksGet all webhooks.
GetGET/webhooks/:webhook_idGet webhook with id webhook_id.
Create POST/webhooksCreate a webhook.
Update PUT/webhooks/:webhook_idUpdate webhook with webhook_id.
Delete DELETE/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