| title | Webhooks | ||
|---|---|---|---|
| nav_order | 14 | ||
| seo |
|
||
| description | API reference for the Makeplans webhooks endpoint — attributes and operations for managing webhook subscriptions. |
| Name | Type | Description |
|---|---|---|
| id | Integer | Automatically set |
| created_at | Datetime | Automatically set |
| updated_at | Datetime | Automatically set |
| target_url | String | Required. Must use HTTPS. Local addresses are not allowed. Maximum 2048 characters. |
| event | String | Required. Maximum 50 characters. |
| active | Boolean | Not required. Default true. Set to false to disable the webhook. |
See webhook overview for a list of events, wildcard usage to trigger from multiple events, and how to handle webhook events from Makeplans.
GET /web_hooks will return all webhooks.
Response
[
{
"web_hook": {
"id": 1,
"target_url": "https://example.com/newcustomer/yeah",
"event": "person.created",
"active": true,
"created_at": "2012-09-20T15:34:16+02:00",
"updated_at": "2012-09-20T15:34:16+02:00"
}
}
]GET /web_hooks/{web_hook_id} will get a webhook with id {web_hook_id}.
POST /web_hooks will create a new webhook.
PUT /web_hooks/{web_hook_id} will update existing webhook with id {web_hook_id}.
DELETE /web_hooks/{web_hook_id} will delete existing webhook with id {web_hook_id}.