{"id":18697,"date":"2026-07-10T03:16:34","date_gmt":"2026-07-10T09:16:34","guid":{"rendered":"https:\/\/prettylinks.com\/?post_type=ht_kb&#038;p=18697"},"modified":"2026-07-20T05:36:29","modified_gmt":"2026-07-20T11:36:29","slug":"webhooks","status":"publish","type":"ht_kb","link":"https:\/\/prettylinks.com\/fr\/docs\/webhooks\/","title":{"rendered":"Crochets Web"},"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\">Les webhooks permettent \u00e0 Pretty Links de savoir <em>autres syst\u00e8mes<\/em> lorsqu'un \u00e9v\u00e9nement se produit. Chaque fois qu'un lien est ajout\u00e9, modifi\u00e9, supprim\u00e9, restaur\u00e9 ou retir\u00e9, Pretty Links envoie une requ\u00eate HTTP POST \u00e0 l'URL que vous avez indiqu\u00e9e, avec un corps JSON d\u00e9crivant l'\u00e9v\u00e9nement.<\/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;6a805c744b451&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a805c744b451\" 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-2.png\" alt=\"Outils de d\u00e9veloppement Pretty Links \u2014 Cl\u00e9s API et webhooks\" class=\"wp-image-18696\" srcset=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2.png 1600w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-300x188.png 300w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-1024x640.png 1024w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-768x480.png 768w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-50x31.png 50w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-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=\"adding-a-subscription\"><a href=\"#adding-a-subscription\">Ajouter un abonnement<\/a><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>Aller \u00e0 <strong>Tableau de bord &gt; Pretty Links &gt; Outils de d\u00e9veloppement &gt; Webhooks<\/strong>.<\/li>\n\n\n<li>Cliquez sur <strong>Ajouter un abonnement<\/strong>.<\/li>\n\n\n<li>Veuillez remplir :\n\n<ul class=\"wp-block-list\">\n<li><strong>URL cible<\/strong> \u2014 L'URL HTTPS compl\u00e8te vers laquelle les \u00ab Pretty Links \u00bb doivent envoyer une requ\u00eate POST. Il s'agit g\u00e9n\u00e9ralement d'une URL de webhook fournie par Zapier, Make, n8n, votre point de terminaison personnalis\u00e9 ou un webhook entrant de Slack\/Teams ;<\/li>\n<li><strong>Types d'\u00e9v\u00e9nements<\/strong> \u2014 Quels \u00e9v\u00e9nements doivent d\u00e9clencher ce webhook (voir ci-dessous) ;<\/li>\n<li><strong>Description<\/strong> \u2014 Libell\u00e9 facultatif pour vous rappeler \u00e0 quoi sert cet abonnement.<\/li>\n<\/ul>\n<\/li>\n\n\n<li>Cliquez sur <strong>\u00c9conomiser<\/strong>.<\/li>\n\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a805c744b9a5&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a805c744b9a5\" 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-2.png\" alt=\"Outils de d\u00e9veloppement Pretty Links \u2014 Cl\u00e9s API et webhooks\" class=\"wp-image-18696\" srcset=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2.png 1600w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-300x188.png 300w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-1024x640.png 1024w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-768x480.png 768w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-50x31.png 50w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-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<p class=\"wp-block-paragraph\">L'abonnement est d\u00e9sormais actif. La prochaine fois qu'un \u00e9v\u00e9nement correspondant se produira, votre URL cible recevra une requ\u00eate POST.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"event-types\"><a href=\"#event-types\">Types d'\u00e9v\u00e9nements<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Vous pouvez vous abonner \u00e0 un \u00e9v\u00e9nement, \u00e0 plusieurs \u00e9v\u00e9nements ou \u00e0 tous les \u00e9v\u00e9nements.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u00c9v\u00e9nement<\/th><th>Se d\u00e9clenche lorsque<\/th><\/tr><\/thead><tbody>\n<tr><td><code>lien ajout\u00e9<\/code><\/td><td>Un nouveau Pretty Link est cr\u00e9\u00e9<\/td><\/tr>\n<tr><td><code>lien-mis \u00e0 jour<\/code><\/td><td>Un \u00ab Pretty Link \u00bb existant est modifi\u00e9<\/td><\/tr>\n<tr><td><code>lien supprim\u00e9<\/code><\/td><td>Un \u00ab Pretty Link \u00bb a \u00e9t\u00e9 d\u00e9plac\u00e9 vers la corbeille<\/td><\/tr>\n<tr><td><code>lien-r\u00e9tabli<\/code><\/td><td>Un Pretty Link supprim\u00e9 est restaur\u00e9 depuis la corbeille<\/td><\/tr>\n<tr><td><code>lien supprim\u00e9<\/code><\/td><td>Un \u00ab Pretty Link \u00bb est d\u00e9finitivement supprim\u00e9<\/td><\/tr>\n<tr><td><code>tous<\/code><\/td><td>Tout ce qui pr\u00e9c\u00e8de (vous recevrez toutes les notifications de lien)<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Choisir <code>tous<\/code> Si vous souhaitez un abonnement unique pour tout couvrir, ou s\u00e9lectionner des \u00e9v\u00e9nements sp\u00e9cifiques si votre syst\u00e8me en aval ne s'int\u00e9resse, par exemple, qu'\u00e0 la cr\u00e9ation de nouveaux liens.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"webhook-security-the-prli-webhook-key-header\"><a href=\"#webhook-security-the-prli-webhook-key-header\">S\u00e9curit\u00e9 des webhooks : l'en-t\u00eate PRLI-WEBHOOK-KEY<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Votre site ne comporte qu'un seul <strong>cl\u00e9 de webhook<\/strong> \u2014 pr\u00e9sent\u00e9 dans <strong>Tableau de bord &gt; Pretty Links &gt; Outils de d\u00e9veloppement<\/strong> ainsi que la cl\u00e9 API. Pretty Links envoie cette cl\u00e9 dans le <code>PRLI-WEBHOOK-KEY<\/code> en-t\u00eate de chaque requ\u00eate POST qu'il envoie vers une URL cible, quel que soit l'abonnement qui a d\u00e9clench\u00e9 l'action.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Votre point de terminaison r\u00e9cepteur doit v\u00e9rifier cet en-t\u00eate. Si la valeur correspond \u00e0 la cl\u00e9 que Pretty Links vous indique dans l'interface d'administration, la requ\u00eate est authentique. Si elle ne correspond pas (ou est absente), la requ\u00eate est falsifi\u00e9e et votre point de terminaison doit l'ignorer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tout comme la cl\u00e9 API, vous pouvez r\u00e9g\u00e9n\u00e9rer la cl\u00e9 de webhook depuis l'interface d'administration si celle-ci venait \u00e0 \u00eatre divulgu\u00e9e. La r\u00e9g\u00e9n\u00e9rer implique de mettre \u00e0 jour la valeur de comparaison dans chaque r\u00e9cepteur que vous avez configur\u00e9.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a805c744c000&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a805c744c000\" 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-2.png\" alt=\"Outils de d\u00e9veloppement Pretty Links \u2014 Cl\u00e9s API et webhooks\" class=\"wp-image-18696\" srcset=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2.png 1600w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-300x188.png 300w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-1024x640.png 1024w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-768x480.png 768w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-50x31.png 50w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-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<p class=\"wp-block-paragraph\">Voici comment prot\u00e9ger votre terminal contre les personnes qui envoient de fausses charges utiles de type \u201c lien ajout\u00e9 \u201d vers votre URL. Sans cette v\u00e9rification de cl\u00e9, toute personne qui devinerait l'URL de votre webhook pourrait d\u00e9clencher votre automatisation en aval.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">La plupart des r\u00e9cepteurs de webhooks (Zapier, Make, code personnalis\u00e9) vous permettent de consulter les en-t\u00eates des messages entrants. Comparez <code>PRLI-WEBHOOK-KEY<\/code> \u00e0 la valeur attendue avant de traiter la charge utile.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"event-log\"><a href=\"#event-log\">Journal des \u00e9v\u00e9nements<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Chaque envoi de webhook \u2014 qu'il ait abouti ou non \u2014 est consign\u00e9 dans le journal des \u00e9v\u00e9nements de l'\u00e9cran \u00ab Webhooks \u00bb. Pour chaque envoi, vous pouvez consulter :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Le type d'\u00e9v\u00e9nement ;<\/li>\n<li>L'URL de destination vers laquelle il a \u00e9t\u00e9 envoy\u00e9 ;<\/li>\n<li>Le code de r\u00e9ponse HTTP renvoy\u00e9 par votre point de terminaison ;<\/li>\n<li>La charge utile compl\u00e8te qui a \u00e9t\u00e9 envoy\u00e9e.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">C'est tr\u00e8s utile pour le d\u00e9bogage. Si un Zap ne se d\u00e9clenche pas, consultez le journal des \u00e9v\u00e9nements : Pretty Links a-t-il bien envoy\u00e9 le webhook ? Votre point de terminaison a-t-il renvoy\u00e9 un code 200 ou un code 500 ? La charge utile correspondait-elle \u00e0 ce que vous attendiez ?<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a805c744c4e1&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a805c744c4e1\" 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-2.png\" alt=\"Outils de d\u00e9veloppement Pretty Links \u2014 Cl\u00e9s API et webhooks\" class=\"wp-image-18696\" srcset=\"https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2.png 1600w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-300x188.png 300w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-1024x640.png 1024w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-768x480.png 768w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-50x31.png 50w, https:\/\/prettylinks.com\/wp-content\/uploads\/2026\/07\/developer-tools-2-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=\"test-send\"><a href=\"#test-send\">Envoi test<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c0 c\u00f4t\u00e9 de chaque abonnement se trouve un <strong>Envoi test<\/strong> action. Cliquez dessus et Pretty Links envoie imm\u00e9diatement un exemple de charge utile \u00e0 votre URL cible, sans attendre qu'un \u00e9v\u00e9nement r\u00e9el se produise.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Utilisez la fonction \u00ab Envoi test \u00bb pour :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>V\u00e9rifier que le raccordement d'un nouvel abonnement est correct ;<\/li>\n<li>V\u00e9rifiez que l'URL cible est accessible ;<\/li>\n<li>Observez la forme de la charge utile dans votre outil en aval ;<\/li>\n<li>Refaites le test apr\u00e8s avoir modifi\u00e9 l'URL cible.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"common-webhook-setups\"><a href=\"#common-webhook-setups\">Configurations courantes des webhooks<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Alerte Slack lors de la cr\u00e9ation d'un lien de campagne :<\/strong> Abonnez-vous \u00e0 <code>lien ajout\u00e9<\/code> et configurez l'URL de destination pour qu'elle pointe vers un webhook entrant de Slack (souvent via Zapier ou Make pour la mise en forme).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Archiver automatiquement dans la feuille de calcul lorsque le lien est supprim\u00e9 :<\/strong> Abonnez-vous \u00e0 <code>lien supprim\u00e9<\/code> et configurez l'URL de destination pour qu'elle pointe vers un webhook Zapier qui ajoute une ligne \u00e0 une feuille Google Sheet intitul\u00e9e \u201c Liens supprim\u00e9s \u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Synchronisation avec un CRM personnalis\u00e9 :<\/strong> Abonnez-vous \u00e0 <code>tous<\/code> et configurez l'URL cible pour qu'elle pointe vers le point de terminaison d'entr\u00e9e de votre CRM. Utilisez le champ \u00ab type d'\u00e9v\u00e9nement \u00bb dans la charge utile pour d\u00e9terminer l'action \u00e0 effectuer de chaque c\u00f4t\u00e9.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"retries-and-failures\"><a href=\"#retries-and-failures\">Nouvelles tentatives et \u00e9checs<\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Si votre point de terminaison renvoie un code de r\u00e9ponse autre que 2xx (ou ne r\u00e9pond pas du tout), la transmission est enregistr\u00e9e comme ayant \u00e9chou\u00e9. V\u00e9rifiez votre point de terminaison, corrigez le probl\u00e8me, puis utilisez la fonction \u00ab Test d'envoi \u00bb pour vous assurer qu'il fonctionne \u00e0 nouveau. Les \u00e9v\u00e9nements r\u00e9els survenus pendant la panne ne sont pas automatiquement rejou\u00e9s ; assurez-vous donc que votre point de terminaison est fiable avant de compter sur les webhooks pour des workflows critiques.<\/p>","protected":false},"excerpt":{"rendered":"<p>Disponible \u00e0 partir de la formule \u00ab Marketer \u00bb. Les webhooks permettent \u00e0 Pretty Links d'informer d'autres syst\u00e8mes lorsqu'un \u00e9v\u00e9nement se produit. Chaque fois qu'un lien est ajout\u00e9, modifi\u00e9, supprim\u00e9 de la corbeille, restaur\u00e9 ou supprim\u00e9, Pretty Links envoie une requ\u00eate HTTP POST \u00e0 l'URL que vous avez indiqu\u00e9e, avec un corps JSON d\u00e9crivant l'\u00e9v\u00e9nement. Ce guide fait partie de la documentation Pretty Links\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-18697","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. Webhooks are how Pretty Links tells other systems when something happens. Every time a link is added, edited, trashed, restored, or removed, Pretty Links sends an HTTP POST to a URL you specify, with a JSON body describing what happened. This guide is part of the Pretty Links\" \/>\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\/webhooks\/\" \/>\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=\"Webhooks | PrettyLinks\" \/>\n\t\t<meta property=\"og:description\" content=\"Available on the Marketer plan and above. Webhooks are how Pretty Links tells other systems when something happens. Every time a link is added, edited, trashed, restored, or removed, Pretty Links sends an HTTP POST to a URL you specify, with a JSON body describing what happened. This guide is part of the Pretty Links\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prettylinks.com\/fr\/docs\/webhooks\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-07-10T09:16:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-07-20T11:36:29+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Webhooks | PrettyLinks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Available on the Marketer plan and above. Webhooks are how Pretty Links tells other systems when something happens. Every time a link is added, edited, trashed, restored, or removed, Pretty Links sends an HTTP POST to a URL you specify, with a JSON body describing what happened. This guide is part of the Pretty Links\" \/>\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\\\/webhooks\\\/#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\\\/webhooks\\\/#listItem\",\"name\":\"Webhooks\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/doc-categories\\\/add-ons\\\/#listItem\",\"name\":\"Add-ons\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/webhooks\\\/#listItem\",\"position\":5,\"name\":\"Webhooks\",\"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\\\/webhooks\\\/#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\\\/webhooks\\\/#webpage\",\"url\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/webhooks\\\/\",\"name\":\"Webhooks | PrettyLinks\",\"description\":\"Available on the Marketer plan and above. Webhooks are how Pretty Links tells other systems when something happens. Every time a link is added, edited, trashed, restored, or removed, Pretty Links sends an HTTP POST to a URL you specify, with a JSON body describing what happened. This guide is part of the Pretty Links\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/prettylinks.com\\\/fr\\\/docs\\\/webhooks\\\/#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:34-06:00\",\"dateModified\":\"2026-07-20T05:36:29-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>Webhooks | PrettyLinks<\/title>\n\n","aioseo_head_json":{"title":"Webhooks | PrettyLinks","description":"Disponible \u00e0 partir de la formule \u00ab Marketer \u00bb. Les webhooks permettent \u00e0 Pretty Links d'informer d'autres syst\u00e8mes lorsqu'un \u00e9v\u00e9nement se produit. Chaque fois qu'un lien est ajout\u00e9, modifi\u00e9, supprim\u00e9 de la corbeille, restaur\u00e9 ou supprim\u00e9, Pretty Links envoie une requ\u00eate HTTP POST \u00e0 l'URL que vous avez indiqu\u00e9e, avec un corps JSON d\u00e9crivant l'\u00e9v\u00e9nement. Ce guide fait partie de la documentation de Pretty Links","canonical_url":"https:\/\/prettylinks.com\/fr\/docs\/webhooks\/","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\/webhooks\/#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\/webhooks\/#listItem","name":"Webhooks"},"previousItem":{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/doc-categories\/add-ons\/#listItem","name":"Add-ons"}},{"@type":"ListItem","@id":"https:\/\/prettylinks.com\/fr\/docs\/webhooks\/#listItem","position":5,"name":"Webhooks","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\/webhooks\/#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\/webhooks\/#webpage","url":"https:\/\/prettylinks.com\/fr\/docs\/webhooks\/","name":"Webhooks | PrettyLinks","description":"Available on the Marketer plan and above. Webhooks are how Pretty Links tells other systems when something happens. Every time a link is added, edited, trashed, restored, or removed, Pretty Links sends an HTTP POST to a URL you specify, with a JSON body describing what happened. This guide is part of the Pretty Links","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/prettylinks.com\/fr\/#website"},"breadcrumb":{"@id":"https:\/\/prettylinks.com\/fr\/docs\/webhooks\/#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:34-06:00","dateModified":"2026-07-20T05:36:29-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":"Webhooks | PrettyLinks","og:description":"Available on the Marketer plan and above. Webhooks are how Pretty Links tells other systems when something happens. Every time a link is added, edited, trashed, restored, or removed, Pretty Links sends an HTTP POST to a URL you specify, with a JSON body describing what happened. This guide is part of the Pretty Links","og:url":"https:\/\/prettylinks.com\/fr\/docs\/webhooks\/","article:published_time":"2026-07-10T09:16:34+00:00","article:modified_time":"2026-07-20T11:36:29+00:00","twitter:card":"summary_large_image","twitter:title":"Webhooks | PrettyLinks","twitter:description":"Available on the Marketer plan and above. Webhooks are how Pretty Links tells other systems when something happens. Every time a link is added, edited, trashed, restored, or removed, Pretty Links sends an HTTP POST to a URL you specify, with a JSON body describing what happened. This guide is part of the Pretty Links"},"aioseo_meta_data":{"post_id":"18697","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:13","updated":"2026-07-27 17:44:31"},"_links":{"self":[{"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb\/18697","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=18697"}],"version-history":[{"count":1,"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb\/18697\/revisions"}],"predecessor-version":[{"id":18920,"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb\/18697\/revisions\/18920"}],"wp:attachment":[{"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/media?parent=18697"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb-category?post=18697"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/prettylinks.com\/fr\/wp-json\/wp\/v2\/ht-kb-tag?post=18697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}