Create Webhook
Create a new webhook
Path parameters
site_id
Unique identifier for a Site
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Accept-Version
The API version
Request
The webhook item to create
triggerType
* `form_submission` - Sends the [form_submission](#form_submission) event
* `site_publish` - Sends a [site_publish](#site_publish) event
* `ecomm_new_order` - Sends the new [ecomm_new_order](#ecomm_new_order) event
* `ecomm_order_changed` - Sends the [ecomm_order_changed](#ecomm_order_changed) event
* `ecomm_inventory_changed` - Sends the [ecomm_inventory_changed](#ecomm_inventory_changed) event
* `memberships_user_account_added` - Sends the [memberships_user_account_added](#memberships_user_account_added) event
* `memberships_user_account_updated` - Sends the [memberships_user_account_updated](#memberships_user_account_updated) event
* `memberships_user_account_deleted` - Sends the [memberships_user_account_deleted](#memberships_user_account_deleted) event
* `collection_item_created` - Sends the [collection_item_created](#collection_item_created) event
* `collection_item_changed` - Sends the [collection_item_changed](#collection_item_changed) event
* `collection_item_deleted` - Sends the [collection_item_deleted](#collection_item_deleted) event
* `collection_item_unpublished` - Sends the [collection_item_unpublished](#collection_item_unpublished) event
* `comment_created` - Sends the [comment_created](#comment_created) event
url
The https URL on your server the webhook will send a request to when the webhook is triggered
filter
filter for selecting which events you want webhooks to be triggered for.
** Only available for form_submission
trigger types.
Response
Request was successful
_id
Unique identifier for a Webhook
triggerType
* `form_submission` - Sends the [form_submission](#form_submission) event
* `site_publish` - Sends a [site_publish](#site_publish) event
* `ecomm_new_order` - Sends the new [ecomm_new_order](#ecomm_new_order) event
* `ecomm_order_changed` - Sends the [ecomm_order_changed](#ecomm_order_changed) event
* `ecomm_inventory_changed` - Sends the [ecomm_inventory_changed](#ecomm_inventory_changed) event
* `memberships_user_account_added` - Sends the [memberships_user_account_added](#memberships_user_account_added) event
* `memberships_user_account_updated` - Sends the [memberships_user_account_updated](#memberships_user_account_updated) event
* `memberships_user_account_deleted` - Sends the [memberships_user_account_deleted](#memberships_user_account_deleted) event
* `collection_item_created` - Sends the [collection_item_created](#collection_item_created) event
* `collection_item_changed` - Sends the [collection_item_changed](#collection_item_changed) event
* `collection_item_deleted` - Sends the [collection_item_deleted](#collection_item_deleted) event
* `collection_item_unpublished` - Sends the [collection_item_unpublished](#collection_item_unpublished) event
* `comment_created` - Sends the [comment_created](#comment_created) event
triggerId
Unique identifier for the Webhook Trigger
site
Unique identifier for a Webhook
filter
filter for selecting which events you want webhooks to be triggered for.
lastUsed
Date trigger was last used
createdOn
Date trigger was created