{"id":18695,"date":"2026-07-10T03:16:30","date_gmt":"2026-07-10T09:16:30","guid":{"rendered":"https:\/\/prettylinks.com\/?post_type=ht_kb&#038;p=18695"},"modified":"2026-07-20T05:36:26","modified_gmt":"2026-07-20T11:36:26","slug":"rest-api-reference","status":"publish","type":"ht_kb","link":"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/","title":{"rendered":"R\u00e9f\u00e9rence de l'API REST"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><em>Disponible avec la formule \u00ab Marketer \u00bb et les formules sup\u00e9rieures.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cette page offre une pr\u00e9sentation g\u00e9n\u00e9rale. <strong>La documentation compl\u00e8te et toujours \u00e0 jour de l'API REST se trouve dans votre interface d'administration WordPress.<\/strong> \u2014 aller \u00e0 <strong>Tableau de bord &gt; Pretty Links &gt; Outils de d\u00e9veloppement &gt; Documentation<\/strong> pour consulter des exemples complets de requ\u00eates et de r\u00e9ponses.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ce guide fait partie de la <a href=\"https:\/\/prettylinks.com\/fr\/docs\/pretty-link-developer-tools-add-on-overview\/\">Pr\u00e9sentation de l'extension \u00ab Pretty Links Developer Tools \u00bb<\/a>, la page d'accueil de l'extension \u00ab Developer Tools \u00bb.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a805bb5164a4&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a805bb5164a4\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1000\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1.png\" alt=\"Outils de d\u00e9veloppement Pretty Links \u2014 Cl\u00e9s API et webhooks\" class=\"wp-image-18694\" srcset=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1.png 1600w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-300x188.png 300w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-1024x640.png 1024w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-768x480.png 768w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-50x31.png 50w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-1536x960.png 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"where-to-find-the-full-reference\"><a href=\"#where-to-find-the-full-reference\">O\u00f9 trouver la r\u00e9f\u00e9rence compl\u00e8te<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Dans la barre lat\u00e9rale d'administration de WordPress, rendez-vous dans <strong>Tableau de bord &gt; Pretty Links &gt; Outils de d\u00e9veloppement &gt; Documentation<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">L'onglet \u00ab Docs \u00bb affiche chaque point de terminaison avec sa m\u00e9thode HTTP, ses param\u00e8tres, le format du corps de la requ\u00eate, le format de la r\u00e9ponse et des exemples d'appels. Comme il est h\u00e9berg\u00e9 au sein m\u00eame de votre installation, il correspond toujours \u00e0 la version actuelle de Pretty Links que vous utilisez \u2014 vous n'avez donc pas \u00e0 vous soucier de documents en ligne obsol\u00e8tes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ouvrez l'onglet \u00ab Docs \u00bb dans un deuxi\u00e8me onglet de navigateur pendant que vous travaillez. C'est la source de r\u00e9f\u00e9rence.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a805bb51687b&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a805bb51687b\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1000\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1.png\" alt=\"Outils de d\u00e9veloppement Pretty Links \u2014 Cl\u00e9s API et webhooks\" class=\"wp-image-18694\" srcset=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1.png 1600w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-300x188.png 300w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-1024x640.png 1024w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-768x480.png 768w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-50x31.png 50w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-1536x960.png 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"endpoint-overview\"><a href=\"#endpoint-overview\">Pr\u00e9sentation des terminaux<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Voici un aper\u00e7u rapide des fonctionnalit\u00e9s disponibles, pour que vous sachiez ce qui est possible avant de vous plonger dans la documentation int\u00e9gr\u00e9e \u00e0 l'application.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"pretty-links-crud\"><a href=\"#pretty-links-crud\">Pretty Links (CRUD)<\/a><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Liste des liens esth\u00e9tiques<\/strong> \u2014 Acc\u00e9dez \u00e0 tous vos \u00ab Pretty Links \u00bb, avec des options de filtrage et de pagination ;<\/li>\n<li><strong>Obtenir un seul Pretty Link<\/strong> \u2014 Rechercher un lien \u00e0 l'aide de son identifiant ;<\/li>\n<li><strong>Cr\u00e9er un \u00ab Pretty Link \u00bb<\/strong> \u2014 Ajouter un nouveau lien par programmation. Utile pour les migrations, les importations en masse ou la cr\u00e9ation automatique de liens \u00e0 partir d'un autre syst\u00e8me ;<\/li>\n<li><strong>Mettre \u00e0 jour un \u00ab Pretty Link \u00bb<\/strong> \u2014 Modifier l'URL de destination, le slug, le type de redirection, le nom ou d'autres champs d'un lien existant ;<\/li>\n<li><strong>Supprimer un \u00ab Pretty Link \u00bb<\/strong> \u2014 Mettre \u00e0 la corbeille ou supprimer d\u00e9finitivement un lien.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"webhook-subscriptions\"><a href=\"#webhook-subscriptions\">Abonnements aux webhooks<\/a><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>S'abonner<\/strong> \u2014 Cr\u00e9er un nouvel abonnement \u00e0 un webhook par programmation (POST) ;<\/li>\n<li><strong>Se d\u00e9sabonner<\/strong> \u2014 Supprimer un abonnement \u00e0 un webhook par ID (DELETE).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Ces fonctionnalit\u00e9s sont utiles lorsqu'un syst\u00e8me externe doit g\u00e9rer lui-m\u00eame le cycle de vie de ses abonnements aux webhooks \u2014 par exemple, une int\u00e9gration qui souhaite s'enregistrer automatiquement lorsqu'elle est activ\u00e9e et se d\u00e9senregistrer lorsqu'elle est d\u00e9sactiv\u00e9e. Pour consulter la liste actuelle des abonnements, utilisez l'\u00e9cran \u00ab Webhooks \u00bb dans l'interface d'administration.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a805bb516d39&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a805bb516d39\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1000\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1.png\" alt=\"Outils de d\u00e9veloppement Pretty Links \u2014 Cl\u00e9s API et webhooks\" class=\"wp-image-18694\" srcset=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1.png 1600w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-300x188.png 300w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-1024x640.png 1024w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-768x480.png 768w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-50x31.png 50w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-1536x960.png 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"authentication\"><a href=\"#authentication\">Authentification<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Tous les points de terminaison n\u00e9cessitent la cl\u00e9 API du site, transmise soit dans le <code>PRLI-API-KEY<\/code> en-t\u00eate ou le <code>Autorisation<\/code> en-t\u00eate. Voir <strong><a href=\"https:\/\/prettylinks.com\/fr\/docs\/api-keys\/\">Cl\u00e9s API<\/a><\/strong> pour savoir o\u00f9 le trouver et comment le r\u00e9g\u00e9n\u00e9rer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">L'espace de noms REST est <code>pl\/v1<\/code> \u2014 par exemple, <code>https:\/\/yoursite.com\/wp-json\/pl\/v1\/links<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">L'onglet \u00ab Docs \u00bb de l'application affiche le format exact de l'en-t\u00eate ainsi qu'un exemple de commande curl que vous pouvez copier.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"response-format\"><a href=\"#response-format\">Format de r\u00e9ponse<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Toutes les r\u00e9ponses sont au format JSON. Les r\u00e9ponses r\u00e9ussies renvoient un code d'\u00e9tat 2xx, avec les donn\u00e9es correspondantes dans le corps de la r\u00e9ponse. Les erreurs renvoient un code d'\u00e9tat 4xx ou 5xx, avec un corps de r\u00e9ponse au format JSON d\u00e9crivant la nature du probl\u00e8me.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Les conventions HTTP standard s'appliquent :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>200 OK<\/code> \u2014 Lecture r\u00e9ussie ;<\/li>\n<li><code>201 Cr\u00e9\u00e9<\/code> \u2014 Cr\u00e9ation r\u00e9ussie ;<\/li>\n<li><code>400 Erreur de requ\u00eate<\/code> \u2014 Votre requ\u00eate n'\u00e9tait pas valide ;<\/li>\n<li><code>401 Acc\u00e8s non autoris\u00e9<\/code> \u2014 Cl\u00e9 API manquante ou non valide ;<\/li>\n<li><code>404 Page introuvable<\/code> \u2014 Le lien ou la ressource n'existe pas ;<\/li>\n<li><code>Erreur 500 du serveur interne<\/code> \u2014 Une erreur s'est produite sur le serveur.<\/li>\n<\/ul>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a805bb517206&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a805bb517206\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1000\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1.png\" alt=\"Outils de d\u00e9veloppement Pretty Links \u2014 Cl\u00e9s API et webhooks\" class=\"wp-image-18694\" srcset=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1.png 1600w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-300x188.png 300w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-1024x640.png 1024w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-768x480.png 768w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-50x31.png 50w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-1-1536x960.png 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"tips-for-working-with-the-api\"><a href=\"#tips-for-working-with-the-api\">Conseils d'utilisation de l'API<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Commencez par un appel \u00e0 la fonction \u00ab List \u00bb.<\/strong> La premi\u00e8re requ\u00eate \u00e0 tester est \u201c Afficher tous mes Pretty Links \u201d. Elle permet de v\u00e9rifier votre cl\u00e9 API, le format de vos URL et la configuration de votre outil, le tout en une seule fois.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Consultez la documentation int\u00e9gr\u00e9e \u00e0 l'application pour conna\u00eetre les noms exacts des champs.<\/strong> La liste des champs d'un \u00ab Pretty Link \u00bb est document\u00e9e dans l'interface d'administration. Ne devinez pas les noms des champs ; copiez-les directement depuis la documentation pour \u00e9viter les fautes de frappe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Testez d'abord les appels de cr\u00e9ation et de mise \u00e0 jour sur un site de pr\u00e9production.<\/strong> Une faute de frappe dans un script de cr\u00e9ation en masse peut g\u00e9n\u00e9rer des centaines de liens erron\u00e9s. Testez-le d'abord sur un environnement de pr\u00e9production, v\u00e9rifiez le r\u00e9sultat, puis appliquez-le \u00e0 l'environnement de production.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Utilisez des webhooks plut\u00f4t que l'interrogation r\u00e9guli\u00e8re.<\/strong> Si vous vous retrouvez \u00e0 appeler r\u00e9guli\u00e8rement le point de terminaison \u00ab List \u00bb pour v\u00e9rifier s'il y a eu des modifications, configurez plut\u00f4t un abonnement via webhook. Vous recevrez ainsi les modifications en temps r\u00e9el, sans vous soucier des limites de fr\u00e9quence.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Si un webhook ne se d\u00e9clenche pas, consultez le journal des \u00e9v\u00e9nements.<\/strong> Ne vous fiez pas \u00e0 vos suppositions : v\u00e9rifiez. Le journal des \u00e9v\u00e9nements indique si Pretty Links a bien envoy\u00e9 la requ\u00eate et quelle r\u00e9ponse votre point de terminaison a renvoy\u00e9e.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pour tout le reste, l'onglet \u00ab Docs \u00bb de l'application est la r\u00e9f\u00e9rence absolue. Ajoutez-le \u00e0 vos favoris.<\/p>","protected":false},"excerpt":{"rendered":"<p>Disponible \u00e0 partir de la formule \u00ab Marketer \u00bb. Cette page offre une pr\u00e9sentation g\u00e9n\u00e9rale. La r\u00e9f\u00e9rence compl\u00e8te et toujours \u00e0 jour de l'API REST se trouve dans votre interface d'administration WordPress : rendez-vous dans Tableau de bord &gt; Pretty Links &gt; Outils de d\u00e9veloppement &gt; Documentation pour consulter des exemples complets de requ\u00eates et de r\u00e9ponses. Ce guide fait partie de la pr\u00e9sentation du module compl\u00e9mentaire \u00ab Outils de d\u00e9veloppement \u00bb de Pretty Links, le\u2026<\/p>","protected":false},"author":34280,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_strive_editorial_status":"not-started","_strive_copy_of":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"ht-kb-category":[716],"ht-kb-tag":[],"class_list":["post-18695","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-developer-tools"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Available on the Marketer plan and above. This page is a high-level orientation. The full, always-up-to-date REST API reference lives inside your WordPress admin \u2014 go to Dashboard &gt; Pretty Links &gt; Developer Tools &gt; Docs for complete request and response examples. This guide is part of the Pretty Links Developer Tools Add-on Overview, the\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"Nikola Mihajlovic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"PrettyLinks\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"REST API Reference | PrettyLinks\" \/>\n\t\t<meta property=\"og:description\" content=\"Available on the Marketer plan and above. This page is a high-level orientation. The full, always-up-to-date REST API reference lives inside your WordPress admin \u2014 go to Dashboard &gt; Pretty Links &gt; Developer Tools &gt; Docs for complete request and response examples. This guide is part of the Pretty Links Developer Tools Add-on Overview, the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-07-10T09:16:30+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-07-20T11:36:26+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"REST API Reference | PrettyLinks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Available on the Marketer plan and above. This page is a high-level orientation. The full, always-up-to-date REST API reference lives inside your WordPress admin \u2014 go to Dashboard &gt; Pretty Links &gt; Developer Tools &gt; Docs for complete request and response examples. This guide is part of the Pretty Links Developer Tools Add-on Overview, the\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/rest-api-reference\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/prettylinks.com\\\/fr\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/#listItem\",\"name\":\"Articles\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/#listItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/doc-categories\\\/add-ons\\\/#listItem\",\"name\":\"Add-ons\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/doc-categories\\\/add-ons\\\/#listItem\",\"position\":3,\"name\":\"Add-ons\",\"item\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/doc-categories\\\/add-ons\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/doc-categories\\\/developer-tools\\\/#listItem\",\"name\":\"Developer Tools\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/#listItem\",\"name\":\"Articles\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/doc-categories\\\/developer-tools\\\/#listItem\",\"position\":4,\"name\":\"Developer Tools\",\"item\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/doc-categories\\\/developer-tools\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/rest-api-reference\\\/#listItem\",\"name\":\"REST API Reference\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/doc-categories\\\/add-ons\\\/#listItem\",\"name\":\"Add-ons\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/rest-api-reference\\\/#listItem\",\"position\":5,\"name\":\"REST API Reference\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/doc-categories\\\/developer-tools\\\/#listItem\",\"name\":\"Developer Tools\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/#organization\",\"name\":\"PrettyLinks\",\"description\":\"Top Affiliate Link & URL Shortener for WordPress\",\"url\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\",\"url\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/blog\\\/author\\\/nikolacaseproof-com\\\/\",\"name\":\"Nikola Mihajlovic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/rest-api-reference\\\/#authorImage\",\"url\":\"https:\\\/\\\/prettylinks.com\\\/wp-content\\\/litespeed\\\/avatar\\\/1edf820c48f9c430f380efe81887b154.jpg?ver=1786755126\",\"width\":96,\"height\":96,\"caption\":\"Nikola Mihajlovic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/rest-api-reference\\\/#webpage\",\"url\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/rest-api-reference\\\/\",\"name\":\"REST API Reference | PrettyLinks\",\"description\":\"Available on the Marketer plan and above. This page is a high-level orientation. The full, always-up-to-date REST API reference lives inside your WordPress admin \\u2014 go to Dashboard > Pretty Links > Developer Tools > Docs for complete request and response examples. This guide is part of the Pretty Links Developer Tools Add-on Overview, the\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/rest-api-reference\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"datePublished\":\"2026-07-10T03:16:30-06:00\",\"dateModified\":\"2026-07-20T05:36:26-06:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/\",\"name\":\"PrettyLinks\",\"description\":\"Top Affiliate Link & URL Shortener for WordPress\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>REST API Reference | PrettyLinks<\/title>\n\n","aioseo_head_json":{"title":"R\u00e9f\u00e9rence de l'API REST | PrettyLinks","description":"Disponible \u00e0 partir de la formule \u00ab Marketer \u00bb. Cette page offre une pr\u00e9sentation g\u00e9n\u00e9rale. La documentation compl\u00e8te et constamment mise \u00e0 jour de l'API REST se trouve dans votre interface d'administration WordPress : rendez-vous dans Tableau de bord &gt; Pretty Links &gt; Outils de d\u00e9veloppement &gt; Documentation pour consulter des exemples complets de requ\u00eates et de r\u00e9ponses. Ce guide fait partie de la pr\u00e9sentation du module compl\u00e9mentaire \u00ab Outils de d\u00e9veloppement \u00bb de Pretty Links, le","canonical_url":"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr#listItem","position":1,"name":"Home","item":"https:\/\/prettylinks.com\/fr","nextItem":{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/docs\/#listItem","name":"Articles"}},{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/docs\/#listItem","position":2,"name":"Articles","item":"https:\/\/prettylinks.com\/fr\/docs\/","nextItem":{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/doc-categories\/add-ons\/#listItem","name":"Add-ons"},"previousItem":{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/doc-categories\/add-ons\/#listItem","position":3,"name":"Add-ons","item":"https:\/\/prettylinks.com\/fr\/doc-categories\/add-ons\/","nextItem":{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/doc-categories\/developer-tools\/#listItem","name":"Developer Tools"},"previousItem":{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/docs\/#listItem","name":"Articles"}},{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/doc-categories\/developer-tools\/#listItem","position":4,"name":"Developer Tools","item":"https:\/\/prettylinks.com\/fr\/doc-categories\/developer-tools\/","nextItem":{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/#listItem","name":"REST API Reference"},"previousItem":{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/doc-categories\/add-ons\/#listItem","name":"Add-ons"}},{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/#listItem","position":5,"name":"REST API Reference","previousItem":{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/doc-categories\/developer-tools\/#listItem","name":"Developer Tools"}}]},{"@type":"Organization","@id":"https:\/\/prettylinks.com\/fr\/#organization","name":"PrettyLinks","description":"Top Affiliate Link & URL Shortener for WordPress","url":"https:\/\/prettylinks.com\/fr\/"},{"@type":"Person","@id":"https:\/\/prettylinks.com\/fr\/blog\/author\/nikolacaseproof-com\/#author","url":"https:\/\/prettylinks.com\/fr\/blog\/author\/nikolacaseproof-com\/","name":"Nikola Mihajlovic","image":{"@type":"ImageObject","@id":"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/#authorImage","url":"https:\/\/prettylinks.com\/wp-content\/litespeed\/avatar\/1edf820c48f9c430f380efe81887b154.jpg?ver=1786755126","width":96,"height":96,"caption":"Nikola Mihajlovic"}},{"@type":"WebPage","@id":"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/#webpage","url":"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/","name":"REST API Reference | PrettyLinks","description":"Available on the Marketer plan and above. This page is a high-level orientation. The full, always-up-to-date REST API reference lives inside your WordPress admin \u2014 go to Dashboard > Pretty Links > Developer Tools > Docs for complete request and response examples. This guide is part of the Pretty Links Developer Tools Add-on Overview, the","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/prettylinks.com\/fr\/#website"},"breadcrumb":{"@id":"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/#breadcrumblist"},"author":{"@id":"https:\/\/prettylinks.com\/fr\/blog\/author\/nikolacaseproof-com\/#author"},"creator":{"@id":"https:\/\/prettylinks.com\/fr\/blog\/author\/nikolacaseproof-com\/#author"},"datePublished":"2026-07-10T03:16:30-06:00","dateModified":"2026-07-20T05:36:26-06:00"},{"@type":"WebSite","@id":"https:\/\/prettylinks.com\/fr\/#website","url":"https:\/\/prettylinks.com\/fr\/","name":"PrettyLinks","description":"Top Affiliate Link & URL Shortener for WordPress","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/prettylinks.com\/fr\/#organization"}}]},"og:locale":"fr_FR","og:site_name":"PrettyLinks","og:type":"article","og:title":"REST API Reference | PrettyLinks","og:description":"Available on the Marketer plan and above. This page is a high-level orientation. The full, always-up-to-date REST API reference lives inside your WordPress admin \u2014 go to Dashboard &gt; Pretty Links &gt; Developer Tools &gt; Docs for complete request and response examples. This guide is part of the Pretty Links Developer Tools Add-on Overview, the","og:url":"https:\/\/prettylinks.com\/fr\/docs\/rest-api-reference\/","article:published_time":"2026-07-10T09:16:30+00:00","article:modified_time":"2026-07-20T11:36:26+00:00","twitter:card":"summary_large_image","twitter:title":"REST API Reference | PrettyLinks","twitter:description":"Available on the Marketer plan and above. This page is a high-level orientation. The full, always-up-to-date REST API reference lives inside your WordPress admin \u2014 go to Dashboard &gt; Pretty Links &gt; Developer Tools &gt; Docs for complete request and response examples. This guide is part of the Pretty Links Developer Tools Add-on Overview, the"},"aioseo_meta_data":{"post_id":"18695","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"WebPage","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-07-20 11:36:46","breadcrumb_settings":null,"limit_modified_date":false,"open_ai":null,"ai":null,"created":"2026-07-09 15:11:08","updated":"2026-07-27 17:44:31"},"_links":{"self":[{"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb\/18695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/users\/34280"}],"replies":[{"embeddable":true,"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/comments?post=18695"}],"version-history":[{"count":1,"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb\/18695\/revisions"}],"predecessor-version":[{"id":18919,"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb\/18695\/revisions\/18919"}],"wp:attachment":[{"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/media?parent=18695"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb-category?post=18695"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb-tag?post=18695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}