Create webhook
POST api.weavely.ai/v1/forms/[formId]/webhooks
Request
Headers
Bearer <token>
Your personal token.
Parameters
The ID of the form to attach the webhook to.
Body
The destination URL that will receive POST payloads when a form is submitted.
Response
The ID for the newly created webhook.
The URL you provided for receiving webhook events.
The form ID this webhook is associated with.
Delete webhook
DELETE api.weavely.ai/v1/[formId]/webhooks/[webhookId]
Request
Headers
Bearer <token>
Your personal token.
Parameters
The ID of the form where the webhook is registered.
The ID of the webhook to delete.
Response
NoneWebhook payload
Example of the JSON payload delivered to your webhook endpoint when a form is submitted: