Documentation menu
Short links
Create, read, update and delete short links.
List short links#
GET/short-links
Required scope: short_links:read
Short links of the token's workspace, paginated.
Query parameters
| Field | Type | Description |
|---|---|---|
| pageoptional | integer | Default: |
| per_pageoptional | integer | Default: |
| searchoptional | string | Text search (at least 3 characters). |
| sortoptional | string |
Values: Default: |
| domainoptional | string |
|
| statusoptional | string | Keeps only links with this status (a short link cannot be deactivated: there is no Values: |
| folderoptional | string | Rejected: folders do not exist in the public API. Any occurrence of this parameter returns 422 |
Responses
200 OK
| Field | Type | Description |
|---|---|---|
| datarequired | array | |
| linksrequired | object | URLs of neighboring pages ( |
| metarequired | object |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data[]required | object | Short link. The code and the destination are immutable after creation. |
| data[].idrequired | string (ulid) | |
| data[].titlerequired | string | null | |
| data[].urlrequired | string (uri) | |
| data[].open_in_apprequired | boolean | Opens the destination in its native app when its host is known. |
| data[].shortrequired | string | null | Short code. |
| data[].domainrequired | oneOf | |
| data[].short_urlrequired | string | null | |
| data[].publish_atrequired | string (date-time) | null | |
| data[].is_scheduledrequired | boolean | |
| data[].expires_atrequired | string (date-time) | null | |
| data[].is_expiredrequired | boolean | |
| data[].has_passwordrequired | boolean | |
| data[].max_visitsrequired | integer | null | |
| data[].counted_visitsrequired | integer | Visits since the limit was enabled or reset (≠ |
| data[].is_visit_limit_reachedrequired | boolean | |
| data[].visits_countrequired | integer | All-time visits; 0 right after creation. |
| data[].unique_visitors_countrequired | integer | |
| data[].visits_seriesoptional | array | List ( |
| data[].visits_series[]required | integer | |
| data[].plan_restrictionrequired | oneOf | |
| data[].accessrequired | object | Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders. |
| data[].access.is_ownerrequired | boolean |
|
| data[].access.can_editrequired | boolean | |
| data[].access.can_deleterequired | boolean | |
| data[].access.can_sharerequired | boolean | |
| data[].access.can_organizerequired | boolean | |
| data[].folderrequired | oneOf | |
| data[].created_atrequired | string (date-time) | |
| data[].updated_atrequired | string (date-time) | |
| 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).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/short-links" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Response example
{
"data": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"title": "string",
"url": "https://example.com/promo",
"open_in_app": true,
"short": "Ab3xK9zQ",
"domain": {
"id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
"hostname": "go.client.com"
},
"short_url": "https://hyllo.fr/Ab3xK9zQ",
"publish_at": "2026-01-01T00:00:00Z",
"is_scheduled": true,
"expires_at": "2026-01-01T00:00:00Z",
"is_expired": true,
"has_password": true,
"max_visits": 1,
"counted_visits": 1,
"is_visit_limit_reached": true,
"visits_count": 1,
"unique_visitors_count": 1,
"visits_series": [
1
],
"plan_restriction": {
"state": "restricted",
"since": "2026-01-01T00:00:00Z",
"deletes_at": "2026-01-01T00:00:00Z"
},
"access": {
"is_owner": true,
"can_edit": true,
"can_delete": true,
"can_share": true,
"can_organize": true
},
"folder": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "string"
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
],
"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
}
}Create a short link#
POST/short-links
Required scope: short_links:writeAccepts Idempotency-Key
Creates a short link in the token's workspace. To create several at once: POST /short-links/bulk. A URL blocked by moderation is rejected (422), as in the application.
402: quota_reached (short_links.count); plan_required for a chosen code (short_links.custom_alias), a custom domain (custom_domains.count), open_in_app or a protection.
Request body
| Field | Type | Description |
|---|---|---|
| urlrequired | string (uri) |
|
| titleoptional | string | null | |
| open_in_appoptional | boolean | Opens the destination in its native app when its host is known. Requires |
| folder_idoptional | any | Rejected: folders do not exist in the public API. Any occurrence of this field (even |
| publish_atoptional | string (date-time) | null | Publication start: future date, before |
| expires_atoptional | string (date-time) | null | Expiration: future date; |
| passwordoptional | string | null | Redirect password (stored hashed, never returned). Requires |
| max_visitsoptional | integer | null | Visit limit; beyond it the redirect returns 404. Requires |
| domain_idoptional | string (ulid) | null | Active custom domain of the workspace; requires |
| shortoptional | string | null | Custom code, unique per domain; requires |
Responses
201 Short link created
| Field | Type | Description |
|---|---|---|
| datarequired | object | Short link. The code and the destination are immutable after creation. |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data.idrequired | string (ulid) | |
| data.titlerequired | string | null | |
| data.urlrequired | string (uri) | |
| data.open_in_apprequired | boolean | Opens the destination in its native app when its host is known. |
| data.shortrequired | string | null | Short code. |
| data.domainrequired | oneOf | |
| data.short_urlrequired | string | null | |
| data.publish_atrequired | string (date-time) | null | |
| data.is_scheduledrequired | boolean | |
| data.expires_atrequired | string (date-time) | null | |
| data.is_expiredrequired | boolean | |
| data.has_passwordrequired | boolean | |
| data.max_visitsrequired | integer | null | |
| data.counted_visitsrequired | integer | Visits since the limit was enabled or reset (≠ |
| data.is_visit_limit_reachedrequired | boolean | |
| data.visits_countrequired | integer | All-time visits; 0 right after creation. |
| data.unique_visitors_countrequired | integer | |
| data.visits_seriesoptional | array | List ( |
| data.visits_series[]required | integer | |
| data.plan_restrictionrequired | oneOf | |
| data.accessrequired | object | Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders. |
| data.access.is_ownerrequired | boolean |
|
| data.access.can_editrequired | boolean | |
| data.access.can_deleterequired | boolean | |
| data.access.can_sharerequired | boolean | |
| data.access.can_organizerequired | boolean | |
| data.folderrequired | oneOf | |
| data.created_atrequired | string (date-time) | |
| data.updated_atrequired | string (date-time) |
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/short-links" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/promo","title":"Promo","short":"promo"}'Response example
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"title": "string",
"url": "https://example.com/promo",
"open_in_app": true,
"short": "Ab3xK9zQ",
"domain": {
"id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
"hostname": "go.client.com"
},
"short_url": "https://hyllo.fr/Ab3xK9zQ",
"publish_at": "2026-01-01T00:00:00Z",
"is_scheduled": true,
"expires_at": "2026-01-01T00:00:00Z",
"is_expired": true,
"has_password": true,
"max_visits": 1,
"counted_visits": 1,
"is_visit_limit_reached": true,
"visits_count": 1,
"unique_visitors_count": 1,
"visits_series": [
1
],
"plan_restriction": {
"state": "restricted",
"since": "2026-01-01T00:00:00Z",
"deletes_at": "2026-01-01T00:00:00Z"
},
"access": {
"is_owner": true,
"can_edit": true,
"can_delete": true,
"can_share": true,
"can_organize": true
},
"folder": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "string"
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
}Create short links in bulk#
POST/short-links/bulk
Required scope: short_links:writeAccepts Idempotency-Key
Creates up to 500 short links at once, with generated codes. Empty, invalid, too long or blocked lines are reported in failed without making the batch fail. Response 200 (not 201).
402: quota_reached (short_links.bulk_batch, short_links.count), plan_required for a domain, open_in_app or an expiration.
Request body
| Field | Type | Description |
|---|---|---|
| urlsrequired | array | One destination per line. |
| expires_atoptional | string (date-time) | null | Shared expiration; requires |
| open_in_appoptional | boolean | Applies to the whole batch; requires |
| domain_idoptional | string (ulid) | null | Shared custom domain; requires |
| folder_idoptional | any | Rejected: 422 |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| urls[]required | string | null |
Responses
200 Batch processed
| Field | Type | Description |
|---|---|---|
| datarequired | object |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data.createdrequired | array | |
| data.created[]required | object | Short link. The code and the destination are immutable after creation. |
| data.created[].idrequired | string (ulid) | |
| data.created[].titlerequired | string | null | |
| data.created[].urlrequired | string (uri) | |
| data.created[].open_in_apprequired | boolean | Opens the destination in its native app when its host is known. |
| data.created[].shortrequired | string | null | Short code. |
| data.created[].domainrequired | oneOf | |
| data.created[].short_urlrequired | string | null | |
| data.created[].publish_atrequired | string (date-time) | null | |
| data.created[].is_scheduledrequired | boolean | |
| data.created[].expires_atrequired | string (date-time) | null | |
| data.created[].is_expiredrequired | boolean | |
| data.created[].has_passwordrequired | boolean | |
| data.created[].max_visitsrequired | integer | null | |
| data.created[].counted_visitsrequired | integer | Visits since the limit was enabled or reset (≠ |
| data.created[].is_visit_limit_reachedrequired | boolean | |
| data.created[].visits_countrequired | integer | All-time visits; 0 right after creation. |
| data.created[].unique_visitors_countrequired | integer | |
| data.created[].visits_seriesoptional | array | List ( |
| data.created[].visits_series[]required | integer | |
| data.created[].plan_restrictionrequired | oneOf | |
| data.created[].accessrequired | object | Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders. |
| data.created[].access.is_ownerrequired | boolean |
|
| data.created[].access.can_editrequired | boolean | |
| data.created[].access.can_deleterequired | boolean | |
| data.created[].access.can_sharerequired | boolean | |
| data.created[].access.can_organizerequired | boolean | |
| data.created[].folderrequired | oneOf | |
| data.created[].created_atrequired | string (date-time) | |
| data.created[].updated_atrequired | string (date-time) | |
| data.failedrequired | array | |
| data.failed[]required | object | |
| data.failed[].indexoptional | integer | Position of the line in |
| data.failed[].inputoptional | string | null | Line as received. |
| data.failed[].reasonoptional | string | Values: |
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/short-links/bulk" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"urls":["https://example.com/a","https://example.com/b"]}'Response example
{
"data": {
"created": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"title": "string",
"url": "https://example.com/promo",
"open_in_app": true,
"short": "Ab3xK9zQ",
"domain": {},
"short_url": "https://hyllo.fr/Ab3xK9zQ",
"publish_at": "2026-01-01T00:00:00Z",
"is_scheduled": true,
"expires_at": "2026-01-01T00:00:00Z",
"is_expired": true,
"has_password": true,
"max_visits": 1,
"counted_visits": 1,
"is_visit_limit_reached": true,
"visits_count": 1,
"unique_visitors_count": 1,
"visits_series": [
1
],
"plan_restriction": {},
"access": {
"is_owner": true,
"can_edit": true,
"can_delete": true,
"can_share": true,
"can_organize": true
},
"folder": {},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
],
"failed": [
{
"index": 1,
"input": "string",
"reason": "empty"
}
]
}
}Get a short link#
GET/short-links/{shortLink}
Required scope: short_links:read
A short link of the token's workspace.
Path parameters
| Field | Type | Description |
|---|---|---|
| shortLinkrequired | string (ulid) | ULID of the short link. |
Responses
200 OK
| Field | Type | Description |
|---|---|---|
| datarequired | object | Short link. The code and the destination are immutable after creation. |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data.idrequired | string (ulid) | |
| data.titlerequired | string | null | |
| data.urlrequired | string (uri) | |
| data.open_in_apprequired | boolean | Opens the destination in its native app when its host is known. |
| data.shortrequired | string | null | Short code. |
| data.domainrequired | oneOf | |
| data.short_urlrequired | string | null | |
| data.publish_atrequired | string (date-time) | null | |
| data.is_scheduledrequired | boolean | |
| data.expires_atrequired | string (date-time) | null | |
| data.is_expiredrequired | boolean | |
| data.has_passwordrequired | boolean | |
| data.max_visitsrequired | integer | null | |
| data.counted_visitsrequired | integer | Visits since the limit was enabled or reset (≠ |
| data.is_visit_limit_reachedrequired | boolean | |
| data.visits_countrequired | integer | All-time visits; 0 right after creation. |
| data.unique_visitors_countrequired | integer | |
| data.visits_seriesoptional | array | List ( |
| data.visits_series[]required | integer | |
| data.plan_restrictionrequired | oneOf | |
| data.accessrequired | object | Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders. |
| data.access.is_ownerrequired | boolean |
|
| data.access.can_editrequired | boolean | |
| data.access.can_deleterequired | boolean | |
| data.access.can_sharerequired | boolean | |
| data.access.can_organizerequired | boolean | |
| data.folderrequired | oneOf | |
| data.created_atrequired | string (date-time) | |
| data.updated_atrequired | string (date-time) |
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/short-links/$SHORT_LINK" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Response example
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"title": "string",
"url": "https://example.com/promo",
"open_in_app": true,
"short": "Ab3xK9zQ",
"domain": {
"id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
"hostname": "go.client.com"
},
"short_url": "https://hyllo.fr/Ab3xK9zQ",
"publish_at": "2026-01-01T00:00:00Z",
"is_scheduled": true,
"expires_at": "2026-01-01T00:00:00Z",
"is_expired": true,
"has_password": true,
"max_visits": 1,
"counted_visits": 1,
"is_visit_limit_reached": true,
"visits_count": 1,
"unique_visitors_count": 1,
"visits_series": [
1
],
"plan_restriction": {
"state": "restricted",
"since": "2026-01-01T00:00:00Z",
"deletes_at": "2026-01-01T00:00:00Z"
},
"access": {
"is_owner": true,
"can_edit": true,
"can_delete": true,
"can_share": true,
"can_organize": true
},
"folder": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "string"
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
}Update a short link#
PATCH/short-links/{shortLink}
Required scope: short_links:write
Updates a short link. The destination (url) and the code cannot be changed: sending url returns 422. A resource that became read-only after a downgrade returns 402 plan_restricted.
Path parameters
| Field | Type | Description |
|---|---|---|
| shortLinkrequired | string (ulid) | ULID of the short link. |
Request body
| Field | Type | Description |
|---|---|---|
| titleoptional | string | null | |
| open_in_appoptional | boolean | Opens the destination in its native app when its host is known. Requires |
| folder_idoptional | any | Rejected: folders do not exist in the public API. Any occurrence of this field (even |
| publish_atoptional | string (date-time) | null | Publication start: future date, before |
| expires_atoptional | string (date-time) | null | Expiration: future date; |
| passwordoptional | string | null | Redirect password (stored hashed, never returned). Requires |
| max_visitsoptional | integer | null | Visit limit; beyond it the redirect returns 404. Requires |
| reset_counted_visitsoptional | boolean | Resets |
Responses
200 Short link updated
| Field | Type | Description |
|---|---|---|
| datarequired | object | Short link. The code and the destination are immutable after creation. |
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| data.idrequired | string (ulid) | |
| data.titlerequired | string | null | |
| data.urlrequired | string (uri) | |
| data.open_in_apprequired | boolean | Opens the destination in its native app when its host is known. |
| data.shortrequired | string | null | Short code. |
| data.domainrequired | oneOf | |
| data.short_urlrequired | string | null | |
| data.publish_atrequired | string (date-time) | null | |
| data.is_scheduledrequired | boolean | |
| data.expires_atrequired | string (date-time) | null | |
| data.is_expiredrequired | boolean | |
| data.has_passwordrequired | boolean | |
| data.max_visitsrequired | integer | null | |
| data.counted_visitsrequired | integer | Visits since the limit was enabled or reset (≠ |
| data.is_visit_limit_reachedrequired | boolean | |
| data.visits_countrequired | integer | All-time visits; 0 right after creation. |
| data.unique_visitors_countrequired | integer | |
| data.visits_seriesoptional | array | List ( |
| data.visits_series[]required | integer | |
| data.plan_restrictionrequired | oneOf | |
| data.accessrequired | object | Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders. |
| data.access.is_ownerrequired | boolean |
|
| data.access.can_editrequired | boolean | |
| data.access.can_deleterequired | boolean | |
| data.access.can_sharerequired | boolean | |
| data.access.can_organizerequired | boolean | |
| data.folderrequired | oneOf | |
| data.created_atrequired | string (date-time) | |
| data.updated_atrequired | string (date-time) |
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/short-links/$SHORT_LINK" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"title":"Nouveau titre"}'Response example
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"title": "string",
"url": "https://example.com/promo",
"open_in_app": true,
"short": "Ab3xK9zQ",
"domain": {
"id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
"hostname": "go.client.com"
},
"short_url": "https://hyllo.fr/Ab3xK9zQ",
"publish_at": "2026-01-01T00:00:00Z",
"is_scheduled": true,
"expires_at": "2026-01-01T00:00:00Z",
"is_expired": true,
"has_password": true,
"max_visits": 1,
"counted_visits": 1,
"is_visit_limit_reached": true,
"visits_count": 1,
"unique_visitors_count": 1,
"visits_series": [
1
],
"plan_restriction": {
"state": "restricted",
"since": "2026-01-01T00:00:00Z",
"deletes_at": "2026-01-01T00:00:00Z"
},
"access": {
"is_owner": true,
"can_edit": true,
"can_delete": true,
"can_share": true,
"can_organize": true
},
"folder": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "string"
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
}Delete a short link#
DELETE/short-links/{shortLink}
Required scope: short_links:write
Deletes the short link (and its short URL).
Path parameters
| Field | Type | Description |
|---|---|---|
| shortLinkrequired | string (ulid) | ULID of the short link. |
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/short-links/$SHORT_LINK" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Schemas
ShortLink
Short link. The code and the destination are immutable after creation.
| Field | Type | Description |
|---|---|---|
| idrequired | string (ulid) | |
| titlerequired | string | null | |
| urlrequired | string (uri) | |
| open_in_apprequired | boolean | Opens the destination in its native app when its host is known. |
| shortrequired | string | null | Short code. |
| domainrequired | oneOf | |
| short_urlrequired | string | null | |
| publish_atrequired | string (date-time) | null | |
| is_scheduledrequired | boolean | |
| expires_atrequired | string (date-time) | null | |
| is_expiredrequired | boolean | |
| has_passwordrequired | boolean | |
| max_visitsrequired | integer | null | |
| counted_visitsrequired | integer | Visits since the limit was enabled or reset (≠ |
| is_visit_limit_reachedrequired | boolean | |
| visits_countrequired | integer | All-time visits; 0 right after creation. |
| unique_visitors_countrequired | integer | |
| visits_seriesoptional | array | List ( |
| plan_restrictionrequired | oneOf | |
| accessrequired | object | Rights of the token's creator on the resource, depending on their role in the workspace. The public API exposes neither sharing nor filing into folders. |
| folderrequired | oneOf | |
| created_atrequired | string (date-time) | |
| updated_atrequired | string (date-time) |
Variant #1
Custom domain on which the short URL is served, chosen at creation and never changed. null: Hyllo's domain.
| Field | Type | Description |
|---|---|---|
| idrequired | string (ulid) | |
| hostnamerequired | string |
Variant #2
Variant #1
Resource read-only or blocked after a plan downgrade; null otherwise. Any modification then returns 402 plan_restricted.
| Field | Type | Description |
|---|---|---|
| stateoptional | string | Values: |
| sinceoptional | string (date-time) | |
| deletes_atoptional | string (date-time) | null | Planned deletion; set once the resource is blocked. |
Variant #2
Variant #1
Folder the resource was created in; null: at the root. Folders are not managed by the public API: the field is read-only.
| Field | Type | Description |
|---|---|---|
| idrequired | string (ulid) | |
| namerequired | string |
Variant #2
Nested fields and variants
| Field | Type | Description |
|---|---|---|
| visits_series[]required | integer | |
| access.is_ownerrequired | boolean |
|
| access.can_editrequired | boolean | |
| access.can_deleterequired | boolean | |
| access.can_sharerequired | boolean | |
| access.can_organizerequired | boolean |
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 |
ShortLinkBulkFailure
| Field | Type | Description |
|---|---|---|
| indexoptional | integer | Position of the line in |
| inputoptional | string | null | Line as received. |
| reasonoptional | string | Values: |
