Documentation menu
Webhooks
Endpoints, deliveries, tests and resends.
List webhooks#
GET/webhooks
Required scope: webhooks:manage
The workspace's webhooks, newest first, not paginated. meta gives the monthly cap on visit events, the maximum number of webhooks per workspace (10) and the availability of the feature.
Responses
200 List of webhooks
| Field | Type | Description |
|---|---|---|
| dataoptional | array | |
| metaoptional | object |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data[]required | object | A workspace webhook. The signing secret never appears here: it is shown only at creation and at rotation. |
| data[].idoptional | string (ulid) | |
| data[].urloptional | string (uri) | Normalized address: lowercase host, no trailing dot. |
| data[].descriptionoptional | string | null | |
| data[].eventsoptional | array | Subscribed types (see |
| data[].events[]required | string | Event type a webhook can subscribe to. Values: |
| data[].is_activeoptional | boolean | |
| data[].batch_visitsoptional | boolean | Visit events are grouped into |
| data[].disabled_reasonoptional | string | null |
Values: |
| data[].failing_sinceoptional | string (date-time) | null | Start of the current streak of failures; |
| data[].last_success_atoptional | string (date-time) | null | |
| data[].last_failure_atoptional | string (date-time) | null | |
| data[].created_atoptional | string (date-time) | |
| data[].creatoroptional | object | null | |
| data[].creator.idoptional | string (ulid) | |
| data[].creator.nameoptional | string | |
| data[].accessoptional | object | |
| data[].access.can_updateoptional | boolean | |
| data[].access.can_deleteoptional | boolean | |
| meta.usageoptional | object | Monthly cap on the workspace's visit events. |
| meta.usage.periodoptional | string | Current calendar month (UTC). |
| meta.usage.visit_eventsoptional | integer | Visit events recorded this month. |
| meta.usage.limitoptional | integer | null | Plan limit; |
| meta.max_endpointsoptional | integer | |
| meta.feature_availableoptional | boolean | The workspace's plan includes the API ( |
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS "https://api.hyllo.fr/api/public/v1/webhooks" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Response example
{
"data": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"url": "https://example.com/hooks/hyllo",
"description": "string",
"events": [
"short_link.created"
],
"is_active": true,
"batch_visits": true,
"disabled_reason": "manual",
"failing_since": "2026-01-01T00:00:00Z",
"last_success_at": "2026-01-01T00:00:00Z",
"last_failure_at": "2026-01-01T00:00:00Z",
"created_at": "2026-01-01T00:00:00Z",
"creator": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "string"
},
"access": {
"can_update": true,
"can_delete": true
}
}
],
"meta": {
"usage": {
"period": "2026-12",
"visit_events": 1,
"limit": 1
},
"max_endpoints": 10,
"feature_available": true
}
}Create a webhook#
POST/webhooks
Required scope: webhooks:manageAccepts Idempotency-Key
Adds a webhook to the workspace (10 at most). The signing secret (whsec_…) is returned only here, once: store it. Limited to 20 requests per minute.
402 without api.access. 422: code: too_many_webhooks beyond 10 webhooks, code: webhook_url_not_public for a non-public address (or one that does not resolve); otherwise per-field validation.
Request body
| Field | Type | Description |
|---|---|---|
| urlrequired | string | Public HTTPS address (port 443 or 1024–65535, no credentials, outside Hyllo domains). The returned address is normalized (lowercase host, no trailing dot). Ranges rejected, in addition to private, local and reserved addresses: |
| descriptionoptional | string | null | |
| eventsrequired | array | |
| batch_visitsoptional | boolean | Groups visit events into Default: |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| events[]required | string | Event type a webhook can subscribe to. Values: |
Responses
201 Webhook created
| Field | Type | Description |
|---|---|---|
| dataoptional | object | A workspace webhook. The signing secret never appears here: it is shown only at creation and at rotation. |
| secretoptional | string | Signing secret, shown only once. |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data.idoptional | string (ulid) | |
| data.urloptional | string (uri) | Normalized address: lowercase host, no trailing dot. |
| data.descriptionoptional | string | null | |
| data.eventsoptional | array | Subscribed types (see |
| data.events[]required | string | Event type a webhook can subscribe to. Values: |
| data.is_activeoptional | boolean | |
| data.batch_visitsoptional | boolean | Visit events are grouped into |
| data.disabled_reasonoptional | string | null |
Values: |
| data.failing_sinceoptional | string (date-time) | null | Start of the current streak of failures; |
| data.last_success_atoptional | string (date-time) | null | |
| data.last_failure_atoptional | string (date-time) | null | |
| data.created_atoptional | string (date-time) | |
| data.creatoroptional | object | null | |
| data.creator.idoptional | string (ulid) | |
| data.creator.nameoptional | string | |
| data.accessoptional | object | |
| data.access.can_updateoptional | boolean | |
| data.access.can_deleteoptional | boolean |
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).409idempotency_in_progress: a request carrying the sameIdempotency-Keyis still running.422Validation failed (
errorsper field). Special cases:code: field_not_availablefor a field that does not exist in the public API (folderId,folder_id,organization,folder);code: idempotency_key_mismatchfor anIdempotency-Keyreused with a different request (noerrors).429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS -X POST "https://api.hyllo.fr/api/public/v1/webhooks" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/hooks/hyllo","description":"Zapier","events":["short_link.created","qr_code.scanned"],"batch_visits":false}'Response example
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"url": "https://example.com/hooks/hyllo",
"description": "string",
"events": [
"short_link.created"
],
"is_active": true,
"batch_visits": true,
"disabled_reason": "manual",
"failing_since": "2026-01-01T00:00:00Z",
"last_success_at": "2026-01-01T00:00:00Z",
"last_failure_at": "2026-01-01T00:00:00Z",
"created_at": "2026-01-01T00:00:00Z",
"creator": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "string"
},
"access": {
"can_update": true,
"can_delete": true
}
},
"secret": "whsec_4f8kQ2mZ7xT1pVbN9cLr3sHdYw6AeJu0"
}Event catalog#
GET/webhooks/events
Required scope: webhooks:manage
Event types a webhook can subscribe to. visits.batch and webhook.test are sent but cannot be subscribed to. Payload of each type: see the "Webhooks" section of the general description and the WebhookEvent* schemas (guide: /developers/reference/events).
Responses
200 Catalog
| Field | Type | Description |
|---|---|---|
| dataoptional | array |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data[]required | object | |
| data[].typeoptional | string | Event type a webhook can subscribe to. Values: |
| data[].familyoptional | string | Values: |
| data[].is_visitoptional | boolean | Visit event: counts toward the monthly cap and can be batched. |
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS "https://api.hyllo.fr/api/public/v1/webhooks/events" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Response example
{
"data": [
{
"type": "short_link.created",
"family": "short_link",
"is_visit": true
}
]
}Get a webhook#
GET/webhooks/{webhook}
Required scope: webhooks:manage
The secret is never returned.
Path parameters
| Field | Type | Description |
|---|---|---|
| webhookrequired | string (ulid) | ULID of the webhook. |
Responses
200 Webhook
| Field | Type | Description |
|---|---|---|
| datarequired | object | A workspace webhook. The signing secret never appears here: it is shown only at creation and at rotation. |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data.idoptional | string (ulid) | |
| data.urloptional | string (uri) | Normalized address: lowercase host, no trailing dot. |
| data.descriptionoptional | string | null | |
| data.eventsoptional | array | Subscribed types (see |
| data.events[]required | string | Event type a webhook can subscribe to. Values: |
| data.is_activeoptional | boolean | |
| data.batch_visitsoptional | boolean | Visit events are grouped into |
| data.disabled_reasonoptional | string | null |
Values: |
| data.failing_sinceoptional | string (date-time) | null | Start of the current streak of failures; |
| data.last_success_atoptional | string (date-time) | null | |
| data.last_failure_atoptional | string (date-time) | null | |
| data.created_atoptional | string (date-time) | |
| data.creatoroptional | object | null | |
| data.creator.idoptional | string (ulid) | |
| data.creator.nameoptional | string | |
| data.accessoptional | object | |
| data.access.can_updateoptional | boolean | |
| data.access.can_deleteoptional | boolean |
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).404Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).
429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS "https://api.hyllo.fr/api/public/v1/webhooks/$WEBHOOK" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Response example
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"url": "https://example.com/hooks/hyllo",
"description": "string",
"events": [
"short_link.created"
],
"is_active": true,
"batch_visits": true,
"disabled_reason": "manual",
"failing_since": "2026-01-01T00:00:00Z",
"last_success_at": "2026-01-01T00:00:00Z",
"last_failure_at": "2026-01-01T00:00:00Z",
"created_at": "2026-01-01T00:00:00Z",
"creator": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "string"
},
"access": {
"can_update": true,
"can_delete": true
}
}
}Update a webhook#
PATCH/webhooks/{webhook}
Required scope: webhooks:manage
Updates the address, description, events, batching or state. Reactivating a deactivated webhook (is_active: true) resets failing_since and disabled_reason to null. Changes of url (each resolved on the spot) are limited to 20 per minute per account, a counter shared with the application: every request that carries url counts, even with the current value; beyond that, 429 rate_limited with Retry-After. Requests without url are not counted. 402 without api.access. 403 code: staff_disabled for is_active: true or a change of url on a webhook cut off by Hyllo staff (disabled_reason: staff), which sends nothing anymore.
Path parameters
| Field | Type | Description |
|---|---|---|
| webhookrequired | string (ulid) | ULID of the webhook. |
Request body
Every field is optional; a field that is present follows the creation rules.
| Field | Type | Description |
|---|---|---|
| urloptional | string | Public HTTPS address (port 443 or 1024–65535, no credentials, outside Hyllo domains). The returned address is normalized (lowercase host, no trailing dot). Ranges rejected, in addition to private, local and reserved addresses: |
| descriptionoptional | string | null | |
| eventsoptional | array | |
| batch_visitsoptional | boolean | Groups visit events into Default: |
| is_activeoptional | boolean | Reactivating ( |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| events[]required | string | Event type a webhook can subscribe to. Values: |
Responses
200 Webhook updated
| Field | Type | Description |
|---|---|---|
| datarequired | object | A workspace webhook. The signing secret never appears here: it is shown only at creation and at rotation. |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data.idoptional | string (ulid) | |
| data.urloptional | string (uri) | Normalized address: lowercase host, no trailing dot. |
| data.descriptionoptional | string | null | |
| data.eventsoptional | array | Subscribed types (see |
| data.events[]required | string | Event type a webhook can subscribe to. Values: |
| data.is_activeoptional | boolean | |
| data.batch_visitsoptional | boolean | Visit events are grouped into |
| data.disabled_reasonoptional | string | null |
Values: |
| data.failing_sinceoptional | string (date-time) | null | Start of the current streak of failures; |
| data.last_success_atoptional | string (date-time) | null | |
| data.last_failure_atoptional | string (date-time) | null | |
| data.created_atoptional | string (date-time) | |
| data.creatoroptional | object | null | |
| data.creator.idoptional | string (ulid) | |
| data.creator.nameoptional | string | |
| data.accessoptional | object | |
| data.access.can_updateoptional | boolean | |
| data.access.can_deleteoptional | boolean |
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).404Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).
422Validation failed (
errorsper field). Special cases:code: field_not_availablefor a field that does not exist in the public API (folderId,folder_id,organization,folder);code: idempotency_key_mismatchfor anIdempotency-Keyreused with a different request (noerrors).429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS -X PATCH "https://api.hyllo.fr/api/public/v1/webhooks/$WEBHOOK" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"events":["short_link.created"],"is_active":true}'Response example
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"url": "https://example.com/hooks/hyllo",
"description": "string",
"events": [
"short_link.created"
],
"is_active": true,
"batch_visits": true,
"disabled_reason": "manual",
"failing_since": "2026-01-01T00:00:00Z",
"last_success_at": "2026-01-01T00:00:00Z",
"last_failure_at": "2026-01-01T00:00:00Z",
"created_at": "2026-01-01T00:00:00Z",
"creator": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "string"
},
"access": {
"can_update": true,
"can_delete": true
}
}
}Delete a webhook#
DELETE/webhooks/{webhook}
Required scope: webhooks:manage
Deletes the webhook and its log. Allowed without api.access.
Path parameters
| Field | Type | Description |
|---|---|---|
| webhookrequired | string (ulid) | ULID of the webhook. |
Responses
204 Deleted
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).404Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).
429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS -X DELETE "https://api.hyllo.fr/api/public/v1/webhooks/$WEBHOOK" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Rotate the secret#
POST/webhooks/{webhook}/secret
Required scope: webhooks:manage
Generates a new secret, returned only once. The old one stays valid for 24 h: during that time every delivery carries two v1= signatures (the new one first). 402 without api.access.
Path parameters
| Field | Type | Description |
|---|---|---|
| webhookrequired | string (ulid) | ULID of the webhook. |
Responses
200 New secret
| Field | Type | Description |
|---|---|---|
| secretoptional | string |
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).404Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).
429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS -X POST "https://api.hyllo.fr/api/public/v1/webhooks/$WEBHOOK/secret" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Response example
{
"secret": "whsec_4f8kQ2mZ7xT1pVbN9cLr3sHdYw6AeJu0"
}Send a test event#
POST/webhooks/{webhook}/test
Required scope: webhooks:manage
Sends webhook.test synchronously (5 s at most) and returns the delivery as it ended (succeeded or failed, with response_status or error). Never retried; changes neither failing_since nor last_*. Allowed on a webhook deactivated by an admin; 403 code: staff_disabled if it was deactivated by Hyllo staff (it sends nothing anymore, tests included). 10 requests per minute. 402 without api.access.
Path parameters
| Field | Type | Description |
|---|---|---|
| webhookrequired | string (ulid) | ULID of the webhook. |
Responses
200 Test delivery
| Field | Type | Description |
|---|---|---|
| datarequired | object | A delivery of an event to a webhook (row of the log, kept for 30 days). |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data.idoptional | string (ulid) | |
| data.eventoptional | object | null | |
| data.event.idoptional | string | Same as |
| data.event.typeoptional | string | |
| data.event.created_atoptional | string (date-time) | |
| data.statusoptional | string |
Values: |
| data.attemptsoptional | integer | Attempts made; incremented at the start of each attempt. |
| data.next_attempt_atoptional | string (date-time) | null | |
| data.last_attempt_atoptional | string (date-time) | null | |
| data.response_statusoptional | integer | null | HTTP status received; |
| data.response_excerptoptional | string | null | Beginning of the response: the transfer is cut off beyond 1,024 bytes; |
| data.erroroptional | string | null | Stable error code; Values: |
| data.duration_msoptional | integer | null | |
| data.is_manualoptional | boolean | Test or manual resend. |
| data.created_atoptional | string (date-time) | |
| data.request_bodyoptional | object | Payload sent (the event, envelope included). Present only on |
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).404Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).
429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS -X POST "https://api.hyllo.fr/api/public/v1/webhooks/$WEBHOOK/test" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Response example
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"event": {
"id": "evt_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "short_link.created",
"created_at": "2026-01-01T00:00:00Z"
},
"status": "pending",
"attempts": 1,
"next_attempt_at": "2026-01-01T00:00:00Z",
"last_attempt_at": "2026-01-01T00:00:00Z",
"response_status": 200,
"response_excerpt": "string",
"error": "timeout",
"duration_ms": 1,
"is_manual": true,
"created_at": "2026-01-01T00:00:00Z",
"request_body": {}
}
}Delivery log#
GET/webhooks/{webhook}/deliveries
Required scope: webhooks:manage
The webhook's deliveries, most recent first, 25 per page, kept for 30 days. Without request_body (see the detail of a delivery).
Path parameters
| Field | Type | Description |
|---|---|---|
| webhookrequired | string (ulid) | ULID of the webhook. |
Query parameters
| Field | Type | Description |
|---|---|---|
| pageoptional | integer | Default: |
| statusoptional | string | Keeps only deliveries with this status. Values: |
Responses
200 Page of deliveries
| Field | Type | Description |
|---|---|---|
| dataoptional | array | |
| linksoptional | object | URLs of neighboring pages ( |
| metaoptional | object |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data[]required | object | A delivery of an event to a webhook (row of the log, kept for 30 days). |
| data[].idoptional | string (ulid) | |
| data[].eventoptional | object | null | |
| data[].event.idoptional | string | Same as |
| data[].event.typeoptional | string | |
| data[].event.created_atoptional | string (date-time) | |
| data[].statusoptional | string |
Values: |
| data[].attemptsoptional | integer | Attempts made; incremented at the start of each attempt. |
| data[].next_attempt_atoptional | string (date-time) | null | |
| data[].last_attempt_atoptional | string (date-time) | null | |
| data[].response_statusoptional | integer | null | HTTP status received; |
| data[].response_excerptoptional | string | null | Beginning of the response: the transfer is cut off beyond 1,024 bytes; |
| data[].erroroptional | string | null | Stable error code; Values: |
| data[].duration_msoptional | integer | null | |
| data[].is_manualoptional | boolean | Test or manual resend. |
| data[].created_atoptional | string (date-time) | |
| data[].request_bodyoptional | object | Payload sent (the event, envelope included). Present only on |
| links.firstrequired | string | null | |
| links.lastrequired | string | null | |
| links.prevrequired | string | null | |
| links.nextrequired | string | null | |
| meta.current_pagerequired | integer | |
| meta.fromoptional | integer | null | |
| meta.last_pagerequired | integer | |
| meta.linksoptional | array | Navigation links. |
| meta.links[]required | object | |
| meta.links[].urloptional | string | null | |
| meta.links[].labeloptional | string | |
| meta.links[].activeoptional | boolean | |
| meta.pathoptional | string | |
| meta.per_pagerequired | integer | |
| meta.tooptional | integer | null | |
| meta.totalrequired | integer |
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).404Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).
422Validation failed (
errorsper field). Special cases:code: field_not_availablefor a field that does not exist in the public API (folderId,folder_id,organization,folder);code: idempotency_key_mismatchfor anIdempotency-Keyreused with a different request (noerrors).429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS "https://api.hyllo.fr/api/public/v1/webhooks/$WEBHOOK/deliveries" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Response example
{
"data": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"event": {
"id": "evt_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "short_link.created",
"created_at": "2026-01-01T00:00:00Z"
},
"status": "pending",
"attempts": 1,
"next_attempt_at": "2026-01-01T00:00:00Z",
"last_attempt_at": "2026-01-01T00:00:00Z",
"response_status": 200,
"response_excerpt": "string",
"error": "timeout",
"duration_ms": 1,
"is_manual": true,
"created_at": "2026-01-01T00:00:00Z",
"request_body": {}
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 3,
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"path": "string",
"per_page": 15,
"to": 1,
"total": 42
}
}Delivery detail#
GET/webhooks/{webhook}/deliveries/{delivery}
Required scope: webhooks:manage
The delivery, with request_body: the exact payload of the event.
Path parameters
| Field | Type | Description |
|---|---|---|
| webhookrequired | string (ulid) | ULID of the webhook. |
| deliveryrequired | string (ulid) | ULID of the delivery, which must belong to the webhook (otherwise 404). |
Responses
200 Delivery
| Field | Type | Description |
|---|---|---|
| datarequired | object | A delivery of an event to a webhook (row of the log, kept for 30 days). |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data.idoptional | string (ulid) | |
| data.eventoptional | object | null | |
| data.event.idoptional | string | Same as |
| data.event.typeoptional | string | |
| data.event.created_atoptional | string (date-time) | |
| data.statusoptional | string |
Values: |
| data.attemptsoptional | integer | Attempts made; incremented at the start of each attempt. |
| data.next_attempt_atoptional | string (date-time) | null | |
| data.last_attempt_atoptional | string (date-time) | null | |
| data.response_statusoptional | integer | null | HTTP status received; |
| data.response_excerptoptional | string | null | Beginning of the response: the transfer is cut off beyond 1,024 bytes; |
| data.erroroptional | string | null | Stable error code; Values: |
| data.duration_msoptional | integer | null | |
| data.is_manualoptional | boolean | Test or manual resend. |
| data.created_atoptional | string (date-time) | |
| data.request_bodyoptional | object | Payload sent (the event, envelope included). Present only on |
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).404Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).
429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS "https://api.hyllo.fr/api/public/v1/webhooks/$WEBHOOK/deliveries/$DELIVERY" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Response example
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"event": {
"id": "evt_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "short_link.created",
"created_at": "2026-01-01T00:00:00Z"
},
"status": "pending",
"attempts": 1,
"next_attempt_at": "2026-01-01T00:00:00Z",
"last_attempt_at": "2026-01-01T00:00:00Z",
"response_status": 200,
"response_excerpt": "string",
"error": "timeout",
"duration_ms": 1,
"is_manual": true,
"created_at": "2026-01-01T00:00:00Z",
"request_body": {}
}
}Resend a delivery#
POST/webhooks/{webhook}/deliveries/{delivery}/resend
Required scope: webhooks:manage
Queues a new delivery (manual, is_manual: true) of the same event, with the same Hyllo-Event-Id; it does not count against the monthly cap. 403 code: staff_disabled if the webhook was cut off by Hyllo staff. 30 requests per minute. 402 without api.access.
Path parameters
| Field | Type | Description |
|---|---|---|
| webhookrequired | string (ulid) | ULID of the webhook. |
| deliveryrequired | string (ulid) | ULID of the delivery, which must belong to the webhook (otherwise 404). |
Responses
202 New delivery queued
| Field | Type | Description |
|---|---|---|
| datarequired | object | A delivery of an event to a webhook (row of the log, kept for 30 days). |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data.idoptional | string (ulid) | |
| data.eventoptional | object | null | |
| data.event.idoptional | string | Same as |
| data.event.typeoptional | string | |
| data.event.created_atoptional | string (date-time) | |
| data.statusoptional | string |
Values: |
| data.attemptsoptional | integer | Attempts made; incremented at the start of each attempt. |
| data.next_attempt_atoptional | string (date-time) | null | |
| data.last_attempt_atoptional | string (date-time) | null | |
| data.response_statusoptional | integer | null | HTTP status received; |
| data.response_excerptoptional | string | null | Beginning of the response: the transfer is cut off beyond 1,024 bytes; |
| data.erroroptional | string | null | Stable error code; Values: |
| data.duration_msoptional | integer | null | |
| data.is_manualoptional | boolean | Test or manual resend. |
| data.created_atoptional | string (date-time) | |
| data.request_bodyoptional | object | Payload sent (the event, envelope included). Present only on |
Errors All codes
401Token missing, unknown, expired or revoked (
code: invalid_token). Also returned when the token's creator has left the workspace. Rejections are counted per IP (30 per minute): beyond that, 429.402The workspace's plan does not include API access (
feature: api.access), or the requested plan entitlement is missing or its quota is reached:plan_required,quota_reachedorplan_restricted(resource read-only after a downgrade).403Missing scope (
code: insufficient_scope, withrequired_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).404Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).
429Limit reached (
code: rate_limited): per token, for all of the workspace's tokens combined, or a route's own limit (QR code export,POST /webhooks,PATCH /webhooks/{webhook}withurl,POST /webhooks/{webhook}/test,…/resend). WaitRetry-Afterseconds. TheX-RateLimit-*headers are present;X-RateLimit-Resetfollows the limiter whoseX-RateLimit-Remainingis the lowest.
curl -sS -X POST "https://api.hyllo.fr/api/public/v1/webhooks/$WEBHOOK/deliveries/$DELIVERY/resend" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Response example
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"event": {
"id": "evt_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "short_link.created",
"created_at": "2026-01-01T00:00:00Z"
},
"status": "pending",
"attempts": 1,
"next_attempt_at": "2026-01-01T00:00:00Z",
"last_attempt_at": "2026-01-01T00:00:00Z",
"response_status": 200,
"response_excerpt": "string",
"error": "timeout",
"duration_ms": 1,
"is_manual": true,
"created_at": "2026-01-01T00:00:00Z",
"request_body": {}
}
}Schemas
WebhookEndpoint
A workspace webhook. The signing secret never appears here: it is shown only at creation and at rotation.
| Field | Type | Description |
|---|---|---|
| idoptional | string (ulid) | |
| urloptional | string (uri) | Normalized address: lowercase host, no trailing dot. |
| descriptionoptional | string | null | |
| eventsoptional | array | Subscribed types (see |
| is_activeoptional | boolean | |
| batch_visitsoptional | boolean | Visit events are grouped into |
| disabled_reasonoptional | string | null |
Values: |
| failing_sinceoptional | string (date-time) | null | Start of the current streak of failures; |
| last_success_atoptional | string (date-time) | null | |
| last_failure_atoptional | string (date-time) | null | |
| created_atoptional | string (date-time) | |
| creatoroptional | object | null | |
| accessoptional | object |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| events[]required | string | Event type a webhook can subscribe to. Values: |
| creator.idoptional | string (ulid) | |
| creator.nameoptional | string | |
| access.can_updateoptional | boolean | |
| access.can_deleteoptional | boolean |
WebhookUsage
Monthly cap on the workspace's visit events.
| Field | Type | Description |
|---|---|---|
| periodoptional | string | Current calendar month (UTC). |
| visit_eventsoptional | integer | Visit events recorded this month. |
| limitoptional | integer | null | Plan limit; |
WebhookSubscribableEvent
Event type a webhook can subscribe to.
WebhookEventCatalogItem
| Field | Type | Description |
|---|---|---|
| typeoptional | string | Event type a webhook can subscribe to. Values: |
| familyoptional | string | Values: |
| is_visitoptional | boolean | Visit event: counts toward the monthly cap and can be batched. |
WebhookDelivery
A delivery of an event to a webhook (row of the log, kept for 30 days).
| Field | Type | Description |
|---|---|---|
| idoptional | string (ulid) | |
| eventoptional | object | null | |
| statusoptional | string |
Values: |
| attemptsoptional | integer | Attempts made; incremented at the start of each attempt. |
| next_attempt_atoptional | string (date-time) | null | |
| last_attempt_atoptional | string (date-time) | null | |
| response_statusoptional | integer | null | HTTP status received; |
| response_excerptoptional | string | null | Beginning of the response: the transfer is cut off beyond 1,024 bytes; |
| erroroptional | string | null | Stable error code; Values: |
| duration_msoptional | integer | null | |
| is_manualoptional | boolean | Test or manual resend. |
| created_atoptional | string (date-time) | |
| request_bodyoptional | object | Payload sent (the event, envelope included). Present only on |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| event.idoptional | string | Same as |
| event.typeoptional | string | |
| event.created_atoptional | string (date-time) |
PaginationLinks
URLs of neighboring pages (null when there is none).
| Field | Type | Description |
|---|---|---|
| firstrequired | string | null | |
| lastrequired | string | null | |
| prevrequired | string | null | |
| nextrequired | string | null |
PaginationMeta
| Field | Type | Description |
|---|---|---|
| current_pagerequired | integer | |
| fromoptional | integer | null | |
| last_pagerequired | integer | |
| linksoptional | array | Navigation links. |
| pathoptional | string | |
| per_pagerequired | integer | |
| tooptional | integer | null | |
| totalrequired | integer |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| links[]required | object | |
| links[].urloptional | string | null | |
| links[].labeloptional | string | |
| links[].activeoptional | boolean |
