Create webhook

POST https://api.weavely.ai/v1/{{formId}}/webhooks

Request

Headers

Authorization
string
required

Bearer <token>
Your personal token.

Parameters

formId
string
required

The ID of the form to attach the webhook to.

Body

url
string
required

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

Response

id
string

The ID for the newly created webhook.

url
string

The URL you provided for receiving webhook events.

formId
string

The form ID this webhook is associated with.

Delete webhook

DELETE https://api.weavely.ai/v1/{{formId}}/webhooks/{{webhookId}}

Request

Headers

Authorization
string
required

Bearer <token>
Your personal token.

Parameters

formId
string
required

The ID of the form where the webhook is registered.

webhookId
string
required

The ID of the webhook to delete.

Response

None