Create a webhook
Changed onLegacy: This creates a previous-generation webhook. Existing webhooks keep working and there are no plans to remove them, but new integrations should use Create a webhook endpoint instead — one endpoint subscribes to many event types and gets signed, automatically retried deliveries. See the webhooks guides.
Available event types:<br/>- subscriber.subscriber_activate<br/>- subscriber.subscriber_unsubscribe<br/>- subscriber.subscriber_bounce<br/>- subscriber.subscriber_complain<br/>- subscriber.form_subscribe, required parameter form_id [Integer]<br/>- subscriber.course_subscribe, required parameter sequence_id [Integer]<br/>- subscriber.course_complete, required parameter sequence_id [Integer]<br/>- subscriber.link_click, required parameter initiator_value [String] as a link URL<br/>- subscriber.product_purchase, required parameter product_id [Integer]<br/>- subscriber.tag_add, required parameter tag_id [Integer]<br/>- subscriber.tag_remove, required parameter tag_id [Integer]<br/>- purchase.purchase_create<br/>- custom_field.field_created<br/>- custom_field.field_deleted<br/>- custom_field.field_value_updated, required parameter custom_field_id [Integer]
Request
- Base URLhttps://api.kit.com
- Auth
- API key in header X-Kit-Api-Key
- or OAuth 2Authorization code: https://api.kit.com/v4/oauth/authorizeToken URL: https://api.kit.com/v4/oauth/token
Request body
Response
Creates the webhook
Changes
- info
api tag
Webhooks (Legacy)added - info
api tag
Webhooksremoved
- info