cURL
curl --request POST \ --url https://api.formo.so/api/webhooks \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "formId": "<string>", "targetUrl": "<string>", "eventTypes": [ "FORM_SUBMISSION" ] } '
{ "isSuccess": true, "data": { "webhookId": "<string>" } }
Create a new webhook subscription for form events
FORM_SUBMISSION
FORM_UPDATED
The unique identifier of the form
The URL that will receive webhook events
Types of events to subscribe to
Successfully subscribed to webhook
true
Show child attributes