Subscribe a URL to events
/webhooksLynked sends every event of the listed types to the URL. The response holds the subscription's
secret, shown only once: you need it to verify the X-Lynked-Signature header. See the
Webhooks guide.
Headers
Idempotency-KeystringA UUID (any version; UUIDv7 recommended) that makes a retry of this request safe. See the Idempotency guide.
Request body required
urlstring requiredWhere Lynked sends the events. Must use
httpsand point to a public address.maxLength: 2048
event_typesarray of WebhookEventType requiredThe events this URL receives. At most 5 subscriptions per event type.
minItems: 1
notification_emailstring | nullWho is emailed when deliveries keep failing. Defaults to the business email.
maxLength: 180
Responses
- 201 Created The subscription was created. CreatedWebhookSubscription
Show fields
idinteger requiredurlstring requiredevent_typesarray of WebhookEventType requiredactiveboolean requiredAn inactive subscription receives nothing. Only you change it, Lynked never does.
notification_emailstring requiredcreated_atstring requiredsecretsecret requiredSigns every request to this subscription (
X-Lynked-Signature). Store it like a password.
- 401 Unauthorized The API key is missing, invalid or revoked. Error
Show fields
messagestring requiredWhat went wrong, in English. The text may change; use
error_codein your code.error_codestringStable machine-readable code of the problem, for example
api_key_invalid. Present on every error that has a specific cause; see Errors for the list.error_uidstring requiredIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 403 Forbidden The Public API is disabled for this business. Error
Show fields
messagestring requiredWhat went wrong, in English. The text may change; use
error_codein your code.error_codestringStable machine-readable code of the problem, for example
api_key_invalid. Present on every error that has a specific cause; see Errors for the list.error_uidstring requiredIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 409 Conflict The URL is already subscribed to one of these event types (`webhook_subscription_duplicate`). Error
Show fields
messagestring requiredWhat went wrong, in English. The text may change; use
error_codein your code.error_codestringStable machine-readable code of the problem, for example
api_key_invalid. Present on every error that has a specific cause; see Errors for the list.error_uidstring requiredIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 422 Unprocessable Entity The request is invalid, or an event type already has 5 subscriptions (`webhook_subscription_limit_reached`, with `event_type`).
- 429 Too Many Requests More than 120 requests per minute for this business. Error
Headers: Retry-After
Show fields
messagestring requiredWhat went wrong, in English. The text may change; use
error_codein your code.error_codestringStable machine-readable code of the problem, for example
api_key_invalid. Present on every error that has a specific cause; see Errors for the list.error_uidstring requiredIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 500 Internal Server Error Something failed on Lynked's side. Retry later; if it persists, contact Lynked support with the `error_uid`. Error
Show fields
messagestring requiredWhat went wrong, in English. The text may change; use
error_codein your code.error_codestringStable machine-readable code of the problem, for example
api_key_invalid. Present on every error that has a specific cause; see Errors for the list.error_uidstring requiredIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
curl -X POST 'https://api.lynked.ie/api/public/v1/webhooks' \
-H 'Authorization: Bearer lk_live_...' \
-H 'Idempotency-Key: <unique-key>' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://example.com/lynked/webhooks",
"event_types": [
"customer.joined"
],
"notification_email": "dev@example.com"
}'
{
"url": "https://example.com/lynked/webhooks",
"event_types": [
"customer.joined"
],
"notification_email": "dev@example.com"
}
{
"id": 12,
"url": "https://example.com/lynked/webhooks",
"event_types": [
"customer.joined"
],
"active": true,
"notification_email": "dev@example.com",
"created_at": "2026-01-01T12:00:00Z",
"secret": "whsec_3k9QpX2vT7bYwL5mR8nZ1cH4jF6dG0sA9uE2iO7qW3x"
}