Action | Method | Resource | Description |
---|
Get all | GET | /webhooks | Get all webhooks. |
Get | GET | /webhooks/:webhook_id | Get webhook with id webhook_id . |
Create | POST | /webhooks | Create a webhook. |
Update | PUT | /webhooks/:webhook_id | Update webhook with webhook_id . |
Delete | DELETE | /webhooks/:webhook_id | Delete webhook with webhook_id . |
The webhook model is composed of the following attributes:
Attribute | Type | Required | Description | Whereable |
---|
hook | string | Required | The webhook's hook. | Yes |
url | url | Required | The webhook's url. | Yes |
delay | string-integer | Not Required | Integer between 0 and 60 seconds, receives delivery_time & pickup_time . | Yes |