Webhooks
Set up webhooks to receive real-time notifications when events occur, such as link creation, updates, or clicks.
This documentation is available in English only.
Endpoints
POST
/v1/webhooksCreate a webhook
GET
/v1/webhooksList all webhooks
PATCH
/v1/webhooks/:idUpdate a webhook
DELETE
/v1/webhooks/:idDelete a webhook
POST
/v1/webhooks/:id/testSend a test event
Example
curl -X POST https://lnk24.co/api/v1/webhooks \
-H "Authorization: Bearer lnk_live_abc123" \
-H "Content-Type: application/json" \
-d '{
"url": "https://myapp.com/webhooks/lnk24co",
"events": ["link.created", "click"],
"secret": "whsec_mysecretkey"
}'