cURL
curl --request POST \ --url https://www.landing.so/api/webhook \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "triggers": [ "lead.created" ] } '
{ "id": "<string>" }
Creates a new webhook
OAuth2 Bearer token for authentication
Webhook to create
The URL where webhook events will be sent
Array of event types that trigger this webhook
lead.created
webhook created successfully
Unique identifier of the created webhook