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-Keystring · uuidA UUID (any version; UUIDv7 recommended) that makes a retry of this request safe. See the Idempotency guide.
Request body
3 fields
urlstring · uriRequiredWhere Lynked sends the events. Must use
httpsand point to a public address.max 2048 characters
The events this URL receives. At most 5 subscriptions per event type.
at least 1 item
notification_emailstring | null · emailWho is emailed when deliveries keep failing. Defaults to the business email.
max 180 characters
Responses
Success
- 201 CreatedCreatedWebhookSubscription
The subscription was created.
8 fields
idintegerThe subscription id, for deleting it or rotating its secret.
versionstringThe API version of the payloads this URL receives. Set when the subscription is created, from the version of the API used to create it; see Webhook versions.
One of
"v1"urlstring · uriWhere Lynked sends the events.
event_typesarray of WebhookEventTypeThe events this URL receives.
is_activebooleanAn inactive subscription receives nothing. Only you change it, Lynked never does.
notification_emailstring · emailWho is emailed when deliveries keep failing.
created_atstring · date-timeWhen the subscription was created.
secretstringSigns every request to this subscription (
X-Lynked-Signature). Store it like a password.
Errors
- 401 UnauthorizedError
The API key is missing, invalid or revoked.
3 fields
messagestringWhat went wrong. The text may change; use
error_codein your code.error_codestringMachine-readable code of the problem, for example
api_key_invalid; it does not change within v1. Every error has one:internal_server_erroron a 500,undefinedwhen the error has no specific code yet. See Errors for the list.error_uidstringIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 403 ForbiddenError
The Public API is disabled for this business.
3 fields
messagestringWhat went wrong. The text may change; use
error_codein your code.error_codestringMachine-readable code of the problem, for example
api_key_invalid; it does not change within v1. Every error has one:internal_server_erroron a 500,undefinedwhen the error has no specific code yet. See Errors for the list.error_uidstringIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 409 ConflictError
The URL is already subscribed to one of these event types (
webhook_subscription_duplicate).3 fields
messagestringWhat went wrong. The text may change; use
error_codein your code.error_codestringMachine-readable code of the problem, for example
api_key_invalid; it does not change within v1. Every error has one:internal_server_erroron a 500,undefinedwhen the error has no specific code yet. See Errors for the list.error_uidstringIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 422 Unprocessable EntityValidationError
The request is invalid, or an event type already has 5 subscriptions (
webhook_subscription_limit_reached, withevent_type).4 fields
messagestringAll problems in one line.
errorsobjectRequest field path → its problems.
error_codestringundefinedfor validation errors for now; see Errors for the list of codes.error_uidstringIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
- 429 Too Many RequestsRateLimitError
More than 120 requests per minute for this business.
HeadersRetry-AfterintegerSeconds to wait before the next request.
4 fields
messagestringWhat went wrong. The text may change; use
error_codein your code.error_codestringMachine-readable code of the problem, for example
api_key_invalid; it does not change within v1. Every error has one:internal_server_erroron a 500,undefinedwhen the error has no specific code yet. See Errors for the list.error_uidstringIdentifier of this error in Lynked's logs. Quote it when you contact Lynked support.
retry_afterintegerSeconds to wait before the next request; the same value as the
Retry-Afterheader.
- 500 Internal Server ErrorError
Something failed on Lynked's side. Retry later; if it persists, contact Lynked support with the
error_uid.3 fields
messagestringWhat went wrong. The text may change; use
error_codein your code.error_codestringMachine-readable code of the problem, for example
api_key_invalid; it does not change within v1. Every error has one:internal_server_erroron a 500,undefinedwhen the error has no specific code yet. See Errors for the list.error_uidstringIdentifier 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"
}
HTTP/3 201 Created
Content-Type: application/json
{
"id": 12,
"version": "v1",
"url": "https://example.com/lynked/webhooks",
"event_types": [
"customer.joined"
],
"is_active": true,
"notification_email": "dev@example.com",
"created_at": "2026-01-01T12:00:00Z",
"secret": "whsec_3k9QpX2vT7bYwL5mR8nZ1cH4jF6dG0sA9uE2iO7qW3x"
}