Skip to content
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

FieldTypeDescription
dataoptionalarray
metaoptionalobject
Nested fields and variants
FieldTypeDescription
data[]requiredobject

A workspace webhook. The signing secret never appears here: it is shown only at creation and at rotation.

data[].idoptionalstring (ulid)
data[].urloptionalstring (uri)

Normalized address: lowercase host, no trailing dot.

data[].descriptionoptionalstring | null
data[].eventsoptionalarray

Subscribed types (see GET /webhooks/events).

data[].events[]requiredstring

Event type a webhook can subscribe to.

Values: short_link.created, short_link.updated, short_link.deleted, short_link.expired, qr_code.created, qr_code.updated, qr_code.deleted, qr_code.expired, link_page.created, link_page.updated, link_page.deleted, link_page.expired, visit_limit.reached, alert.triggered, qr_code.scanned, short_link.clicked, link_page.viewed, link.clicked

data[].is_activeoptionalboolean
data[].batch_visitsoptionalboolean

Visit events are grouped into visits.batch instead of being sent one by one.

data[].disabled_reasonoptionalstring | null

manual: deactivated by an admin; failing: deactivated automatically after 72 h of failures; staff: deactivated by Hyllo staff (reactivating it or changing its url returns 403 staff_disabled); it sends nothing anymore: deliveries are skipped, tests included. null if active.

Values: manual, failing, staff, null

data[].failing_sinceoptionalstring (date-time) | null

Start of the current streak of failures; null if the last send succeeded.

data[].last_success_atoptionalstring (date-time) | null
data[].last_failure_atoptionalstring (date-time) | null
data[].created_atoptionalstring (date-time)
data[].creatoroptionalobject | null
data[].creator.idoptionalstring (ulid)
data[].creator.nameoptionalstring
data[].accessoptionalobject
data[].access.can_updateoptionalboolean
data[].access.can_deleteoptionalboolean
meta.usageoptionalobject

Monthly cap on the workspace's visit events.

meta.usage.periodoptionalstring

Current calendar month (UTC).

meta.usage.visit_eventsoptionalinteger

Visit events recorded this month.

meta.usage.limitoptionalinteger | null

Plan limit; null: unlimited; 0: API not included.

meta.max_endpointsoptionalinteger
meta.feature_availableoptionalboolean

The workspace's plan includes the API (api.access).

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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

FieldTypeDescription
urlrequiredstring

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: 2002::/16, 2001::/32, fec0::/10; no proxy is used. ASCII hosts only: an internationalized name is written in punycode (xn--…), otherwise 422 webhook_url_not_public. Rejected if it resolves to a private address: 422 webhook_url_not_public.

descriptionoptionalstring | null
eventsrequiredarray
batch_visitsoptionalboolean

Groups visit events into visits.batch.

Default: false

Nested fields and variants
FieldTypeDescription
events[]requiredstring

Event type a webhook can subscribe to.

Values: short_link.created, short_link.updated, short_link.deleted, short_link.expired, qr_code.created, qr_code.updated, qr_code.deleted, qr_code.expired, link_page.created, link_page.updated, link_page.deleted, link_page.expired, visit_limit.reached, alert.triggered, qr_code.scanned, short_link.clicked, link_page.viewed, link.clicked

Responses

201 Webhook created

FieldTypeDescription
dataoptionalobject

A workspace webhook. The signing secret never appears here: it is shown only at creation and at rotation.

secretoptionalstring

Signing secret, shown only once.

Nested fields and variants
FieldTypeDescription
data.idoptionalstring (ulid)
data.urloptionalstring (uri)

Normalized address: lowercase host, no trailing dot.

data.descriptionoptionalstring | null
data.eventsoptionalarray

Subscribed types (see GET /webhooks/events).

data.events[]requiredstring

Event type a webhook can subscribe to.

Values: short_link.created, short_link.updated, short_link.deleted, short_link.expired, qr_code.created, qr_code.updated, qr_code.deleted, qr_code.expired, link_page.created, link_page.updated, link_page.deleted, link_page.expired, visit_limit.reached, alert.triggered, qr_code.scanned, short_link.clicked, link_page.viewed, link.clicked

data.is_activeoptionalboolean
data.batch_visitsoptionalboolean

Visit events are grouped into visits.batch instead of being sent one by one.

data.disabled_reasonoptionalstring | null

manual: deactivated by an admin; failing: deactivated automatically after 72 h of failures; staff: deactivated by Hyllo staff (reactivating it or changing its url returns 403 staff_disabled); it sends nothing anymore: deliveries are skipped, tests included. null if active.

Values: manual, failing, staff, null

data.failing_sinceoptionalstring (date-time) | null

Start of the current streak of failures; null if the last send succeeded.

data.last_success_atoptionalstring (date-time) | null
data.last_failure_atoptionalstring (date-time) | null
data.created_atoptionalstring (date-time)
data.creatoroptionalobject | null
data.creator.idoptionalstring (ulid)
data.creator.nameoptionalstring
data.accessoptionalobject
data.access.can_updateoptionalboolean
data.access.can_deleteoptionalboolean

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 409

    idempotency_in_progress: a request carrying the same Idempotency-Key is still running.

  • 422

    Validation failed (errors per field). Special cases: code: field_not_available for a field that does not exist in the public API (folderId, folder_id, organization, folder); code: idempotency_key_mismatch for an Idempotency-Key reused with a different request (no errors).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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

FieldTypeDescription
dataoptionalarray
Nested fields and variants
FieldTypeDescription
data[]requiredobject
data[].typeoptionalstring

Event type a webhook can subscribe to.

Values: short_link.created, short_link.updated, short_link.deleted, short_link.expired, qr_code.created, qr_code.updated, qr_code.deleted, qr_code.expired, link_page.created, link_page.updated, link_page.deleted, link_page.expired, visit_limit.reached, alert.triggered, qr_code.scanned, short_link.clicked, link_page.viewed, link.clicked

data[].familyoptionalstring

Values: short_link, qr_code, link_page, visit_limit, alert, link

data[].is_visitoptionalboolean

Visit event: counts toward the monthly cap and can be batched.

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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

FieldTypeDescription
webhookrequiredstring (ulid)

ULID of the webhook.

Responses

200 Webhook

FieldTypeDescription
datarequiredobject

A workspace webhook. The signing secret never appears here: it is shown only at creation and at rotation.

Nested fields and variants
FieldTypeDescription
data.idoptionalstring (ulid)
data.urloptionalstring (uri)

Normalized address: lowercase host, no trailing dot.

data.descriptionoptionalstring | null
data.eventsoptionalarray

Subscribed types (see GET /webhooks/events).

data.events[]requiredstring

Event type a webhook can subscribe to.

Values: short_link.created, short_link.updated, short_link.deleted, short_link.expired, qr_code.created, qr_code.updated, qr_code.deleted, qr_code.expired, link_page.created, link_page.updated, link_page.deleted, link_page.expired, visit_limit.reached, alert.triggered, qr_code.scanned, short_link.clicked, link_page.viewed, link.clicked

data.is_activeoptionalboolean
data.batch_visitsoptionalboolean

Visit events are grouped into visits.batch instead of being sent one by one.

data.disabled_reasonoptionalstring | null

manual: deactivated by an admin; failing: deactivated automatically after 72 h of failures; staff: deactivated by Hyllo staff (reactivating it or changing its url returns 403 staff_disabled); it sends nothing anymore: deliveries are skipped, tests included. null if active.

Values: manual, failing, staff, null

data.failing_sinceoptionalstring (date-time) | null

Start of the current streak of failures; null if the last send succeeded.

data.last_success_atoptionalstring (date-time) | null
data.last_failure_atoptionalstring (date-time) | null
data.created_atoptionalstring (date-time)
data.creatoroptionalobject | null
data.creator.idoptionalstring (ulid)
data.creator.nameoptionalstring
data.accessoptionalobject
data.access.can_updateoptionalboolean
data.access.can_deleteoptionalboolean

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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

FieldTypeDescription
webhookrequiredstring (ulid)

ULID of the webhook.

Request body

Every field is optional; a field that is present follows the creation rules.

FieldTypeDescription
urloptionalstring

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: 2002::/16, 2001::/32, fec0::/10; no proxy is used. ASCII hosts only: an internationalized name is written in punycode (xn--…), otherwise 422 webhook_url_not_public. Rejected if it resolves to a private address: 422 webhook_url_not_public.

descriptionoptionalstring | null
eventsoptionalarray
batch_visitsoptionalboolean

Groups visit events into visits.batch.

Default: false

is_activeoptionalboolean

Reactivating (true) resets failing_since and disabled_reason to null.

Nested fields and variants
FieldTypeDescription
events[]requiredstring

Event type a webhook can subscribe to.

Values: short_link.created, short_link.updated, short_link.deleted, short_link.expired, qr_code.created, qr_code.updated, qr_code.deleted, qr_code.expired, link_page.created, link_page.updated, link_page.deleted, link_page.expired, visit_limit.reached, alert.triggered, qr_code.scanned, short_link.clicked, link_page.viewed, link.clicked

Responses

200 Webhook updated

FieldTypeDescription
datarequiredobject

A workspace webhook. The signing secret never appears here: it is shown only at creation and at rotation.

Nested fields and variants
FieldTypeDescription
data.idoptionalstring (ulid)
data.urloptionalstring (uri)

Normalized address: lowercase host, no trailing dot.

data.descriptionoptionalstring | null
data.eventsoptionalarray

Subscribed types (see GET /webhooks/events).

data.events[]requiredstring

Event type a webhook can subscribe to.

Values: short_link.created, short_link.updated, short_link.deleted, short_link.expired, qr_code.created, qr_code.updated, qr_code.deleted, qr_code.expired, link_page.created, link_page.updated, link_page.deleted, link_page.expired, visit_limit.reached, alert.triggered, qr_code.scanned, short_link.clicked, link_page.viewed, link.clicked

data.is_activeoptionalboolean
data.batch_visitsoptionalboolean

Visit events are grouped into visits.batch instead of being sent one by one.

data.disabled_reasonoptionalstring | null

manual: deactivated by an admin; failing: deactivated automatically after 72 h of failures; staff: deactivated by Hyllo staff (reactivating it or changing its url returns 403 staff_disabled); it sends nothing anymore: deliveries are skipped, tests included. null if active.

Values: manual, failing, staff, null

data.failing_sinceoptionalstring (date-time) | null

Start of the current streak of failures; null if the last send succeeded.

data.last_success_atoptionalstring (date-time) | null
data.last_failure_atoptionalstring (date-time) | null
data.created_atoptionalstring (date-time)
data.creatoroptionalobject | null
data.creator.idoptionalstring (ulid)
data.creator.nameoptionalstring
data.accessoptionalobject
data.access.can_updateoptionalboolean
data.access.can_deleteoptionalboolean

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 422

    Validation failed (errors per field). Special cases: code: field_not_available for a field that does not exist in the public API (folderId, folder_id, organization, folder); code: idempotency_key_mismatch for an Idempotency-Key reused with a different request (no errors).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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

FieldTypeDescription
webhookrequiredstring (ulid)

ULID of the webhook.

Responses

204 Deleted

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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

FieldTypeDescription
webhookrequiredstring (ulid)

ULID of the webhook.

Responses

200 New secret

FieldTypeDescription
secretoptionalstring

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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

FieldTypeDescription
webhookrequiredstring (ulid)

ULID of the webhook.

Responses

200 Test delivery

FieldTypeDescription
datarequiredobject

A delivery of an event to a webhook (row of the log, kept for 30 days).

Nested fields and variants
FieldTypeDescription
data.idoptionalstring (ulid)
data.eventoptionalobject | null
data.event.idoptionalstring

Same as Hyllo-Event-Id.

data.event.typeoptionalstring
data.event.created_atoptionalstring (date-time)
data.statusoptionalstring

pending: waiting for an attempt (or a retry); succeeded: 2xx response; failed: abandoned; skipped: never attempted (webhook deactivated or plan without API).

Values: pending, succeeded, failed, skipped

data.attemptsoptionalinteger

Attempts made; incremented at the start of each attempt.

data.next_attempt_atoptionalstring (date-time) | null
data.last_attempt_atoptionalstring (date-time) | null
data.response_statusoptionalinteger | null

HTTP status received; null without a response.

data.response_excerptoptionalstring | null

Beginning of the response: the transfer is cut off beyond 1,024 bytes; response_status is kept.

data.erroroptionalstring | null

Stable error code; null for a non-2xx HTTP response (see response_status). interrupted: attempt that started without a report, counted as a failure; the delivery becomes failed beyond 9 attempts.

Values: timeout, dns, tls, connection, redirect, not_public_at_send, interrupted, null

data.duration_msoptionalinteger | null
data.is_manualoptionalboolean

Test or manual resend.

data.created_atoptionalstring (date-time)
data.request_bodyoptionalobject

Payload sent (the event, envelope included). Present only on GET /webhooks/{webhook}/deliveries/{delivery}.

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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

FieldTypeDescription
webhookrequiredstring (ulid)

ULID of the webhook.

Query parameters

FieldTypeDescription
pageoptionalinteger

Default: 1

statusoptionalstring

Keeps only deliveries with this status.

Values: pending, succeeded, failed, skipped

Responses

200 Page of deliveries

FieldTypeDescription
dataoptionalarray
linksoptionalobject

URLs of neighboring pages (null when there is none).

metaoptionalobject
Nested fields and variants
FieldTypeDescription
data[]requiredobject

A delivery of an event to a webhook (row of the log, kept for 30 days).

data[].idoptionalstring (ulid)
data[].eventoptionalobject | null
data[].event.idoptionalstring

Same as Hyllo-Event-Id.

data[].event.typeoptionalstring
data[].event.created_atoptionalstring (date-time)
data[].statusoptionalstring

pending: waiting for an attempt (or a retry); succeeded: 2xx response; failed: abandoned; skipped: never attempted (webhook deactivated or plan without API).

Values: pending, succeeded, failed, skipped

data[].attemptsoptionalinteger

Attempts made; incremented at the start of each attempt.

data[].next_attempt_atoptionalstring (date-time) | null
data[].last_attempt_atoptionalstring (date-time) | null
data[].response_statusoptionalinteger | null

HTTP status received; null without a response.

data[].response_excerptoptionalstring | null

Beginning of the response: the transfer is cut off beyond 1,024 bytes; response_status is kept.

data[].erroroptionalstring | null

Stable error code; null for a non-2xx HTTP response (see response_status). interrupted: attempt that started without a report, counted as a failure; the delivery becomes failed beyond 9 attempts.

Values: timeout, dns, tls, connection, redirect, not_public_at_send, interrupted, null

data[].duration_msoptionalinteger | null
data[].is_manualoptionalboolean

Test or manual resend.

data[].created_atoptionalstring (date-time)
data[].request_bodyoptionalobject

Payload sent (the event, envelope included). Present only on GET /webhooks/{webhook}/deliveries/{delivery}.

links.firstrequiredstring | null
links.lastrequiredstring | null
links.prevrequiredstring | null
links.nextrequiredstring | null
meta.current_pagerequiredinteger
meta.fromoptionalinteger | null
meta.last_pagerequiredinteger
meta.linksoptionalarray

Navigation links.

meta.links[]requiredobject
meta.links[].urloptionalstring | null
meta.links[].labeloptionalstring
meta.links[].activeoptionalboolean
meta.pathoptionalstring
meta.per_pagerequiredinteger
meta.tooptionalinteger | null
meta.totalrequiredinteger

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 422

    Validation failed (errors per field). Special cases: code: field_not_available for a field that does not exist in the public API (folderId, folder_id, organization, folder); code: idempotency_key_mismatch for an Idempotency-Key reused with a different request (no errors).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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

FieldTypeDescription
webhookrequiredstring (ulid)

ULID of the webhook.

deliveryrequiredstring (ulid)

ULID of the delivery, which must belong to the webhook (otherwise 404).

Responses

200 Delivery

FieldTypeDescription
datarequiredobject

A delivery of an event to a webhook (row of the log, kept for 30 days).

Nested fields and variants
FieldTypeDescription
data.idoptionalstring (ulid)
data.eventoptionalobject | null
data.event.idoptionalstring

Same as Hyllo-Event-Id.

data.event.typeoptionalstring
data.event.created_atoptionalstring (date-time)
data.statusoptionalstring

pending: waiting for an attempt (or a retry); succeeded: 2xx response; failed: abandoned; skipped: never attempted (webhook deactivated or plan without API).

Values: pending, succeeded, failed, skipped

data.attemptsoptionalinteger

Attempts made; incremented at the start of each attempt.

data.next_attempt_atoptionalstring (date-time) | null
data.last_attempt_atoptionalstring (date-time) | null
data.response_statusoptionalinteger | null

HTTP status received; null without a response.

data.response_excerptoptionalstring | null

Beginning of the response: the transfer is cut off beyond 1,024 bytes; response_status is kept.

data.erroroptionalstring | null

Stable error code; null for a non-2xx HTTP response (see response_status). interrupted: attempt that started without a report, counted as a failure; the delivery becomes failed beyond 9 attempts.

Values: timeout, dns, tls, connection, redirect, not_public_at_send, interrupted, null

data.duration_msoptionalinteger | null
data.is_manualoptionalboolean

Test or manual resend.

data.created_atoptionalstring (date-time)
data.request_bodyoptionalobject

Payload sent (the event, envelope included). Present only on GET /webhooks/{webhook}/deliveries/{delivery}.

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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

FieldTypeDescription
webhookrequiredstring (ulid)

ULID of the webhook.

deliveryrequiredstring (ulid)

ULID of the delivery, which must belong to the webhook (otherwise 404).

Responses

202 New delivery queued

FieldTypeDescription
datarequiredobject

A delivery of an event to a webhook (row of the log, kept for 30 days).

Nested fields and variants
FieldTypeDescription
data.idoptionalstring (ulid)
data.eventoptionalobject | null
data.event.idoptionalstring

Same as Hyllo-Event-Id.

data.event.typeoptionalstring
data.event.created_atoptionalstring (date-time)
data.statusoptionalstring

pending: waiting for an attempt (or a retry); succeeded: 2xx response; failed: abandoned; skipped: never attempted (webhook deactivated or plan without API).

Values: pending, succeeded, failed, skipped

data.attemptsoptionalinteger

Attempts made; incremented at the start of each attempt.

data.next_attempt_atoptionalstring (date-time) | null
data.last_attempt_atoptionalstring (date-time) | null
data.response_statusoptionalinteger | null

HTTP status received; null without a response.

data.response_excerptoptionalstring | null

Beginning of the response: the transfer is cut off beyond 1,024 bytes; response_status is kept.

data.erroroptionalstring | null

Stable error code; null for a non-2xx HTTP response (see response_status). interrupted: attempt that started without a report, counted as a failure; the delivery becomes failed beyond 9 attempts.

Values: timeout, dns, tls, connection, redirect, not_public_at_send, interrupted, null

data.duration_msoptionalinteger | null
data.is_manualoptionalboolean

Test or manual resend.

data.created_atoptionalstring (date-time)
data.request_bodyoptionalobject

Payload sent (the event, envelope included). Present only on GET /webhooks/{webhook}/deliveries/{delivery}.

Errors All codes

  • 401

    Token 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.

  • 402

    The 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_reached or plan_restricted (resource read-only after a downgrade).

  • 403

    Missing scope (code: insufficient_scope, with required_scope), or action refused by the role of the token's creator in the workspace (viewer, invited member under Business: read-only).

  • 404

    Unknown resource, or one belonging to a workspace other than the token's (never 403: existence is not revealed).

  • 429

    Limit 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} with url, POST /webhooks/{webhook}/test, …/resend). Wait Retry-After seconds. The X-RateLimit-* headers are present; X-RateLimit-Reset follows the limiter whose X-RateLimit-Remaining is 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.

FieldTypeDescription
idoptionalstring (ulid)
urloptionalstring (uri)

Normalized address: lowercase host, no trailing dot.

descriptionoptionalstring | null
eventsoptionalarray

Subscribed types (see GET /webhooks/events).

is_activeoptionalboolean
batch_visitsoptionalboolean

Visit events are grouped into visits.batch instead of being sent one by one.

disabled_reasonoptionalstring | null

manual: deactivated by an admin; failing: deactivated automatically after 72 h of failures; staff: deactivated by Hyllo staff (reactivating it or changing its url returns 403 staff_disabled); it sends nothing anymore: deliveries are skipped, tests included. null if active.

Values: manual, failing, staff, null

failing_sinceoptionalstring (date-time) | null

Start of the current streak of failures; null if the last send succeeded.

last_success_atoptionalstring (date-time) | null
last_failure_atoptionalstring (date-time) | null
created_atoptionalstring (date-time)
creatoroptionalobject | null
accessoptionalobject
Nested fields and variants
FieldTypeDescription
events[]requiredstring

Event type a webhook can subscribe to.

Values: short_link.created, short_link.updated, short_link.deleted, short_link.expired, qr_code.created, qr_code.updated, qr_code.deleted, qr_code.expired, link_page.created, link_page.updated, link_page.deleted, link_page.expired, visit_limit.reached, alert.triggered, qr_code.scanned, short_link.clicked, link_page.viewed, link.clicked

creator.idoptionalstring (ulid)
creator.nameoptionalstring
access.can_updateoptionalboolean
access.can_deleteoptionalboolean
WebhookUsage

Monthly cap on the workspace's visit events.

FieldTypeDescription
periodoptionalstring

Current calendar month (UTC).

visit_eventsoptionalinteger

Visit events recorded this month.

limitoptionalinteger | null

Plan limit; null: unlimited; 0: API not included.

WebhookSubscribableEvent

Event type a webhook can subscribe to.

WebhookEventCatalogItem
FieldTypeDescription
typeoptionalstring

Event type a webhook can subscribe to.

Values: short_link.created, short_link.updated, short_link.deleted, short_link.expired, qr_code.created, qr_code.updated, qr_code.deleted, qr_code.expired, link_page.created, link_page.updated, link_page.deleted, link_page.expired, visit_limit.reached, alert.triggered, qr_code.scanned, short_link.clicked, link_page.viewed, link.clicked

familyoptionalstring

Values: short_link, qr_code, link_page, visit_limit, alert, link

is_visitoptionalboolean

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).

FieldTypeDescription
idoptionalstring (ulid)
eventoptionalobject | null
statusoptionalstring

pending: waiting for an attempt (or a retry); succeeded: 2xx response; failed: abandoned; skipped: never attempted (webhook deactivated or plan without API).

Values: pending, succeeded, failed, skipped

attemptsoptionalinteger

Attempts made; incremented at the start of each attempt.

next_attempt_atoptionalstring (date-time) | null
last_attempt_atoptionalstring (date-time) | null
response_statusoptionalinteger | null

HTTP status received; null without a response.

response_excerptoptionalstring | null

Beginning of the response: the transfer is cut off beyond 1,024 bytes; response_status is kept.

erroroptionalstring | null

Stable error code; null for a non-2xx HTTP response (see response_status). interrupted: attempt that started without a report, counted as a failure; the delivery becomes failed beyond 9 attempts.

Values: timeout, dns, tls, connection, redirect, not_public_at_send, interrupted, null

duration_msoptionalinteger | null
is_manualoptionalboolean

Test or manual resend.

created_atoptionalstring (date-time)
request_bodyoptionalobject

Payload sent (the event, envelope included). Present only on GET /webhooks/{webhook}/deliveries/{delivery}.

Nested fields and variants
FieldTypeDescription
event.idoptionalstring

Same as Hyllo-Event-Id.

event.typeoptionalstring
event.created_atoptionalstring (date-time)
PaginationMeta
FieldTypeDescription
current_pagerequiredinteger
fromoptionalinteger | null
last_pagerequiredinteger
linksoptionalarray

Navigation links.

pathoptionalstring
per_pagerequiredinteger
tooptionalinteger | null
totalrequiredinteger
Nested fields and variants
FieldTypeDescription
links[]requiredobject
links[].urloptionalstring | null
links[].labeloptionalstring
links[].activeoptionalboolean