Skip to main content

Create webhook

POST api.weavely.ai/v1/forms/[formId]/webhooks

Request

Headers

string
required
Bearer <token>
Your personal token.

Parameters

string
required
The ID of the form to attach the webhook to.

Body

string
required
The destination URL that will receive POST payloads when a form is submitted.

Response

string
The ID for the newly created webhook.
string
The URL you provided for receiving webhook events.
string
The form ID this webhook is associated with.

Delete webhook

DELETE api.weavely.ai/v1/[formId]/webhooks/[webhookId]

Request

Headers

string
required
Bearer <token>
Your personal token.

Parameters

string
required
The ID of the form where the webhook is registered.
string
required
The ID of the webhook to delete.

Response

None

Webhook payload

Example of the JSON payload delivered to your webhook endpoint when a form is submitted: