Menu de la documentation
Pages de liens
Gérer les pages de liens, leurs liens et leurs traductions.
Lister les link pages#
GET/link-pages
Portée requise : link_pages:read
Link pages de l'espace du jeton, paginées, avec leurs liens. visits_count et visits_series n'existent qu'en liste.
Paramètres de requête
| Champ | Type | Description |
|---|---|---|
| pagefacultatif | integer | Par défaut : |
| per_pagefacultatif | integer | Par défaut : |
| searchfacultatif | string | Recherche textuelle (3 caractères au moins). |
| sortfacultatif | string |
Valeurs : Par défaut : |
| domainfacultatif | string |
|
| statusfacultatif | string | Valeurs : |
| folderfacultatif | string | Refusé : les dossiers n'existent pas dans l'API publique. Toute présence de ce paramètre répond 422 |
| languagefacultatif | string | Langue par défaut de la page, ou l'une de ses langues ajoutées. |
Réponses
200 OK
| Champ | Type | Description |
|---|---|---|
| dataobligatoire | array | |
| linksobligatoire | object | URL des pages voisines ( |
| metaobligatoire | object |
Champs imbriqués et variantes
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| data[]obligatoire | object | Link page. Le mot de passe de la page n'est jamais renvoyé. | ||||||||
| data[].idobligatoire | string (ulid) | |||||||||
| data[].shortobligatoire | string | null | Code de la page. | ||||||||
| data[].domainobligatoire | oneOf | |||||||||
| data[].titleobligatoire | string | |||||||||
| data[].descriptionobligatoire | string |
| ||||||||
| data[].metaobligatoire | object | Métadonnées SEO. Les modifier demande | ||||||||
| data[].meta.titlefacultatif | string | null | |||||||||
| data[].meta.descriptionfacultatif | string | null | |||||||||
| data[].avatarobligatoire | object | Avatar de la page. Défaut renvoyé : | ||||||||
| data[].avatar.typefacultatif | string | Valeurs : | ||||||||
| data[].avatar.imagefacultatif | string | null | |||||||||
| data[].avatar.iconfacultatif | string | null | |||||||||
| data[].linksobligatoire | array | Liens de la page, triés par position. | ||||||||
| data[].links[]obligatoire | object | Lien d'une link page. Le type | ||||||||
| data[].links[].idobligatoire | string (ulid) | |||||||||
| data[].links[].typeobligatoire | string | Valeurs : | ||||||||
| data[].links[].titleobligatoire | string |
| ||||||||
| data[].links[].dataobligatoire | object | Charge utile selon | ||||||||
| data[].links[].positionobligatoire | integer | |||||||||
| data[].links[].is_activeobligatoire | boolean | |||||||||
| data[].links[].publish_atobligatoire | string (date-time) | null | |||||||||
| data[].links[].expire_atobligatoire | string (date-time) | null | |||||||||
| data[].links[].has_passwordobligatoire | boolean | |||||||||
| data[].links[].thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| data[].links[].thumbnail.typefacultatif | string | Valeurs : | ||||||||
| data[].links[].thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. | ||||||||
| data[].links[].thumbnail.iconfacultatif | string | null | |||||||||
| data[].links[].thumbnail.stylefacultatif | string | Valeurs : | ||||||||
| data[].links[].highlightobligatoire | object | Mise en avant du lien. | ||||||||
| data[].links[].highlight.animationfacultatif | string | Valeurs : | ||||||||
| data[].links[].highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. | ||||||||
| data[].links[].translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| data[].links[].translations.*facultatif | object | |||||||||
| data[].links[].translations.*.titlefacultatif | string | |||||||||
| data[].links[].translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans | ||||||||
| data[].links[].translations.*.data.textfacultatif | string | Lien | ||||||||
| data[].links[].translations.*.data.summaryfacultatif | string | Lien | ||||||||
| data[].links[].translations.*.data.descriptionfacultatif | string | Lien | ||||||||
| data[].links[].translations.*.data.subjectfacultatif | string | Lien | ||||||||
| data[].links[].translations.*.data.messagefacultatif | string | Lien | ||||||||
| data[].links[].created_atobligatoire | string (date-time) | |||||||||
| data[].links[].updated_atobligatoire | string (date-time) | |||||||||
| data[].socialLinksobligatoire | array | null | |||||||||
| data[].socialLinks[]obligatoire | object | |||||||||
| data[].socialLinks[].typeobligatoire | string | Valeurs : | ||||||||
| data[].socialLinks[].urlobligatoire | string | null | |||||||||
| data[].socialLinks[].positionobligatoire | integer | |||||||||
| data[].themeobligatoire | object | Thème de la page : les sections | ||||||||
| data[].theme.keyfacultatif | string | null | |||||||||
| data[].theme.colorsThemefacultatif | string | Valeurs : | ||||||||
| data[].theme.backgroundfacultatif | object | |||||||||
| data[].theme.buttonsfacultatif | object | |||||||||
| data[].theme.avatarfacultatif | object | |||||||||
| data[].theme.headingfacultatif | object | |||||||||
| data[].theme.footerfacultatif | object | |||||||||
| data[].hasPagePasswordobligatoire | boolean | |||||||||
| data[].hasPageLockTypeobligatoire | string | null | Valeur enregistrée, en lecture seule dans l'API publique. | ||||||||
| data[].shouldNoIndexobligatoire | boolean | |||||||||
| data[].isSensitiveobligatoire | boolean | |||||||||
| data[].localeobligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : | ||||||||
| data[].languagesobligatoire | array | Langues ajoutées, sans la langue par défaut ; | ||||||||
| data[].languages[]obligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : | ||||||||
| data[].translationsobligatoire | object | Traductions d'une link page, indexées par langue ajoutée ( Normalisation silencieuse à l'enregistrement : chaînes réduites par | ||||||||
| data[].translations.*facultatif | object | |||||||||
| data[].translations.*.titlefacultatif | string | |||||||||
| data[].translations.*.descriptionfacultatif | string | Bio traduite | ||||||||
| data[].translations.*.metafacultatif | object | |||||||||
| data[].translations.*.meta.titlefacultatif | string | |||||||||
| data[].translations.*.meta.descriptionfacultatif | string | |||||||||
| data[].isLogoVisibleobligatoire | boolean | |||||||||
| data[].isActiveobligatoire | boolean | |||||||||
| data[].publishAtobligatoire | string (date-time) | null | |||||||||
| data[].isScheduledobligatoire | boolean | |||||||||
| data[].expiresAtobligatoire | string (date-time) | null | |||||||||
| data[].isExpiredobligatoire | boolean | |||||||||
| data[].plan_restrictionobligatoire | oneOf | |||||||||
| data[].accessobligatoire | object | Droits du créateur du jeton sur la ressource, selon son rôle dans l'espace. L'API publique n'expose ni le partage ni le rangement en dossier. | ||||||||
| data[].access.is_ownerobligatoire | boolean |
| ||||||||
| data[].access.can_editobligatoire | boolean | |||||||||
| data[].access.can_deleteobligatoire | boolean | |||||||||
| data[].access.can_shareobligatoire | boolean | |||||||||
| data[].access.can_organizeobligatoire | boolean | |||||||||
| data[].folderobligatoire | oneOf | |||||||||
| data[].short_urlobligatoire | string | null | |||||||||
| data[].visits_countfacultatif | integer | Liste ( | ||||||||
| data[].visits_seriesfacultatif | array | Liste seulement : visites par jour sur 30 jours, la plus ancienne d'abord. Absent des autres réponses. | ||||||||
| data[].visits_series[]obligatoire | integer | |||||||||
| data[].created_atobligatoire | string (date-time) | |||||||||
| data[].updated_atobligatoire | string (date-time) | |||||||||
| links.firstobligatoire | string | null | |||||||||
| links.lastobligatoire | string | null | |||||||||
| links.prevobligatoire | string | null | |||||||||
| links.nextobligatoire | string | null | |||||||||
| meta.current_pageobligatoire | integer | |||||||||
| meta.fromfacultatif | integer | null | |||||||||
| meta.last_pageobligatoire | integer | |||||||||
| meta.linksfacultatif | array | Liens de navigation. | ||||||||
| meta.links[]obligatoire | object | |||||||||
| meta.links[].urlfacultatif | string | null | |||||||||
| meta.links[].labelfacultatif | string | |||||||||
| meta.links[].activefacultatif | boolean | |||||||||
| meta.pathfacultatif | string | |||||||||
| meta.per_pageobligatoire | integer | |||||||||
| meta.tofacultatif | integer | null | |||||||||
| meta.totalobligatoire | integer |
Erreurs Tous les codes
401Jeton absent, inconnu, expiré ou révoqué (
code: invalid_token). Aussi renvoyé quand le créateur du jeton a quitté l'espace. Les refus sont comptés par IP (30 par minute) : au-delà, 429.402L'offre de l'espace n'inclut pas l'accès à l'API (
feature: api.access), ou le droit d'offre demandé manque ou son quota est atteint :plan_required,quota_reachedouplan_restricted(ressource en lecture seule après une rétrogradation).403Scope manquant (
code: insufficient_scope, avecrequired_scope), ou action refusée par le rôle du créateur du jeton dans l'espace (lecteur, membre invité sous Business : lecture seule).422Validation échouée (
errorspar champ). Cas particuliers :code: field_not_availablepour un champ qui n'existe pas dans l'API publique (folderId,folder_id,organization,folder) ;code: idempotency_key_mismatchpour uneIdempotency-Keyréutilisée avec une requête différente (pas deerrors).429Plafond atteint (
code: rate_limited) : par jeton, pour tous les jetons de l'espace ensemble, ou limite propre à une route (export de QR code,POST /webhooks,PATCH /webhooks/{webhook}avecurl,POST /webhooks/{webhook}/test,…/resend). AttendreRetry-Aftersecondes. Les en-têtesX-RateLimit-*sont présents ;X-RateLimit-Resetsuit le limiteur dontX-RateLimit-Remainingest le plus bas.
curl -sS "https://api.hyllo.fr/api/public/v1/link-pages" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Exemple de réponse
{
"data": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"short": "chez-marie",
"domain": {
"id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
"hostname": "go.client.com"
},
"title": "string",
"description": "string",
"meta": {
"title": "string",
"description": "string"
},
"avatar": {
"type": "image",
"image": "string",
"icon": "string"
},
"links": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "url",
"title": "string",
"data": {},
"position": 1,
"is_active": true,
"publish_at": "2026-01-01T00:00:00Z",
"expire_at": "2026-01-01T00:00:00Z",
"has_password": true,
"thumbnail": {},
"highlight": {},
"translations": {
"en": {
"title": "Write to us",
"data": {
"subject": "Hello",
"message": "Hi Marie,"
}
}
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
],
"socialLinks": [
{
"type": "x",
"url": "string",
"position": 0
}
],
"theme": {
"key": "string",
"colorsTheme": "light",
"background": {},
"buttons": {},
"avatar": {},
"heading": {},
"footer": {}
},
"hasPagePassword": true,
"hasPageLockType": "string",
"shouldNoIndex": true,
"isSensitive": true,
"locale": "fr",
"languages": [
"fr"
],
"translations": {
"en": {
"title": "Marie's place",
"description": "Bistro in Lyon",
"meta": {
"title": "Marie's place in Lyon",
"description": "Book a table"
}
},
"de": {
"title": "Bei Marie"
}
},
"isLogoVisible": true,
"isActive": true,
"publishAt": "2026-01-01T00:00:00Z",
"isScheduled": true,
"expiresAt": "2026-01-01T00:00:00Z",
"isExpired": true,
"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"
},
"short_url": "https://hyllo.fr/chez-marie",
"visits_count": 1,
"visits_series": [
1
],
"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
}
}Créer une link page#
POST/link-pages
Portée requise : link_pages:writeAccepte Idempotency-Key
Crée une link page (sans lien : ils s'ajoutent par POST /link-pages/{linkPage}/links). folderId répond 422 field_not_available. Les langues ajoutées et les traductions se règlent à la modification.
402 : quota_reached (link_pages.count), plan_required pour un code choisi, un domaine, le SEO, un thème avancé, le masquage du badge ou une protection.
Corps de la requête
| Champ | Type | Description |
|---|---|---|
| titleobligatoire | string | |
| descriptionfacultatif | string | null | |
| localeobligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : |
| isLogoVisibleobligatoire | boolean |
|
| shouldNoIndexobligatoire | boolean |
|
| isSensitivefacultatif | boolean | |
| isActivefacultatif | boolean | |
| publishAtfacultatif | string (date-time) | null | Date future. Requiert |
| expiresAtfacultatif | string (date-time) | null | Date future, après |
| hasPagePasswordobligatoire | boolean | |
| pagePasswordfacultatif | string | null | Requis quand |
| metaobligatoire | object | Métadonnées SEO. Les modifier demande |
| avatarobligatoire | object | Avatar de la page. Défaut renvoyé : |
| socialLinksobligatoire | array | |
| themeobligatoire | object | Thème de la page : les sections |
| domainIdfacultatif | string (ulid) | null | Domaine personnalisé actif de l'espace ; requiert |
| shortfacultatif | string | null | Code personnalisé unique sur le domaine ; requiert |
Champs imbriqués et variantes
| Champ | Type | Description |
|---|---|---|
| meta.titlefacultatif | string | null | |
| meta.descriptionfacultatif | string | null | |
| avatar.typefacultatif | string | Valeurs : |
| avatar.imagefacultatif | string | null | |
| avatar.iconfacultatif | string | null | |
| socialLinks[]obligatoire | object | |
| socialLinks[].typeobligatoire | string | Valeurs : |
| socialLinks[].urlobligatoire | string | null | |
| socialLinks[].positionobligatoire | integer | |
| theme.keyfacultatif | string | null | |
| theme.colorsThemefacultatif | string | Valeurs : |
| theme.backgroundfacultatif | object | |
| theme.buttonsfacultatif | object | |
| theme.avatarfacultatif | object | |
| theme.headingfacultatif | object | |
| theme.footerfacultatif | object |
Réponses
201 Link page créée
| Champ | Type | Description |
|---|---|---|
| dataobligatoire | object | Link page. Le mot de passe de la page n'est jamais renvoyé. |
Champs imbriqués et variantes
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| data.idobligatoire | string (ulid) | |||||||||
| data.shortobligatoire | string | null | Code de la page. | ||||||||
| data.domainobligatoire | oneOf | |||||||||
| data.titleobligatoire | string | |||||||||
| data.descriptionobligatoire | string |
| ||||||||
| data.metaobligatoire | object | Métadonnées SEO. Les modifier demande | ||||||||
| data.meta.titlefacultatif | string | null | |||||||||
| data.meta.descriptionfacultatif | string | null | |||||||||
| data.avatarobligatoire | object | Avatar de la page. Défaut renvoyé : | ||||||||
| data.avatar.typefacultatif | string | Valeurs : | ||||||||
| data.avatar.imagefacultatif | string | null | |||||||||
| data.avatar.iconfacultatif | string | null | |||||||||
| data.linksobligatoire | array | Liens de la page, triés par position. | ||||||||
| data.links[]obligatoire | object | Lien d'une link page. Le type | ||||||||
| data.links[].idobligatoire | string (ulid) | |||||||||
| data.links[].typeobligatoire | string | Valeurs : | ||||||||
| data.links[].titleobligatoire | string |
| ||||||||
| data.links[].dataobligatoire | object | Charge utile selon | ||||||||
| data.links[].positionobligatoire | integer | |||||||||
| data.links[].is_activeobligatoire | boolean | |||||||||
| data.links[].publish_atobligatoire | string (date-time) | null | |||||||||
| data.links[].expire_atobligatoire | string (date-time) | null | |||||||||
| data.links[].has_passwordobligatoire | boolean | |||||||||
| data.links[].thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| data.links[].thumbnail.typefacultatif | string | Valeurs : | ||||||||
| data.links[].thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. | ||||||||
| data.links[].thumbnail.iconfacultatif | string | null | |||||||||
| data.links[].thumbnail.stylefacultatif | string | Valeurs : | ||||||||
| data.links[].highlightobligatoire | object | Mise en avant du lien. | ||||||||
| data.links[].highlight.animationfacultatif | string | Valeurs : | ||||||||
| data.links[].highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. | ||||||||
| data.links[].translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| data.links[].translations.*facultatif | object | |||||||||
| data.links[].translations.*.titlefacultatif | string | |||||||||
| data.links[].translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans | ||||||||
| data.links[].translations.*.data.textfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.summaryfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.descriptionfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.subjectfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.messagefacultatif | string | Lien | ||||||||
| data.links[].created_atobligatoire | string (date-time) | |||||||||
| data.links[].updated_atobligatoire | string (date-time) | |||||||||
| data.socialLinksobligatoire | array | null | |||||||||
| data.socialLinks[]obligatoire | object | |||||||||
| data.socialLinks[].typeobligatoire | string | Valeurs : | ||||||||
| data.socialLinks[].urlobligatoire | string | null | |||||||||
| data.socialLinks[].positionobligatoire | integer | |||||||||
| data.themeobligatoire | object | Thème de la page : les sections | ||||||||
| data.theme.keyfacultatif | string | null | |||||||||
| data.theme.colorsThemefacultatif | string | Valeurs : | ||||||||
| data.theme.backgroundfacultatif | object | |||||||||
| data.theme.buttonsfacultatif | object | |||||||||
| data.theme.avatarfacultatif | object | |||||||||
| data.theme.headingfacultatif | object | |||||||||
| data.theme.footerfacultatif | object | |||||||||
| data.hasPagePasswordobligatoire | boolean | |||||||||
| data.hasPageLockTypeobligatoire | string | null | Valeur enregistrée, en lecture seule dans l'API publique. | ||||||||
| data.shouldNoIndexobligatoire | boolean | |||||||||
| data.isSensitiveobligatoire | boolean | |||||||||
| data.localeobligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : | ||||||||
| data.languagesobligatoire | array | Langues ajoutées, sans la langue par défaut ; | ||||||||
| data.languages[]obligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : | ||||||||
| data.translationsobligatoire | object | Traductions d'une link page, indexées par langue ajoutée ( Normalisation silencieuse à l'enregistrement : chaînes réduites par | ||||||||
| data.translations.*facultatif | object | |||||||||
| data.translations.*.titlefacultatif | string | |||||||||
| data.translations.*.descriptionfacultatif | string | Bio traduite | ||||||||
| data.translations.*.metafacultatif | object | |||||||||
| data.translations.*.meta.titlefacultatif | string | |||||||||
| data.translations.*.meta.descriptionfacultatif | string | |||||||||
| data.isLogoVisibleobligatoire | boolean | |||||||||
| data.isActiveobligatoire | boolean | |||||||||
| data.publishAtobligatoire | string (date-time) | null | |||||||||
| data.isScheduledobligatoire | boolean | |||||||||
| data.expiresAtobligatoire | string (date-time) | null | |||||||||
| data.isExpiredobligatoire | boolean | |||||||||
| data.plan_restrictionobligatoire | oneOf | |||||||||
| data.accessobligatoire | object | Droits du créateur du jeton sur la ressource, selon son rôle dans l'espace. L'API publique n'expose ni le partage ni le rangement en dossier. | ||||||||
| data.access.is_ownerobligatoire | boolean |
| ||||||||
| data.access.can_editobligatoire | boolean | |||||||||
| data.access.can_deleteobligatoire | boolean | |||||||||
| data.access.can_shareobligatoire | boolean | |||||||||
| data.access.can_organizeobligatoire | boolean | |||||||||
| data.folderobligatoire | oneOf | |||||||||
| data.short_urlobligatoire | string | null | |||||||||
| data.visits_countfacultatif | integer | Liste ( | ||||||||
| data.visits_seriesfacultatif | array | Liste seulement : visites par jour sur 30 jours, la plus ancienne d'abord. Absent des autres réponses. | ||||||||
| data.visits_series[]obligatoire | integer | |||||||||
| data.created_atobligatoire | string (date-time) | |||||||||
| data.updated_atobligatoire | string (date-time) |
Erreurs Tous les codes
401Jeton absent, inconnu, expiré ou révoqué (
code: invalid_token). Aussi renvoyé quand le créateur du jeton a quitté l'espace. Les refus sont comptés par IP (30 par minute) : au-delà, 429.402L'offre de l'espace n'inclut pas l'accès à l'API (
feature: api.access), ou le droit d'offre demandé manque ou son quota est atteint :plan_required,quota_reachedouplan_restricted(ressource en lecture seule après une rétrogradation).403Scope manquant (
code: insufficient_scope, avecrequired_scope), ou action refusée par le rôle du créateur du jeton dans l'espace (lecteur, membre invité sous Business : lecture seule).409idempotency_in_progress: une requête portant la mêmeIdempotency-Keyest encore en cours.422Validation échouée (
errorspar champ). Cas particuliers :code: field_not_availablepour un champ qui n'existe pas dans l'API publique (folderId,folder_id,organization,folder) ;code: idempotency_key_mismatchpour uneIdempotency-Keyréutilisée avec une requête différente (pas deerrors).429Plafond atteint (
code: rate_limited) : par jeton, pour tous les jetons de l'espace ensemble, ou limite propre à une route (export de QR code,POST /webhooks,PATCH /webhooks/{webhook}avecurl,POST /webhooks/{webhook}/test,…/resend). AttendreRetry-Aftersecondes. Les en-têtesX-RateLimit-*sont présents ;X-RateLimit-Resetsuit le limiteur dontX-RateLimit-Remainingest le plus bas.
curl -sS -X POST "https://api.hyllo.fr/api/public/v1/link-pages" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"title":"Chez Marie","locale":"fr","isLogoVisible":true,"shouldNoIndex":false,"hasPagePassword":false,"meta":{"title":null,"description":null},"avatar":{"type":"icon","icon":null},"socialLinks":[],"theme":{"colorsTheme":"light"}}'Exemple de réponse
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"short": "chez-marie",
"domain": {
"id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
"hostname": "go.client.com"
},
"title": "string",
"description": "string",
"meta": {
"title": "string",
"description": "string"
},
"avatar": {
"type": "image",
"image": "string",
"icon": "string"
},
"links": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "url",
"title": "string",
"data": {},
"position": 1,
"is_active": true,
"publish_at": "2026-01-01T00:00:00Z",
"expire_at": "2026-01-01T00:00:00Z",
"has_password": true,
"thumbnail": {
"type": "image",
"image": "string",
"icon": "string",
"style": "style-1"
},
"highlight": {
"animation": "none",
"pinned": true
},
"translations": {
"en": {
"title": "Write to us",
"data": {
"subject": "Hello",
"message": "Hi Marie,"
}
}
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
],
"socialLinks": [
{
"type": "x",
"url": "string",
"position": 0
}
],
"theme": {
"key": "string",
"colorsTheme": "light",
"background": {},
"buttons": {},
"avatar": {},
"heading": {},
"footer": {}
},
"hasPagePassword": true,
"hasPageLockType": "string",
"shouldNoIndex": true,
"isSensitive": true,
"locale": "fr",
"languages": [
"fr"
],
"translations": {
"en": {
"title": "Marie's place",
"description": "Bistro in Lyon",
"meta": {
"title": "Marie's place in Lyon",
"description": "Book a table"
}
},
"de": {
"title": "Bei Marie"
}
},
"isLogoVisible": true,
"isActive": true,
"publishAt": "2026-01-01T00:00:00Z",
"isScheduled": true,
"expiresAt": "2026-01-01T00:00:00Z",
"isExpired": true,
"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"
},
"short_url": "https://hyllo.fr/chez-marie",
"visits_count": 1,
"visits_series": [
1
],
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
}Lire une link page#
GET/link-pages/{linkPage}
Portée requise : link_pages:read
Une link page de l'espace du jeton, avec ses liens.
Paramètres d'adresse
| Champ | Type | Description |
|---|---|---|
| linkPageobligatoire | string (ulid) | ULID de la link page. |
Réponses
200 OK
| Champ | Type | Description |
|---|---|---|
| dataobligatoire | object | Link page. Le mot de passe de la page n'est jamais renvoyé. |
Champs imbriqués et variantes
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| data.idobligatoire | string (ulid) | |||||||||
| data.shortobligatoire | string | null | Code de la page. | ||||||||
| data.domainobligatoire | oneOf | |||||||||
| data.titleobligatoire | string | |||||||||
| data.descriptionobligatoire | string |
| ||||||||
| data.metaobligatoire | object | Métadonnées SEO. Les modifier demande | ||||||||
| data.meta.titlefacultatif | string | null | |||||||||
| data.meta.descriptionfacultatif | string | null | |||||||||
| data.avatarobligatoire | object | Avatar de la page. Défaut renvoyé : | ||||||||
| data.avatar.typefacultatif | string | Valeurs : | ||||||||
| data.avatar.imagefacultatif | string | null | |||||||||
| data.avatar.iconfacultatif | string | null | |||||||||
| data.linksobligatoire | array | Liens de la page, triés par position. | ||||||||
| data.links[]obligatoire | object | Lien d'une link page. Le type | ||||||||
| data.links[].idobligatoire | string (ulid) | |||||||||
| data.links[].typeobligatoire | string | Valeurs : | ||||||||
| data.links[].titleobligatoire | string |
| ||||||||
| data.links[].dataobligatoire | object | Charge utile selon | ||||||||
| data.links[].positionobligatoire | integer | |||||||||
| data.links[].is_activeobligatoire | boolean | |||||||||
| data.links[].publish_atobligatoire | string (date-time) | null | |||||||||
| data.links[].expire_atobligatoire | string (date-time) | null | |||||||||
| data.links[].has_passwordobligatoire | boolean | |||||||||
| data.links[].thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| data.links[].thumbnail.typefacultatif | string | Valeurs : | ||||||||
| data.links[].thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. | ||||||||
| data.links[].thumbnail.iconfacultatif | string | null | |||||||||
| data.links[].thumbnail.stylefacultatif | string | Valeurs : | ||||||||
| data.links[].highlightobligatoire | object | Mise en avant du lien. | ||||||||
| data.links[].highlight.animationfacultatif | string | Valeurs : | ||||||||
| data.links[].highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. | ||||||||
| data.links[].translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| data.links[].translations.*facultatif | object | |||||||||
| data.links[].translations.*.titlefacultatif | string | |||||||||
| data.links[].translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans | ||||||||
| data.links[].translations.*.data.textfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.summaryfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.descriptionfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.subjectfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.messagefacultatif | string | Lien | ||||||||
| data.links[].created_atobligatoire | string (date-time) | |||||||||
| data.links[].updated_atobligatoire | string (date-time) | |||||||||
| data.socialLinksobligatoire | array | null | |||||||||
| data.socialLinks[]obligatoire | object | |||||||||
| data.socialLinks[].typeobligatoire | string | Valeurs : | ||||||||
| data.socialLinks[].urlobligatoire | string | null | |||||||||
| data.socialLinks[].positionobligatoire | integer | |||||||||
| data.themeobligatoire | object | Thème de la page : les sections | ||||||||
| data.theme.keyfacultatif | string | null | |||||||||
| data.theme.colorsThemefacultatif | string | Valeurs : | ||||||||
| data.theme.backgroundfacultatif | object | |||||||||
| data.theme.buttonsfacultatif | object | |||||||||
| data.theme.avatarfacultatif | object | |||||||||
| data.theme.headingfacultatif | object | |||||||||
| data.theme.footerfacultatif | object | |||||||||
| data.hasPagePasswordobligatoire | boolean | |||||||||
| data.hasPageLockTypeobligatoire | string | null | Valeur enregistrée, en lecture seule dans l'API publique. | ||||||||
| data.shouldNoIndexobligatoire | boolean | |||||||||
| data.isSensitiveobligatoire | boolean | |||||||||
| data.localeobligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : | ||||||||
| data.languagesobligatoire | array | Langues ajoutées, sans la langue par défaut ; | ||||||||
| data.languages[]obligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : | ||||||||
| data.translationsobligatoire | object | Traductions d'une link page, indexées par langue ajoutée ( Normalisation silencieuse à l'enregistrement : chaînes réduites par | ||||||||
| data.translations.*facultatif | object | |||||||||
| data.translations.*.titlefacultatif | string | |||||||||
| data.translations.*.descriptionfacultatif | string | Bio traduite | ||||||||
| data.translations.*.metafacultatif | object | |||||||||
| data.translations.*.meta.titlefacultatif | string | |||||||||
| data.translations.*.meta.descriptionfacultatif | string | |||||||||
| data.isLogoVisibleobligatoire | boolean | |||||||||
| data.isActiveobligatoire | boolean | |||||||||
| data.publishAtobligatoire | string (date-time) | null | |||||||||
| data.isScheduledobligatoire | boolean | |||||||||
| data.expiresAtobligatoire | string (date-time) | null | |||||||||
| data.isExpiredobligatoire | boolean | |||||||||
| data.plan_restrictionobligatoire | oneOf | |||||||||
| data.accessobligatoire | object | Droits du créateur du jeton sur la ressource, selon son rôle dans l'espace. L'API publique n'expose ni le partage ni le rangement en dossier. | ||||||||
| data.access.is_ownerobligatoire | boolean |
| ||||||||
| data.access.can_editobligatoire | boolean | |||||||||
| data.access.can_deleteobligatoire | boolean | |||||||||
| data.access.can_shareobligatoire | boolean | |||||||||
| data.access.can_organizeobligatoire | boolean | |||||||||
| data.folderobligatoire | oneOf | |||||||||
| data.short_urlobligatoire | string | null | |||||||||
| data.visits_countfacultatif | integer | Liste ( | ||||||||
| data.visits_seriesfacultatif | array | Liste seulement : visites par jour sur 30 jours, la plus ancienne d'abord. Absent des autres réponses. | ||||||||
| data.visits_series[]obligatoire | integer | |||||||||
| data.created_atobligatoire | string (date-time) | |||||||||
| data.updated_atobligatoire | string (date-time) |
Erreurs Tous les codes
401Jeton absent, inconnu, expiré ou révoqué (
code: invalid_token). Aussi renvoyé quand le créateur du jeton a quitté l'espace. Les refus sont comptés par IP (30 par minute) : au-delà, 429.402L'offre de l'espace n'inclut pas l'accès à l'API (
feature: api.access), ou le droit d'offre demandé manque ou son quota est atteint :plan_required,quota_reachedouplan_restricted(ressource en lecture seule après une rétrogradation).403Scope manquant (
code: insufficient_scope, avecrequired_scope), ou action refusée par le rôle du créateur du jeton dans l'espace (lecteur, membre invité sous Business : lecture seule).404Ressource inconnue, ou appartenant à un autre espace que celui du jeton (jamais de 403 : l'existence n'est pas révélée).
429Plafond atteint (
code: rate_limited) : par jeton, pour tous les jetons de l'espace ensemble, ou limite propre à une route (export de QR code,POST /webhooks,PATCH /webhooks/{webhook}avecurl,POST /webhooks/{webhook}/test,…/resend). AttendreRetry-Aftersecondes. Les en-têtesX-RateLimit-*sont présents ;X-RateLimit-Resetsuit le limiteur dontX-RateLimit-Remainingest le plus bas.
curl -sS "https://api.hyllo.fr/api/public/v1/link-pages/$LINK_PAGE" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Exemple de réponse
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"short": "chez-marie",
"domain": {
"id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
"hostname": "go.client.com"
},
"title": "string",
"description": "string",
"meta": {
"title": "string",
"description": "string"
},
"avatar": {
"type": "image",
"image": "string",
"icon": "string"
},
"links": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "url",
"title": "string",
"data": {},
"position": 1,
"is_active": true,
"publish_at": "2026-01-01T00:00:00Z",
"expire_at": "2026-01-01T00:00:00Z",
"has_password": true,
"thumbnail": {
"type": "image",
"image": "string",
"icon": "string",
"style": "style-1"
},
"highlight": {
"animation": "none",
"pinned": true
},
"translations": {
"en": {
"title": "Write to us",
"data": {
"subject": "Hello",
"message": "Hi Marie,"
}
}
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
],
"socialLinks": [
{
"type": "x",
"url": "string",
"position": 0
}
],
"theme": {
"key": "string",
"colorsTheme": "light",
"background": {},
"buttons": {},
"avatar": {},
"heading": {},
"footer": {}
},
"hasPagePassword": true,
"hasPageLockType": "string",
"shouldNoIndex": true,
"isSensitive": true,
"locale": "fr",
"languages": [
"fr"
],
"translations": {
"en": {
"title": "Marie's place",
"description": "Bistro in Lyon",
"meta": {
"title": "Marie's place in Lyon",
"description": "Book a table"
}
},
"de": {
"title": "Bei Marie"
}
},
"isLogoVisible": true,
"isActive": true,
"publishAt": "2026-01-01T00:00:00Z",
"isScheduled": true,
"expiresAt": "2026-01-01T00:00:00Z",
"isExpired": true,
"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"
},
"short_url": "https://hyllo.fr/chez-marie",
"visits_count": 1,
"visits_series": [
1
],
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
}Modifier une link page#
PATCH/link-pages/{linkPage}
Portée requise : link_pages:write
Modifie une link page ; tous les champs sont facultatifs. folderId répond 422 field_not_available. Il n'y a pas de suppression de page dans l'API publique (DELETE : 405). Ajouter une langue demande link_pages.multilingual.
Paramètres d'adresse
| Champ | Type | Description |
|---|---|---|
| linkPageobligatoire | string (ulid) | ULID de la link page. |
Corps de la requête
| Champ | Type | Description |
|---|---|---|
| titlefacultatif | string | |
| descriptionfacultatif | string | null | |
| localefacultatif | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : |
| isLogoVisiblefacultatif | boolean |
|
| shouldNoIndexfacultatif | boolean |
|
| isSensitivefacultatif | boolean | |
| isActivefacultatif | boolean | |
| publishAtfacultatif | string (date-time) | null | Date future. Requiert |
| expiresAtfacultatif | string (date-time) | null | Date future, après |
| hasPagePasswordfacultatif | boolean | |
| pagePasswordfacultatif | string | null | Requis quand |
| metafacultatif | object | Métadonnées SEO. Les modifier demande |
| avatarfacultatif | object | Avatar de la page. Défaut renvoyé : |
| socialLinksfacultatif | array | |
| themefacultatif | object | Thème de la page : les sections |
| languagesfacultatif | array | null | Langues ajoutées, sans doublon ni la langue par défaut. |
| translationsfacultatif | object | Traductions d'une link page, indexées par langue ajoutée ( Normalisation silencieuse à l'enregistrement : chaînes réduites par |
Champs imbriqués et variantes
| Champ | Type | Description |
|---|---|---|
| meta.titlefacultatif | string | null | |
| meta.descriptionfacultatif | string | null | |
| avatar.typefacultatif | string | Valeurs : |
| avatar.imagefacultatif | string | null | |
| avatar.iconfacultatif | string | null | |
| socialLinks[]obligatoire | object | |
| socialLinks[].typeobligatoire | string | Valeurs : |
| socialLinks[].urlobligatoire | string | null | |
| socialLinks[].positionobligatoire | integer | |
| theme.keyfacultatif | string | null | |
| theme.colorsThemefacultatif | string | Valeurs : |
| theme.backgroundfacultatif | object | |
| theme.buttonsfacultatif | object | |
| theme.avatarfacultatif | object | |
| theme.headingfacultatif | object | |
| theme.footerfacultatif | object | |
| languages[]obligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : |
| translations.*facultatif | object | |
| translations.*.titlefacultatif | string | |
| translations.*.descriptionfacultatif | string | Bio traduite |
| translations.*.metafacultatif | object | |
| translations.*.meta.titlefacultatif | string | |
| translations.*.meta.descriptionfacultatif | string |
Réponses
200 Link page modifiée
| Champ | Type | Description |
|---|---|---|
| dataobligatoire | object | Link page. Le mot de passe de la page n'est jamais renvoyé. |
Champs imbriqués et variantes
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| data.idobligatoire | string (ulid) | |||||||||
| data.shortobligatoire | string | null | Code de la page. | ||||||||
| data.domainobligatoire | oneOf | |||||||||
| data.titleobligatoire | string | |||||||||
| data.descriptionobligatoire | string |
| ||||||||
| data.metaobligatoire | object | Métadonnées SEO. Les modifier demande | ||||||||
| data.meta.titlefacultatif | string | null | |||||||||
| data.meta.descriptionfacultatif | string | null | |||||||||
| data.avatarobligatoire | object | Avatar de la page. Défaut renvoyé : | ||||||||
| data.avatar.typefacultatif | string | Valeurs : | ||||||||
| data.avatar.imagefacultatif | string | null | |||||||||
| data.avatar.iconfacultatif | string | null | |||||||||
| data.linksobligatoire | array | Liens de la page, triés par position. | ||||||||
| data.links[]obligatoire | object | Lien d'une link page. Le type | ||||||||
| data.links[].idobligatoire | string (ulid) | |||||||||
| data.links[].typeobligatoire | string | Valeurs : | ||||||||
| data.links[].titleobligatoire | string |
| ||||||||
| data.links[].dataobligatoire | object | Charge utile selon | ||||||||
| data.links[].positionobligatoire | integer | |||||||||
| data.links[].is_activeobligatoire | boolean | |||||||||
| data.links[].publish_atobligatoire | string (date-time) | null | |||||||||
| data.links[].expire_atobligatoire | string (date-time) | null | |||||||||
| data.links[].has_passwordobligatoire | boolean | |||||||||
| data.links[].thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| data.links[].thumbnail.typefacultatif | string | Valeurs : | ||||||||
| data.links[].thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. | ||||||||
| data.links[].thumbnail.iconfacultatif | string | null | |||||||||
| data.links[].thumbnail.stylefacultatif | string | Valeurs : | ||||||||
| data.links[].highlightobligatoire | object | Mise en avant du lien. | ||||||||
| data.links[].highlight.animationfacultatif | string | Valeurs : | ||||||||
| data.links[].highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. | ||||||||
| data.links[].translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| data.links[].translations.*facultatif | object | |||||||||
| data.links[].translations.*.titlefacultatif | string | |||||||||
| data.links[].translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans | ||||||||
| data.links[].translations.*.data.textfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.summaryfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.descriptionfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.subjectfacultatif | string | Lien | ||||||||
| data.links[].translations.*.data.messagefacultatif | string | Lien | ||||||||
| data.links[].created_atobligatoire | string (date-time) | |||||||||
| data.links[].updated_atobligatoire | string (date-time) | |||||||||
| data.socialLinksobligatoire | array | null | |||||||||
| data.socialLinks[]obligatoire | object | |||||||||
| data.socialLinks[].typeobligatoire | string | Valeurs : | ||||||||
| data.socialLinks[].urlobligatoire | string | null | |||||||||
| data.socialLinks[].positionobligatoire | integer | |||||||||
| data.themeobligatoire | object | Thème de la page : les sections | ||||||||
| data.theme.keyfacultatif | string | null | |||||||||
| data.theme.colorsThemefacultatif | string | Valeurs : | ||||||||
| data.theme.backgroundfacultatif | object | |||||||||
| data.theme.buttonsfacultatif | object | |||||||||
| data.theme.avatarfacultatif | object | |||||||||
| data.theme.headingfacultatif | object | |||||||||
| data.theme.footerfacultatif | object | |||||||||
| data.hasPagePasswordobligatoire | boolean | |||||||||
| data.hasPageLockTypeobligatoire | string | null | Valeur enregistrée, en lecture seule dans l'API publique. | ||||||||
| data.shouldNoIndexobligatoire | boolean | |||||||||
| data.isSensitiveobligatoire | boolean | |||||||||
| data.localeobligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : | ||||||||
| data.languagesobligatoire | array | Langues ajoutées, sans la langue par défaut ; | ||||||||
| data.languages[]obligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : | ||||||||
| data.translationsobligatoire | object | Traductions d'une link page, indexées par langue ajoutée ( Normalisation silencieuse à l'enregistrement : chaînes réduites par | ||||||||
| data.translations.*facultatif | object | |||||||||
| data.translations.*.titlefacultatif | string | |||||||||
| data.translations.*.descriptionfacultatif | string | Bio traduite | ||||||||
| data.translations.*.metafacultatif | object | |||||||||
| data.translations.*.meta.titlefacultatif | string | |||||||||
| data.translations.*.meta.descriptionfacultatif | string | |||||||||
| data.isLogoVisibleobligatoire | boolean | |||||||||
| data.isActiveobligatoire | boolean | |||||||||
| data.publishAtobligatoire | string (date-time) | null | |||||||||
| data.isScheduledobligatoire | boolean | |||||||||
| data.expiresAtobligatoire | string (date-time) | null | |||||||||
| data.isExpiredobligatoire | boolean | |||||||||
| data.plan_restrictionobligatoire | oneOf | |||||||||
| data.accessobligatoire | object | Droits du créateur du jeton sur la ressource, selon son rôle dans l'espace. L'API publique n'expose ni le partage ni le rangement en dossier. | ||||||||
| data.access.is_ownerobligatoire | boolean |
| ||||||||
| data.access.can_editobligatoire | boolean | |||||||||
| data.access.can_deleteobligatoire | boolean | |||||||||
| data.access.can_shareobligatoire | boolean | |||||||||
| data.access.can_organizeobligatoire | boolean | |||||||||
| data.folderobligatoire | oneOf | |||||||||
| data.short_urlobligatoire | string | null | |||||||||
| data.visits_countfacultatif | integer | Liste ( | ||||||||
| data.visits_seriesfacultatif | array | Liste seulement : visites par jour sur 30 jours, la plus ancienne d'abord. Absent des autres réponses. | ||||||||
| data.visits_series[]obligatoire | integer | |||||||||
| data.created_atobligatoire | string (date-time) | |||||||||
| data.updated_atobligatoire | string (date-time) |
Erreurs Tous les codes
401Jeton absent, inconnu, expiré ou révoqué (
code: invalid_token). Aussi renvoyé quand le créateur du jeton a quitté l'espace. Les refus sont comptés par IP (30 par minute) : au-delà, 429.402L'offre de l'espace n'inclut pas l'accès à l'API (
feature: api.access), ou le droit d'offre demandé manque ou son quota est atteint :plan_required,quota_reachedouplan_restricted(ressource en lecture seule après une rétrogradation).403Scope manquant (
code: insufficient_scope, avecrequired_scope), ou action refusée par le rôle du créateur du jeton dans l'espace (lecteur, membre invité sous Business : lecture seule).404Ressource inconnue, ou appartenant à un autre espace que celui du jeton (jamais de 403 : l'existence n'est pas révélée).
422Validation échouée (
errorspar champ). Cas particuliers :code: field_not_availablepour un champ qui n'existe pas dans l'API publique (folderId,folder_id,organization,folder) ;code: idempotency_key_mismatchpour uneIdempotency-Keyréutilisée avec une requête différente (pas deerrors).429Plafond atteint (
code: rate_limited) : par jeton, pour tous les jetons de l'espace ensemble, ou limite propre à une route (export de QR code,POST /webhooks,PATCH /webhooks/{webhook}avecurl,POST /webhooks/{webhook}/test,…/resend). AttendreRetry-Aftersecondes. Les en-têtesX-RateLimit-*sont présents ;X-RateLimit-Resetsuit le limiteur dontX-RateLimit-Remainingest le plus bas.
curl -sS -X PATCH "https://api.hyllo.fr/api/public/v1/link-pages/$LINK_PAGE" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"title":"Nouveau titre"}'Exemple de réponse
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"short": "chez-marie",
"domain": {
"id": "01J9ZQ0K7TQ3P8W2M5N6R4S1VX",
"hostname": "go.client.com"
},
"title": "string",
"description": "string",
"meta": {
"title": "string",
"description": "string"
},
"avatar": {
"type": "image",
"image": "string",
"icon": "string"
},
"links": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "url",
"title": "string",
"data": {},
"position": 1,
"is_active": true,
"publish_at": "2026-01-01T00:00:00Z",
"expire_at": "2026-01-01T00:00:00Z",
"has_password": true,
"thumbnail": {
"type": "image",
"image": "string",
"icon": "string",
"style": "style-1"
},
"highlight": {
"animation": "none",
"pinned": true
},
"translations": {
"en": {
"title": "Write to us",
"data": {
"subject": "Hello",
"message": "Hi Marie,"
}
}
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
],
"socialLinks": [
{
"type": "x",
"url": "string",
"position": 0
}
],
"theme": {
"key": "string",
"colorsTheme": "light",
"background": {},
"buttons": {},
"avatar": {},
"heading": {},
"footer": {}
},
"hasPagePassword": true,
"hasPageLockType": "string",
"shouldNoIndex": true,
"isSensitive": true,
"locale": "fr",
"languages": [
"fr"
],
"translations": {
"en": {
"title": "Marie's place",
"description": "Bistro in Lyon",
"meta": {
"title": "Marie's place in Lyon",
"description": "Book a table"
}
},
"de": {
"title": "Bei Marie"
}
},
"isLogoVisible": true,
"isActive": true,
"publishAt": "2026-01-01T00:00:00Z",
"isScheduled": true,
"expiresAt": "2026-01-01T00:00:00Z",
"isExpired": true,
"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"
},
"short_url": "https://hyllo.fr/chez-marie",
"visits_count": 1,
"visits_series": [
1
],
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
}Lister les liens d'une page#
GET/link-pages/{linkPage}/links
Portée requise : link_pages:read
Liens de la page, triés par position (non paginés).
Paramètres d'adresse
| Champ | Type | Description |
|---|---|---|
| linkPageobligatoire | string (ulid) | ULID de la link page. |
Réponses
200 OK
| Champ | Type | Description |
|---|---|---|
| dataobligatoire | array |
Champs imbriqués et variantes
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| data[]obligatoire | object | Lien d'une link page. Le type | ||||||||
| data[].idobligatoire | string (ulid) | |||||||||
| data[].typeobligatoire | string | Valeurs : | ||||||||
| data[].titleobligatoire | string |
| ||||||||
| data[].dataobligatoire | object | Charge utile selon | ||||||||
| data[].positionobligatoire | integer | |||||||||
| data[].is_activeobligatoire | boolean | |||||||||
| data[].publish_atobligatoire | string (date-time) | null | |||||||||
| data[].expire_atobligatoire | string (date-time) | null | |||||||||
| data[].has_passwordobligatoire | boolean | |||||||||
| data[].thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| data[].thumbnail.typefacultatif | string | Valeurs : | ||||||||
| data[].thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. | ||||||||
| data[].thumbnail.iconfacultatif | string | null | |||||||||
| data[].thumbnail.stylefacultatif | string | Valeurs : | ||||||||
| data[].highlightobligatoire | object | Mise en avant du lien. | ||||||||
| data[].highlight.animationfacultatif | string | Valeurs : | ||||||||
| data[].highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. | ||||||||
| data[].translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| data[].translations.*facultatif | object | |||||||||
| data[].translations.*.titlefacultatif | string | |||||||||
| data[].translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans | ||||||||
| data[].translations.*.data.textfacultatif | string | Lien | ||||||||
| data[].translations.*.data.summaryfacultatif | string | Lien | ||||||||
| data[].translations.*.data.descriptionfacultatif | string | Lien | ||||||||
| data[].translations.*.data.subjectfacultatif | string | Lien | ||||||||
| data[].translations.*.data.messagefacultatif | string | Lien | ||||||||
| data[].created_atobligatoire | string (date-time) | |||||||||
| data[].updated_atobligatoire | string (date-time) |
Erreurs Tous les codes
401Jeton absent, inconnu, expiré ou révoqué (
code: invalid_token). Aussi renvoyé quand le créateur du jeton a quitté l'espace. Les refus sont comptés par IP (30 par minute) : au-delà, 429.402L'offre de l'espace n'inclut pas l'accès à l'API (
feature: api.access), ou le droit d'offre demandé manque ou son quota est atteint :plan_required,quota_reachedouplan_restricted(ressource en lecture seule après une rétrogradation).403Scope manquant (
code: insufficient_scope, avecrequired_scope), ou action refusée par le rôle du créateur du jeton dans l'espace (lecteur, membre invité sous Business : lecture seule).404Ressource inconnue, ou appartenant à un autre espace que celui du jeton (jamais de 403 : l'existence n'est pas révélée).
429Plafond atteint (
code: rate_limited) : par jeton, pour tous les jetons de l'espace ensemble, ou limite propre à une route (export de QR code,POST /webhooks,PATCH /webhooks/{webhook}avecurl,POST /webhooks/{webhook}/test,…/resend). AttendreRetry-Aftersecondes. Les en-têtesX-RateLimit-*sont présents ;X-RateLimit-Resetsuit le limiteur dontX-RateLimit-Remainingest le plus bas.
curl -sS "https://api.hyllo.fr/api/public/v1/link-pages/$LINK_PAGE/links" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Exemple de réponse
{
"data": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "url",
"title": "string",
"data": {},
"position": 1,
"is_active": true,
"publish_at": "2026-01-01T00:00:00Z",
"expire_at": "2026-01-01T00:00:00Z",
"has_password": true,
"thumbnail": {
"type": "image",
"image": "string",
"icon": "string",
"style": "style-1"
},
"highlight": {
"animation": "none",
"pinned": true
},
"translations": {
"en": {
"title": "Write to us",
"data": {
"subject": "Hello",
"message": "Hi Marie,"
}
}
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
]
}Ajouter un lien à une page#
POST/link-pages/{linkPage}/links
Portée requise : link_pages:writeAccepte Idempotency-Key
Ajoute un lien à la fin de la page. Le type form n'existe pas : 422. Les types embarqués (youtube, spotify…) demandent link_pages.embeds (402 sinon).
Paramètres d'adresse
| Champ | Type | Description |
|---|---|---|
| linkPageobligatoire | string (ulid) | ULID de la link page. |
Corps de la requête
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| typeobligatoire | string | Valeurs : | ||||||||
| titlefacultatif | string | null | |||||||||
| datafacultatif | object | Charge utile selon | ||||||||
| publish_atfacultatif | string (date-time) | null | Requiert | ||||||||
| expire_atfacultatif | string (date-time) | null | Requiert | ||||||||
| passwordfacultatif | string | null | Requiert | ||||||||
| thumbnailfacultatif | object | Vignette du lien. Défauts renvoyés : | ||||||||
| highlightfacultatif | object | Mise en avant du lien. | ||||||||
| translationsfacultatif | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que |
Champs imbriqués et variantes
| Champ | Type | Description |
|---|---|---|
| thumbnail.typefacultatif | string | Valeurs : |
| thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. |
| thumbnail.iconfacultatif | string | null | |
| thumbnail.stylefacultatif | string | Valeurs : |
| highlight.animationfacultatif | string | Valeurs : |
| highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. |
| translations.*facultatif | object | |
| translations.*.titlefacultatif | string | |
| translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans |
| translations.*.data.textfacultatif | string | Lien |
| translations.*.data.summaryfacultatif | string | Lien |
| translations.*.data.descriptionfacultatif | string | Lien |
| translations.*.data.subjectfacultatif | string | Lien |
| translations.*.data.messagefacultatif | string | Lien |
Réponses
201 Lien créé
| Champ | Type | Description |
|---|---|---|
| dataobligatoire | object | Lien d'une link page. Le type |
Champs imbriqués et variantes
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| data.idobligatoire | string (ulid) | |||||||||
| data.typeobligatoire | string | Valeurs : | ||||||||
| data.titleobligatoire | string |
| ||||||||
| data.dataobligatoire | object | Charge utile selon | ||||||||
| data.positionobligatoire | integer | |||||||||
| data.is_activeobligatoire | boolean | |||||||||
| data.publish_atobligatoire | string (date-time) | null | |||||||||
| data.expire_atobligatoire | string (date-time) | null | |||||||||
| data.has_passwordobligatoire | boolean | |||||||||
| data.thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| data.thumbnail.typefacultatif | string | Valeurs : | ||||||||
| data.thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. | ||||||||
| data.thumbnail.iconfacultatif | string | null | |||||||||
| data.thumbnail.stylefacultatif | string | Valeurs : | ||||||||
| data.highlightobligatoire | object | Mise en avant du lien. | ||||||||
| data.highlight.animationfacultatif | string | Valeurs : | ||||||||
| data.highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. | ||||||||
| data.translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| data.translations.*facultatif | object | |||||||||
| data.translations.*.titlefacultatif | string | |||||||||
| data.translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans | ||||||||
| data.translations.*.data.textfacultatif | string | Lien | ||||||||
| data.translations.*.data.summaryfacultatif | string | Lien | ||||||||
| data.translations.*.data.descriptionfacultatif | string | Lien | ||||||||
| data.translations.*.data.subjectfacultatif | string | Lien | ||||||||
| data.translations.*.data.messagefacultatif | string | Lien | ||||||||
| data.created_atobligatoire | string (date-time) | |||||||||
| data.updated_atobligatoire | string (date-time) |
Erreurs Tous les codes
401Jeton absent, inconnu, expiré ou révoqué (
code: invalid_token). Aussi renvoyé quand le créateur du jeton a quitté l'espace. Les refus sont comptés par IP (30 par minute) : au-delà, 429.402L'offre de l'espace n'inclut pas l'accès à l'API (
feature: api.access), ou le droit d'offre demandé manque ou son quota est atteint :plan_required,quota_reachedouplan_restricted(ressource en lecture seule après une rétrogradation).403Scope manquant (
code: insufficient_scope, avecrequired_scope), ou action refusée par le rôle du créateur du jeton dans l'espace (lecteur, membre invité sous Business : lecture seule).404Ressource inconnue, ou appartenant à un autre espace que celui du jeton (jamais de 403 : l'existence n'est pas révélée).
409idempotency_in_progress: une requête portant la mêmeIdempotency-Keyest encore en cours.422Validation échouée (
errorspar champ). Cas particuliers :code: field_not_availablepour un champ qui n'existe pas dans l'API publique (folderId,folder_id,organization,folder) ;code: idempotency_key_mismatchpour uneIdempotency-Keyréutilisée avec une requête différente (pas deerrors).429Plafond atteint (
code: rate_limited) : par jeton, pour tous les jetons de l'espace ensemble, ou limite propre à une route (export de QR code,POST /webhooks,PATCH /webhooks/{webhook}avecurl,POST /webhooks/{webhook}/test,…/resend). AttendreRetry-Aftersecondes. Les en-têtesX-RateLimit-*sont présents ;X-RateLimit-Resetsuit le limiteur dontX-RateLimit-Remainingest le plus bas.
curl -sS -X POST "https://api.hyllo.fr/api/public/v1/link-pages/$LINK_PAGE/links" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"type":"url","title":"Mon site","data":{"url":"https://example.com"}}'Exemple de réponse
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "url",
"title": "string",
"data": {},
"position": 1,
"is_active": true,
"publish_at": "2026-01-01T00:00:00Z",
"expire_at": "2026-01-01T00:00:00Z",
"has_password": true,
"thumbnail": {
"type": "image",
"image": "string",
"icon": "string",
"style": "style-1"
},
"highlight": {
"animation": "none",
"pinned": true
},
"translations": {
"en": {
"title": "Write to us",
"data": {
"subject": "Hello",
"message": "Hi Marie,"
}
}
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
}Réordonner les liens d'une page#
PATCH/link-pages/{linkPage}/links/reorder
Portée requise : link_pages:write
Fixe l'ordre des liens : order liste les ULID de liens dans le nouvel ordre. Renvoie les liens de la page dans cet ordre.
Paramètres d'adresse
| Champ | Type | Description |
|---|---|---|
| linkPageobligatoire | string (ulid) | ULID de la link page. |
Corps de la requête
| Champ | Type | Description |
|---|---|---|
| orderobligatoire | array |
Champs imbriqués et variantes
| Champ | Type | Description |
|---|---|---|
| order[]obligatoire | string (ulid) |
Réponses
200 Liens dans le nouvel ordre
| Champ | Type | Description |
|---|---|---|
| dataobligatoire | array |
Champs imbriqués et variantes
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| data[]obligatoire | object | Lien d'une link page. Le type | ||||||||
| data[].idobligatoire | string (ulid) | |||||||||
| data[].typeobligatoire | string | Valeurs : | ||||||||
| data[].titleobligatoire | string |
| ||||||||
| data[].dataobligatoire | object | Charge utile selon | ||||||||
| data[].positionobligatoire | integer | |||||||||
| data[].is_activeobligatoire | boolean | |||||||||
| data[].publish_atobligatoire | string (date-time) | null | |||||||||
| data[].expire_atobligatoire | string (date-time) | null | |||||||||
| data[].has_passwordobligatoire | boolean | |||||||||
| data[].thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| data[].thumbnail.typefacultatif | string | Valeurs : | ||||||||
| data[].thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. | ||||||||
| data[].thumbnail.iconfacultatif | string | null | |||||||||
| data[].thumbnail.stylefacultatif | string | Valeurs : | ||||||||
| data[].highlightobligatoire | object | Mise en avant du lien. | ||||||||
| data[].highlight.animationfacultatif | string | Valeurs : | ||||||||
| data[].highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. | ||||||||
| data[].translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| data[].translations.*facultatif | object | |||||||||
| data[].translations.*.titlefacultatif | string | |||||||||
| data[].translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans | ||||||||
| data[].translations.*.data.textfacultatif | string | Lien | ||||||||
| data[].translations.*.data.summaryfacultatif | string | Lien | ||||||||
| data[].translations.*.data.descriptionfacultatif | string | Lien | ||||||||
| data[].translations.*.data.subjectfacultatif | string | Lien | ||||||||
| data[].translations.*.data.messagefacultatif | string | Lien | ||||||||
| data[].created_atobligatoire | string (date-time) | |||||||||
| data[].updated_atobligatoire | string (date-time) |
Erreurs Tous les codes
401Jeton absent, inconnu, expiré ou révoqué (
code: invalid_token). Aussi renvoyé quand le créateur du jeton a quitté l'espace. Les refus sont comptés par IP (30 par minute) : au-delà, 429.402L'offre de l'espace n'inclut pas l'accès à l'API (
feature: api.access), ou le droit d'offre demandé manque ou son quota est atteint :plan_required,quota_reachedouplan_restricted(ressource en lecture seule après une rétrogradation).403Scope manquant (
code: insufficient_scope, avecrequired_scope), ou action refusée par le rôle du créateur du jeton dans l'espace (lecteur, membre invité sous Business : lecture seule).404Ressource inconnue, ou appartenant à un autre espace que celui du jeton (jamais de 403 : l'existence n'est pas révélée).
422Validation échouée (
errorspar champ). Cas particuliers :code: field_not_availablepour un champ qui n'existe pas dans l'API publique (folderId,folder_id,organization,folder) ;code: idempotency_key_mismatchpour uneIdempotency-Keyréutilisée avec une requête différente (pas deerrors).429Plafond atteint (
code: rate_limited) : par jeton, pour tous les jetons de l'espace ensemble, ou limite propre à une route (export de QR code,POST /webhooks,PATCH /webhooks/{webhook}avecurl,POST /webhooks/{webhook}/test,…/resend). AttendreRetry-Aftersecondes. Les en-têtesX-RateLimit-*sont présents ;X-RateLimit-Resetsuit le limiteur dontX-RateLimit-Remainingest le plus bas.
curl -sS -X PATCH "https://api.hyllo.fr/api/public/v1/link-pages/$LINK_PAGE/links/reorder" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"order":["01J9ZQ0K7TQ3P8W2M5N6R4S1VX","01ARZ3NDEKTSV4RRFFQ69G5FAV"]}'Exemple de réponse
{
"data": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "url",
"title": "string",
"data": {},
"position": 1,
"is_active": true,
"publish_at": "2026-01-01T00:00:00Z",
"expire_at": "2026-01-01T00:00:00Z",
"has_password": true,
"thumbnail": {
"type": "image",
"image": "string",
"icon": "string",
"style": "style-1"
},
"highlight": {
"animation": "none",
"pinned": true
},
"translations": {
"en": {
"title": "Write to us",
"data": {
"subject": "Hello",
"message": "Hi Marie,"
}
}
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
]
}Modifier un lien#
PATCH/link-pages/{linkPage}/links/{link}
Portée requise : link_pages:write
Modifie un lien de la page ; tous les champs sont facultatifs (type compris). Le type form n'existe pas : 422.
Paramètres d'adresse
| Champ | Type | Description |
|---|---|---|
| linkPageobligatoire | string (ulid) | ULID de la link page. |
| linkobligatoire | string (ulid) | ULID du lien, qui doit appartenir à la page (sinon 404). |
Corps de la requête
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| typefacultatif | string | Valeurs : | ||||||||
| titlefacultatif | string | null | |||||||||
| datafacultatif | object | Charge utile selon | ||||||||
| publish_atfacultatif | string (date-time) | null | Requiert | ||||||||
| expire_atfacultatif | string (date-time) | null | Requiert | ||||||||
| passwordfacultatif | string | null | Requiert | ||||||||
| thumbnailfacultatif | object | Vignette du lien. Défauts renvoyés : | ||||||||
| highlightfacultatif | object | Mise en avant du lien. | ||||||||
| translationsfacultatif | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que |
Champs imbriqués et variantes
| Champ | Type | Description |
|---|---|---|
| thumbnail.typefacultatif | string | Valeurs : |
| thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. |
| thumbnail.iconfacultatif | string | null | |
| thumbnail.stylefacultatif | string | Valeurs : |
| highlight.animationfacultatif | string | Valeurs : |
| highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. |
| translations.*facultatif | object | |
| translations.*.titlefacultatif | string | |
| translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans |
| translations.*.data.textfacultatif | string | Lien |
| translations.*.data.summaryfacultatif | string | Lien |
| translations.*.data.descriptionfacultatif | string | Lien |
| translations.*.data.subjectfacultatif | string | Lien |
| translations.*.data.messagefacultatif | string | Lien |
Réponses
200 Lien modifié
| Champ | Type | Description |
|---|---|---|
| dataobligatoire | object | Lien d'une link page. Le type |
Champs imbriqués et variantes
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| data.idobligatoire | string (ulid) | |||||||||
| data.typeobligatoire | string | Valeurs : | ||||||||
| data.titleobligatoire | string |
| ||||||||
| data.dataobligatoire | object | Charge utile selon | ||||||||
| data.positionobligatoire | integer | |||||||||
| data.is_activeobligatoire | boolean | |||||||||
| data.publish_atobligatoire | string (date-time) | null | |||||||||
| data.expire_atobligatoire | string (date-time) | null | |||||||||
| data.has_passwordobligatoire | boolean | |||||||||
| data.thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| data.thumbnail.typefacultatif | string | Valeurs : | ||||||||
| data.thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. | ||||||||
| data.thumbnail.iconfacultatif | string | null | |||||||||
| data.thumbnail.stylefacultatif | string | Valeurs : | ||||||||
| data.highlightobligatoire | object | Mise en avant du lien. | ||||||||
| data.highlight.animationfacultatif | string | Valeurs : | ||||||||
| data.highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. | ||||||||
| data.translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| data.translations.*facultatif | object | |||||||||
| data.translations.*.titlefacultatif | string | |||||||||
| data.translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans | ||||||||
| data.translations.*.data.textfacultatif | string | Lien | ||||||||
| data.translations.*.data.summaryfacultatif | string | Lien | ||||||||
| data.translations.*.data.descriptionfacultatif | string | Lien | ||||||||
| data.translations.*.data.subjectfacultatif | string | Lien | ||||||||
| data.translations.*.data.messagefacultatif | string | Lien | ||||||||
| data.created_atobligatoire | string (date-time) | |||||||||
| data.updated_atobligatoire | string (date-time) |
Erreurs Tous les codes
401Jeton absent, inconnu, expiré ou révoqué (
code: invalid_token). Aussi renvoyé quand le créateur du jeton a quitté l'espace. Les refus sont comptés par IP (30 par minute) : au-delà, 429.402L'offre de l'espace n'inclut pas l'accès à l'API (
feature: api.access), ou le droit d'offre demandé manque ou son quota est atteint :plan_required,quota_reachedouplan_restricted(ressource en lecture seule après une rétrogradation).403Scope manquant (
code: insufficient_scope, avecrequired_scope), ou action refusée par le rôle du créateur du jeton dans l'espace (lecteur, membre invité sous Business : lecture seule).404Ressource inconnue, ou appartenant à un autre espace que celui du jeton (jamais de 403 : l'existence n'est pas révélée).
422Validation échouée (
errorspar champ). Cas particuliers :code: field_not_availablepour un champ qui n'existe pas dans l'API publique (folderId,folder_id,organization,folder) ;code: idempotency_key_mismatchpour uneIdempotency-Keyréutilisée avec une requête différente (pas deerrors).429Plafond atteint (
code: rate_limited) : par jeton, pour tous les jetons de l'espace ensemble, ou limite propre à une route (export de QR code,POST /webhooks,PATCH /webhooks/{webhook}avecurl,POST /webhooks/{webhook}/test,…/resend). AttendreRetry-Aftersecondes. Les en-têtesX-RateLimit-*sont présents ;X-RateLimit-Resetsuit le limiteur dontX-RateLimit-Remainingest le plus bas.
curl -sS -X PATCH "https://api.hyllo.fr/api/public/v1/link-pages/$LINK_PAGE/links/$LINK" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"title":"Nouveau titre"}'Exemple de réponse
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "url",
"title": "string",
"data": {},
"position": 1,
"is_active": true,
"publish_at": "2026-01-01T00:00:00Z",
"expire_at": "2026-01-01T00:00:00Z",
"has_password": true,
"thumbnail": {
"type": "image",
"image": "string",
"icon": "string",
"style": "style-1"
},
"highlight": {
"animation": "none",
"pinned": true
},
"translations": {
"en": {
"title": "Write to us",
"data": {
"subject": "Hello",
"message": "Hi Marie,"
}
}
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
}Supprimer un lien#
DELETE/link-pages/{linkPage}/links/{link}
Portée requise : link_pages:write
Supprime le lien de la page.
Paramètres d'adresse
| Champ | Type | Description |
|---|---|---|
| linkPageobligatoire | string (ulid) | ULID de la link page. |
| linkobligatoire | string (ulid) | ULID du lien, qui doit appartenir à la page (sinon 404). |
Réponses
204 Supprimé
Erreurs Tous les codes
401Jeton absent, inconnu, expiré ou révoqué (
code: invalid_token). Aussi renvoyé quand le créateur du jeton a quitté l'espace. Les refus sont comptés par IP (30 par minute) : au-delà, 429.402L'offre de l'espace n'inclut pas l'accès à l'API (
feature: api.access), ou le droit d'offre demandé manque ou son quota est atteint :plan_required,quota_reachedouplan_restricted(ressource en lecture seule après une rétrogradation).403Scope manquant (
code: insufficient_scope, avecrequired_scope), ou action refusée par le rôle du créateur du jeton dans l'espace (lecteur, membre invité sous Business : lecture seule).404Ressource inconnue, ou appartenant à un autre espace que celui du jeton (jamais de 403 : l'existence n'est pas révélée).
429Plafond atteint (
code: rate_limited) : par jeton, pour tous les jetons de l'espace ensemble, ou limite propre à une route (export de QR code,POST /webhooks,PATCH /webhooks/{webhook}avecurl,POST /webhooks/{webhook}/test,…/resend). AttendreRetry-Aftersecondes. Les en-têtesX-RateLimit-*sont présents ;X-RateLimit-Resetsuit le limiteur dontX-RateLimit-Remainingest le plus bas.
curl -sS -X DELETE "https://api.hyllo.fr/api/public/v1/link-pages/$LINK_PAGE/links/$LINK" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json"Activer ou désactiver un lien#
PATCH/link-pages/{linkPage}/links/{link}/active
Portée requise : link_pages:write
Active ou désactive un lien sans toucher au reste.
Paramètres d'adresse
| Champ | Type | Description |
|---|---|---|
| linkPageobligatoire | string (ulid) | ULID de la link page. |
| linkobligatoire | string (ulid) | ULID du lien, qui doit appartenir à la page (sinon 404). |
Corps de la requête
| Champ | Type | Description |
|---|---|---|
| is_activeobligatoire | boolean |
Réponses
200 Lien modifié
| Champ | Type | Description |
|---|---|---|
| dataobligatoire | object | Lien d'une link page. Le type |
Champs imbriqués et variantes
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| data.idobligatoire | string (ulid) | |||||||||
| data.typeobligatoire | string | Valeurs : | ||||||||
| data.titleobligatoire | string |
| ||||||||
| data.dataobligatoire | object | Charge utile selon | ||||||||
| data.positionobligatoire | integer | |||||||||
| data.is_activeobligatoire | boolean | |||||||||
| data.publish_atobligatoire | string (date-time) | null | |||||||||
| data.expire_atobligatoire | string (date-time) | null | |||||||||
| data.has_passwordobligatoire | boolean | |||||||||
| data.thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| data.thumbnail.typefacultatif | string | Valeurs : | ||||||||
| data.thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. | ||||||||
| data.thumbnail.iconfacultatif | string | null | |||||||||
| data.thumbnail.stylefacultatif | string | Valeurs : | ||||||||
| data.highlightobligatoire | object | Mise en avant du lien. | ||||||||
| data.highlight.animationfacultatif | string | Valeurs : | ||||||||
| data.highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. | ||||||||
| data.translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| data.translations.*facultatif | object | |||||||||
| data.translations.*.titlefacultatif | string | |||||||||
| data.translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans | ||||||||
| data.translations.*.data.textfacultatif | string | Lien | ||||||||
| data.translations.*.data.summaryfacultatif | string | Lien | ||||||||
| data.translations.*.data.descriptionfacultatif | string | Lien | ||||||||
| data.translations.*.data.subjectfacultatif | string | Lien | ||||||||
| data.translations.*.data.messagefacultatif | string | Lien | ||||||||
| data.created_atobligatoire | string (date-time) | |||||||||
| data.updated_atobligatoire | string (date-time) |
Erreurs Tous les codes
401Jeton absent, inconnu, expiré ou révoqué (
code: invalid_token). Aussi renvoyé quand le créateur du jeton a quitté l'espace. Les refus sont comptés par IP (30 par minute) : au-delà, 429.402L'offre de l'espace n'inclut pas l'accès à l'API (
feature: api.access), ou le droit d'offre demandé manque ou son quota est atteint :plan_required,quota_reachedouplan_restricted(ressource en lecture seule après une rétrogradation).403Scope manquant (
code: insufficient_scope, avecrequired_scope), ou action refusée par le rôle du créateur du jeton dans l'espace (lecteur, membre invité sous Business : lecture seule).404Ressource inconnue, ou appartenant à un autre espace que celui du jeton (jamais de 403 : l'existence n'est pas révélée).
422Validation échouée (
errorspar champ). Cas particuliers :code: field_not_availablepour un champ qui n'existe pas dans l'API publique (folderId,folder_id,organization,folder) ;code: idempotency_key_mismatchpour uneIdempotency-Keyréutilisée avec une requête différente (pas deerrors).429Plafond atteint (
code: rate_limited) : par jeton, pour tous les jetons de l'espace ensemble, ou limite propre à une route (export de QR code,POST /webhooks,PATCH /webhooks/{webhook}avecurl,POST /webhooks/{webhook}/test,…/resend). AttendreRetry-Aftersecondes. Les en-têtesX-RateLimit-*sont présents ;X-RateLimit-Resetsuit le limiteur dontX-RateLimit-Remainingest le plus bas.
curl -sS -X PATCH "https://api.hyllo.fr/api/public/v1/link-pages/$LINK_PAGE/links/$LINK/active" \
-H "Authorization: Bearer $HYLLO_API_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"is_active":false}'Exemple de réponse
{
"data": {
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"type": "url",
"title": "string",
"data": {},
"position": 1,
"is_active": true,
"publish_at": "2026-01-01T00:00:00Z",
"expire_at": "2026-01-01T00:00:00Z",
"has_password": true,
"thumbnail": {
"type": "image",
"image": "string",
"icon": "string",
"style": "style-1"
},
"highlight": {
"animation": "none",
"pinned": true
},
"translations": {
"en": {
"title": "Write to us",
"data": {
"subject": "Hello",
"message": "Hi Marie,"
}
}
},
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}
}Schémas
PageLanguage
Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut (locale) ou l'une de ses langues ajoutées (languages). Uniquement des écritures latines, de gauche à droite. Distincte de la langue de l'interface (en, fr), celle de UserResource.locale.
LinkPage
Link page. Le mot de passe de la page n'est jamais renvoyé.
| Champ | Type | Description |
|---|---|---|
| idobligatoire | string (ulid) | |
| shortobligatoire | string | null | Code de la page. |
| domainobligatoire | oneOf | |
| titleobligatoire | string | |
| descriptionobligatoire | string |
|
| metaobligatoire | object | Métadonnées SEO. Les modifier demande |
| avatarobligatoire | object | Avatar de la page. Défaut renvoyé : |
| linksobligatoire | array | Liens de la page, triés par position. |
| socialLinksobligatoire | array | null | |
| themeobligatoire | object | Thème de la page : les sections |
| hasPagePasswordobligatoire | boolean | |
| hasPageLockTypeobligatoire | string | null | Valeur enregistrée, en lecture seule dans l'API publique. |
| shouldNoIndexobligatoire | boolean | |
| isSensitiveobligatoire | boolean | |
| localeobligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : |
| languagesobligatoire | array | Langues ajoutées, sans la langue par défaut ; |
| translationsobligatoire | object | Traductions d'une link page, indexées par langue ajoutée ( Normalisation silencieuse à l'enregistrement : chaînes réduites par |
| isLogoVisibleobligatoire | boolean | |
| isActiveobligatoire | boolean | |
| publishAtobligatoire | string (date-time) | null | |
| isScheduledobligatoire | boolean | |
| expiresAtobligatoire | string (date-time) | null | |
| isExpiredobligatoire | boolean | |
| plan_restrictionobligatoire | oneOf | |
| accessobligatoire | object | Droits du créateur du jeton sur la ressource, selon son rôle dans l'espace. L'API publique n'expose ni le partage ni le rangement en dossier. |
| folderobligatoire | oneOf | |
| short_urlobligatoire | string | null | |
| visits_countfacultatif | integer | Liste ( |
| visits_seriesfacultatif | array | Liste seulement : visites par jour sur 30 jours, la plus ancienne d'abord. Absent des autres réponses. |
| created_atobligatoire | string (date-time) | |
| updated_atobligatoire | string (date-time) |
Variante #1
Domaine personnalisé sur lequel la short URL est servie, choisi à la création et jamais modifié. null : domaine de Hyllo.
| Champ | Type | Description |
|---|---|---|
| idobligatoire | string (ulid) | |
| hostnameobligatoire | string |
Variante #2
Variante #1
Ressource en lecture seule ou bloquée après une rétrogradation d'offre ; null sinon. Toute modification répond alors 402 plan_restricted.
| Champ | Type | Description |
|---|---|---|
| statefacultatif | string | Valeurs : |
| sincefacultatif | string (date-time) | |
| deletes_atfacultatif | string (date-time) | null | Suppression prévue ; renseignée une fois la ressource bloquée. |
Variante #2
Variante #1
Dossier de création de la ressource ; null : à la racine. Les dossiers ne sont pas gérés par l'API publique : le champ est en lecture seule.
| Champ | Type | Description |
|---|---|---|
| idobligatoire | string (ulid) | |
| nameobligatoire | string |
Variante #2
Champs imbriqués et variantes
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| meta.titlefacultatif | string | null | |||||||||
| meta.descriptionfacultatif | string | null | |||||||||
| avatar.typefacultatif | string | Valeurs : | ||||||||
| avatar.imagefacultatif | string | null | |||||||||
| avatar.iconfacultatif | string | null | |||||||||
| links[]obligatoire | object | Lien d'une link page. Le type | ||||||||
| links[].idobligatoire | string (ulid) | |||||||||
| links[].typeobligatoire | string | Valeurs : | ||||||||
| links[].titleobligatoire | string |
| ||||||||
| links[].dataobligatoire | object | Charge utile selon | ||||||||
| links[].positionobligatoire | integer | |||||||||
| links[].is_activeobligatoire | boolean | |||||||||
| links[].publish_atobligatoire | string (date-time) | null | |||||||||
| links[].expire_atobligatoire | string (date-time) | null | |||||||||
| links[].has_passwordobligatoire | boolean | |||||||||
| links[].thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| links[].thumbnail.typefacultatif | string | Valeurs : | ||||||||
| links[].thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. | ||||||||
| links[].thumbnail.iconfacultatif | string | null | |||||||||
| links[].thumbnail.stylefacultatif | string | Valeurs : | ||||||||
| links[].highlightobligatoire | object | Mise en avant du lien. | ||||||||
| links[].highlight.animationfacultatif | string | Valeurs : | ||||||||
| links[].highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. | ||||||||
| links[].translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| links[].translations.*facultatif | object | |||||||||
| links[].translations.*.titlefacultatif | string | |||||||||
| links[].translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans | ||||||||
| links[].translations.*.data.textfacultatif | string | Lien | ||||||||
| links[].translations.*.data.summaryfacultatif | string | Lien | ||||||||
| links[].translations.*.data.descriptionfacultatif | string | Lien | ||||||||
| links[].translations.*.data.subjectfacultatif | string | Lien | ||||||||
| links[].translations.*.data.messagefacultatif | string | Lien | ||||||||
| links[].created_atobligatoire | string (date-time) | |||||||||
| links[].updated_atobligatoire | string (date-time) | |||||||||
| socialLinks[]obligatoire | object | |||||||||
| socialLinks[].typeobligatoire | string | Valeurs : | ||||||||
| socialLinks[].urlobligatoire | string | null | |||||||||
| socialLinks[].positionobligatoire | integer | |||||||||
| theme.keyfacultatif | string | null | |||||||||
| theme.colorsThemefacultatif | string | Valeurs : | ||||||||
| theme.backgroundfacultatif | object | |||||||||
| theme.buttonsfacultatif | object | |||||||||
| theme.avatarfacultatif | object | |||||||||
| theme.headingfacultatif | object | |||||||||
| theme.footerfacultatif | object | |||||||||
| languages[]obligatoire | string | Langue dans laquelle une link page est écrite (backlog 3.4) : sa langue par défaut ( Valeurs : | ||||||||
| translations.*facultatif | object | |||||||||
| translations.*.titlefacultatif | string | |||||||||
| translations.*.descriptionfacultatif | string | Bio traduite | ||||||||
| translations.*.metafacultatif | object | |||||||||
| translations.*.meta.titlefacultatif | string | |||||||||
| translations.*.meta.descriptionfacultatif | string | |||||||||
| access.is_ownerobligatoire | boolean |
| ||||||||
| access.can_editobligatoire | boolean | |||||||||
| access.can_deleteobligatoire | boolean | |||||||||
| access.can_shareobligatoire | boolean | |||||||||
| access.can_organizeobligatoire | boolean | |||||||||
| visits_series[]obligatoire | integer |
PaginationLinks
URL des pages voisines (null quand il n'y en a pas).
| Champ | Type | Description |
|---|---|---|
| firstobligatoire | string | null | |
| lastobligatoire | string | null | |
| prevobligatoire | string | null | |
| nextobligatoire | string | null |
PaginationMeta
| Champ | Type | Description |
|---|---|---|
| current_pageobligatoire | integer | |
| fromfacultatif | integer | null | |
| last_pageobligatoire | integer | |
| linksfacultatif | array | Liens de navigation. |
| pathfacultatif | string | |
| per_pageobligatoire | integer | |
| tofacultatif | integer | null | |
| totalobligatoire | integer |
Champs imbriqués et variantes
| Champ | Type | Description |
|---|---|---|
| links[]obligatoire | object | |
| links[].urlfacultatif | string | null | |
| links[].labelfacultatif | string | |
| links[].activefacultatif | boolean |
SocialLink
| Champ | Type | Description |
|---|---|---|
| typeobligatoire | string | Valeurs : |
| urlobligatoire | string | null | |
| positionobligatoire | integer |
LinkPageTheme
Thème de la page : les sections background, buttons, avatar, heading et footer sont des objets libres, renvoyés tels qu'enregistrés (le plus simple : relire le thème d'une page et le renvoyer modifié). Les options avancées demandent link_pages.design_advanced (402 sinon).
| Champ | Type | Description |
|---|---|---|
| keyfacultatif | string | null | |
| colorsThemefacultatif | string | Valeurs : |
| backgroundfacultatif | object | |
| buttonsfacultatif | object | |
| avatarfacultatif | object | |
| headingfacultatif | object | |
| footerfacultatif | object |
LinkPageTranslations
Traductions d'une link page, indexées par langue ajoutée (PageLanguage). Chaque champ est facultatif : sur la page publique, un champ absent reprend la valeur de la langue par défaut (repli champ par champ).
Normalisation silencieuse à l'enregistrement : chaînes réduites par trim, chaînes vides et null retirés, langue devenue vide retirée, clés limitées aux langues ajoutées de la page. Toujours renvoyé comme un objet, {} quand il est vide (jamais []).
| Champ | Type | Description |
|---|---|---|
| *facultatif | object |
Champs imbriqués et variantes
| Champ | Type | Description |
|---|---|---|
| *.titlefacultatif | string | |
| *.descriptionfacultatif | string | Bio traduite |
| *.metafacultatif | object | |
| *.meta.titlefacultatif | string | |
| *.meta.descriptionfacultatif | string |
LinkPageLink
Lien d'une link page. Le type form n'existe pas : 422.
| Champ | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| idobligatoire | string (ulid) | |||||||||
| typeobligatoire | string | Valeurs : | ||||||||
| titleobligatoire | string |
| ||||||||
| dataobligatoire | object | Charge utile selon | ||||||||
| positionobligatoire | integer | |||||||||
| is_activeobligatoire | boolean | |||||||||
| publish_atobligatoire | string (date-time) | null | |||||||||
| expire_atobligatoire | string (date-time) | null | |||||||||
| has_passwordobligatoire | boolean | |||||||||
| thumbnailobligatoire | object | Vignette du lien. Défauts renvoyés : | ||||||||
| highlightobligatoire | object | Mise en avant du lien. | ||||||||
| translationsobligatoire | object | Traductions d'un lien de link page, indexées par langue ajoutée de la page (
Les autres types ne traduisent que | ||||||||
| created_atobligatoire | string (date-time) | |||||||||
| updated_atobligatoire | string (date-time) |
Champs imbriqués et variantes
| Champ | Type | Description |
|---|---|---|
| thumbnail.typefacultatif | string | Valeurs : |
| thumbnail.imagefacultatif | string | null | URL d'un fichier de la médiathèque de l'espace. |
| thumbnail.iconfacultatif | string | null | |
| thumbnail.stylefacultatif | string | Valeurs : |
| highlight.animationfacultatif | string | Valeurs : |
| highlight.pinnedfacultatif | boolean | Un seul lien épinglé par page. |
| translations.*facultatif | object | |
| translations.*.titlefacultatif | string | |
| translations.*.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans |
| translations.*.data.textfacultatif | string | Lien |
| translations.*.data.summaryfacultatif | string | Lien |
| translations.*.data.descriptionfacultatif | string | Lien |
| translations.*.data.subjectfacultatif | string | Lien |
| translations.*.data.messagefacultatif | string | Lien |
LinkPageLinkTranslations
Traductions d'un lien de link page, indexées par langue ajoutée de la page (PageLanguage). Tout lien traduit son title ; data ne porte que les clés traduisibles de son type :
| Type | Clés de data |
|---|---|
text | text |
event | summary, description |
mail | subject, message |
Les autres types ne traduisent que title. Même normalisation que LinkPageTranslations, avec en plus les clés de data limitées au type du lien. Toujours renvoyé comme un objet, {} quand il est vide (jamais []).
| Champ | Type | Description |
|---|---|---|
| *facultatif | object |
Champs imbriqués et variantes
| Champ | Type | Description |
|---|---|---|
| *.titlefacultatif | string | |
| *.datafacultatif | object | Clés traduisibles du type du lien ; sur la page publique, chacune remplace la sienne dans |
| *.data.textfacultatif | string | Lien |
| *.data.summaryfacultatif | string | Lien |
| *.data.descriptionfacultatif | string | Lien |
| *.data.subjectfacultatif | string | Lien |
| *.data.messagefacultatif | string | Lien |
