POST
/
webhook
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>"
}

Authorizations

Authorization
string
header
required

OAuth2 Bearer token for authentication

Body

application/json
Webhook to create
url
string
required

The URL where webhook events will be sent

triggers
enum<string>[]
required

Array of event types that trigger this webhook

Available options:
lead.created

Response

201
application/json
webhook created successfully
id
string
required

Unique identifier of the created webhook