Webhooks
Subscribe webhook to a link
Subscribe a webhook URL to receive events for a specific link. The endpoint receives a POST for each click, plus link.updated and link.deleted for this link. Branch on the JSON event field; see the Webhooks section for payload shapes.
post/api/v1/link/{link_id}/webhooks
Path parameters
link_idinteger required
The ID of the link to subscribe to
Request body
Example request
{
"url": "https://hooks.zapier.com/hooks/catch/123456/abcdef/"
}Response
Webhook subscribed
Example response
{
"id": "https://hooks.zapier.com/hooks/catch/123456/abcdef/"
}Changes
No recorded changes to this endpoint across all 3 revisions of this API.