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 eventsite_publish
- Sends a site_publish eventecomm_new_order
- Sends the new ecomm_new_order eventecomm_order_changed
- Sends the ecomm_order_changed eventecomm_inventory_changed
- Sends the ecomm_inventory_changed eventmemberships_user_account_added
- Sends the memberships_user_account_added eventmemberships_user_account_updated
- Sends the memberships_user_account_updated eventmemberships_user_account_deleted
- Sends the memberships_user_account_deleted eventcollection_item_created
- Sends the collection_item_created eventcollection_item_changed
- Sends the collection_item_changed eventcollection_item_deleted
- Sends the collection_item_deleted eventcollection_item_unpublished
- Sends the collection_item_unpublished 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 eventsite_publish
- Sends a site_publish eventecomm_new_order
- Sends the new ecomm_new_order eventecomm_order_changed
- Sends the ecomm_order_changed eventecomm_inventory_changed
- Sends the ecomm_inventory_changed eventmemberships_user_account_added
- Sends the memberships_user_account_added eventmemberships_user_account_updated
- Sends the memberships_user_account_updated eventmemberships_user_account_deleted
- Sends the memberships_user_account_deleted eventcollection_item_created
- Sends the collection_item_created eventcollection_item_changed
- Sends the collection_item_changed eventcollection_item_deleted
- Sends the collection_item_deleted eventcollection_item_unpublished
- Sends the collection_item_unpublished 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