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/webhooks

Create a webhook

GET
/v1/webhooks

List all webhooks

PATCH
/v1/webhooks/:id

Update a webhook

DELETE
/v1/webhooks/:id

Delete a webhook

POST
/v1/webhooks/:id/test

Send 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"
  }'