Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.
‘Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.’;Les fonctions sans serveur permettent d’exécuter du code JavaScript via HubSpot côté serveur, évitant ainsi toute exposition au client. Cela peut être particulièrement important pour effectuer des requêtes d’API contenant des informations sensibles, telles qu’une clé d’API ou d’autres informations d’identification. Lorsque la fonction est appelée, HubSpot l’exécute sur son back-end, ce qui signifie également que vous n’avez pas besoin de fournir vos propres serveurs back-end pour effectuer des requêtes pour votre site web sur le CMS Hub. Les fonctions sans serveur de HubSpot utilisent l’environnement d’exécution NodeJS.Dans ce guide, vous allez découvrir comment créer une fonction sans serveur simple qui récupère un devis auprès d’un service tiers, puis affiche ce devis sur une page de site web. Pour créer et déployer la fonction sans serveur sur votre compte, vous utiliserez un projet développeur HubSpot.Pour un aperçu de haut niveau des fonctions sans serveur, consultez la présentation des fonctions sans serveur. Vous pouvez également consulter la chaîne YouTube des développeurs HubSpot pour découvrir comment utiliser des fonctions sans serveur dans un projet CMS.
Conditions préalables
Avant de commencer ce tutoriel, vous aurez besoin des éléments suivants :
L’ILC HubSpot (dernière version recommandée), qui devra être installée et authentifiée avec le compte que vous utilisez. Pour vérifier quels comptes sont authentifiés, vous pouvez exécuter hs accounts list. En savoir plus sur les premiers pas avec le développement local.
1. Créer un projet local
Commencez par créer un projet localement afin de pouvoir le générer et le déployer sur votre compte.
Dans le terminal, accédez au répertoire dans lequel vous stockerez votre projet à l’aide de la commande cd.
cd Documents/Dev/serverless-function-project
Exécutez hs project create pour créer un nouveau projet.
hs project create
Suivez les invites du terminal pour créer votre projet. Pour le modèle, sélectionnez Créer un projet vide (pas de modèle).
Accédez au nouveau répertoire du projet à l’aide de la commande cd. Par exemple, si vous avez nommé votre projet mon nouveau projet :
cd my-new-project
2. Ajouter une fonction sans serveur au projet
Une fois votre projet créé, ouvrez-le dans l’éditeur de votre choix, tel que VS Code. HubSpot aura automatiquement créé un répertoire de projet avec un répertoire src vide et un fichier de configuration hsproject.json. Pour ajouter une fonction sans serveur au projet, créez un répertoire app dans le répertoire src, puis ajoutez-y les répertoires et fichiers suivants :
app/app.json : le fichier de configuration de l’application.
app/app.functions : le répertoire des fonctions sans serveur. Vous pouvez utiliser le nom de votre choix, tant qu’il se termine par .functions.
app/app.functions/function.js : le code JavaScript qui sera exécuté lors de l’appel de la fonction.
app/app.functions/serverless.json : le fichier de configuration de la fonction sans serveur.
app/app.functions/package.json : inclut les dépendances nécessaires.
Copiez l’exemple de code ci-dessous dans vos fichiers locaux respectifs app.json, function.js, serverless.json et package.json. Sous chaque bloc de code .json, vous trouverez également un tableau contenant les définitions des champs.
app.json
function.js
serverless.json
package.json
{ "name": "Serverless function app", "description": "This app runs a serverless function to fetch a quote using the Zen Quotes API.", "scopes": ["crm.objects.contacts.read", "crm.objects.contacts.write"], "uid": "serverless-function-app", "public": false}
Champ
Type
Description
name
Chaîne
Le nom de l’application, qui s’affichera dans l’interface utilisateur de HubSpot.
description
Chaîne
La description de l’application, qui s’affichera dans l’interface utilisateur de HubSpot.
scopes
Tableau
Les domaines auxquels l’application a accès pour authentifier les requêtes avec le jeton d’accès de l’application privée. Les deux domaines ci-dessus sont les domaines minimum requis. Aucun domaine supplémentaire n’est ajouté pour ce tutoriel, car vous n’aurez pas besoin d’utiliser le jeton d’accès de l’application privée pour la requête que vous effectuerez.
uid
Chaîne
L’identifiant unique de l’application. Il peut s’agir de n’importe quelle chaîne, mais doit permettre d’identifier l’application de manière significative l’application. HubSpot identifiera l’application par cet ID afin que vous puissiez modifier le name de l’application localement ou dans HubSpot sans supprimer les données historiques ou d’état, telles que les journaux.
public
Chaîne
Défini sur false pour les applications privées.
Cette fonction extraira un devis aléatoire à partir de l’API Zen Quotes.
const axios = require("axios");exports.main = async context => { try { // Make GET request to the ZenQuotes API const response = await axios.get("https://zenquotes.io/api/random"); // Extract the quote data (first item in the array) const quoteData = response.data[0]; // Log the quote and author to console console.log(`"${quoteData.q}" — ${quoteData.a}`); // Return a properly formatted response with status code and body return { statusCode: 200, body: quoteData, headers: { "Content-Type": "application/json", }, }; } catch (error) { // Handle any errors that occur during the request console.error("Error fetching quote:", error.message); // Return an error response return { statusCode: 500, body: { error: "Failed to fetch quote" }, headers: { "Content-Type": "application/json", }, }; }};
Un objet contenant les détails de configuration de la fonction sans serveur. Cet objet peut avoir n’importe quel nom, mais il doit correspondre au nom du champ associé que vous référencez dans le champ appFunctions de votre fichier serverless.json.
file
Chaîne
Nom du fichier JavaScript contenant le code de la fonction sans serveur à exécuter.
secrets
Tableau
Un tableau contenant les noms des secrets que la fonction utilisera pour authentifier les requêtes. Aucun secret n’est nécessaire pour ce tutoriel.
endpoint
Objet
Un objet contenant des informations sur le point de terminaison que vous pouvez utiliser pour appeler la fonction. Le champ path définit la dernière valeur du chemin d’accès /hs/serverless/<path>, tandis que le champ method définit la méthode de requête.
Les dépendances incluses dans la fonction sans serveur.
Après avoir ajouté le code ci-dessus, enregistrez vos modifications.
3. Charger le projet sur HubSpot
Une fois vos modifications enregistrées, vous pouvez maintenant charger le projet sur HubSpot pour créer et déployer l’application et la fonction sans serveur.
Dans le terminal, exécutez hs project upload.
hs project upload
Confirmez que vous souhaitez créer le projet dans le compte. Vous n’aurez pas besoin de le confirmer une fois la création initiale terminée. Le terminal affichera l’état actuel des étapes de création et de déploiement au fur et à mesure de leur progression.
Une fois le chargement terminé, exécutez hs project open pour afficher le projet dans HubSpot.
hs project open
Dans HubSpot, vous pouvez afficher les détails du projet, créer et déployer des journaux, des journaux de fonctions sans serveur ou encore gérer le projet et l’application. En savoir plus sur la gestion de projets dans HubSpot.
4. Tester la fonction
Une fois la fonction sans serveur déployée, vous pouvez l’invoquer en accédant à son URL publique. Les fonctions sans serveur créées avec des projets développeur ont la structure d’URL publique suivante : https://<domain>/hs/serverless/<endpoint-path-from-config>.
<domain> : vous pouvez utiliser n’importe quel domaine connecté au compte. Par exemple, si siteweb.com et sous-domaine.brand.com sont tous deux connectés au compte, vous pouvez appeler la fonction en utilisant https://website.com/hs/serverless/<path> ou https://subdomain.brand.com/hs/serverless/<path>.
<endpoint-path-from-config> : la valeur dans le champ path dans serverless.json.
Sur la base de l’exemple de code fourni dans ce tutoriel, l’URL publique pour appeler la fonction sera : https://<domain>/hs/serverless/fetch-quote.Pour afficher le résultat de la fonction, accédez à cette URL dans votre navigateur, en remplaçant le domaine par l’un de vos domaines hébergés par HubSpot. Si vous n’avez pas connecté de domaine personnalisé, vous pouvez utiliser l’un des domaines par défaut fournis par HubSpot : <hubId>.hs-sites.com (par exemple, 123456.hs-sites.com). Votre navigateur devrait afficher les données renvoyées par l’API Zen Quotes.
5. Appeler la fonction depuis une page de site web
Maintenant que vous avez créé la fonction sans serveur et confirmé qu’elle renvoie des données, implémentez-la dans une page pour voir les données renvoyées dans un contexte plus réaliste. Pour ce tutoriel, vous allez créer un modèle de page contenant du code JavaScript et HTML personnalisés pour exécuter la fonction et afficher les données de réponse.Tout d’abord, créez un nouveau modèle de page :
Dans votre environnement local, créez un nouveau répertoire pour contenir votre modèle de page. Pour les besoins de ce tutoriel, créez ce répertoire en dehors du répertoire de projet créé par hs project create.
Dans le terminal, accédez à ce répertoire à l’aide de la commande cd.
cd Documents/Dev/serverless-page
Exécutez hs create template "serverless-template" pour créer un nouveau modèle nommé serverless-template.
hs create template "serverless-template"
Sélectionnez le type de modèle de page.
Ouvrez le fichier de modèle de page que vous venez de créer dans votre éditeur, puis remplacez le code du boilerplate par le code ci-dessous. Veillez à remplacer <domain> dans la fonction l’URL de point de terminaison (fetch('http://<domain>/hs/serverless/fetch-quote')) par un domaine connecté à votre compte HubSpot.
<!-- templateType: page label: Serverless function example template isAvailableForNewContent: true--><!doctype html><html> <head> <meta charset="utf-8" /> <title>{{ content.html_title }}</title> <meta name="description" content="{{ content.meta_description }}" /> {{ standard_header_includes }} </head> <body> {% module "page_template_logo" path="@hubspot/logo" label="Logo" %} <!-- Button to fetch quote via serverless function --> <div class="serverless-container"> <h2>Get quote</h2> <p class="subtitle">Click the button to fetch and display a quote.</p> <button id="data-button" type="button">Get quote!</button> <div id="data-container"> <p class="data"></p> </div> </div> <!-- End button section --> {{ standard_footer_includes }} <!-- JavaScript that invokes the serverless function and adds returned data into the "data" text element --> <script> const dataButton = document.getElementById("data-button"); const dataContainer = document.getElementById("data-container"); dataButton.addEventListener("click", function (e) { console.log("Button clicked!"); // Show loading state dataContainer.innerText = "Loading..."; // Replace <domain> with your own domain fetch("http://<domain>/hs/serverless/fetch-quote") .then(response => { if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } // Parse the JSON response return response.json(); }) .then(data => { console.log("Raw data received:", data); // Clear container dataContainer.innerText = ""; // Create the paragraph element const newDataElement = document.createElement("p"); newDataElement.innerText = `"${data.q}" — ${data.a}`; dataContainer.appendChild(newDataElement); }); }); </script> </body></html>
Enregistrez le fichier, puis exécutez hs upload pour le charger dans HubSpot. Suivez les invites du terminal pour sélectionner la source locale et le chemin de destination. Pour ce didacticiel, appuyez simplement sur Entrée pour chaque requête afin d’utiliser les chemins par défaut.
Ensuite, créez une nouvelle page à partir du modèle dans HubSpot.
Accédez au tableau de bord des pages du site web de votre compte HubSpot en exécutant la commande hs open website-pages.
hs open website-pages
Dans votre navigateur, cliquez sur Créer dans l’angle supérieur droit pour créer une nouvelle page.
Dans la boîte de dialogue, sélectionnez un domaine à utiliser, puis attribuez un nom de page. Le domaine de la page devra correspondre au domaine que vous utilisez pour appeler la fonction sans serveur afin d’éviter les erreurs d’origine croisée (CORS). Vous pouvez sélectionner ce domaine dans le menu déroulant ou mettre à jour l’URL du point de terminaison dans le code de modèle de page (fetch('http://<domain>/hs/serverless/fetch-quote')) pour utiliser le domaine que vous sélectionnez lors de cette étape.
Cliquez sur Créer une page.
Sur l’écran de sélection de modèle, recherchez votre nouveau modèle. Vous pouvez utiliser le libellé ou le nom de fichier pour rechercher le modèle (par exemple, « Page d’exemple de fonction sans serveur »). Le modèle apparaîtra dans Autres modèles, car il ne fait pas partie d’un thème.
Cliquez sur Sélectionner un modèle.
Dans l’éditeur de page, cliquez sur Aperçu dans l’angle supérieur droit.
Cliquez sur Ouvrir dans un nouvel onglet.
Dans le nouvel onglet, vous devriez désormais pouvoir cliquer sur le bouton pour récupérer et afficher des devis.
Étapes suivantes
Maintenant que vous avez créé et implémenté une fonction sans serveur qui interagit avec une API tierce, il existe plusieurs façons de continuer à développer votre utilisation des fonctions sans serveur, telles que :
Implémenter le bouton et le code JavaScript dans un module plutôt que de les coder en dur dans le modèle de page. Cela vous donnerait une option plus portable, permettant à la fonction d’être appelée à partir de n’importe quelle page à laquelle le module est ajouté. Pour ce faire, vous devez créer un module, puis ajouter le HTML dans le fichier module.html du module et le JavaScript dans le fichier module.js.
module.html
module.js
<div class="serverless-container"> <h2>Get quote</h2> <p class="subtitle">Click the button to fetch and display a quote.</p> <button id="data-button" type="button">Get quote!</button> <div id="data-container"> <p class="data"></p> </div></div>
const dataButton = document.getElementById("data-button");const dataContainer = document.getElementById("data-container");dataButton.addEventListener("click", function (e) { console.log("Button clicked!"); // Show loading state dataContainer.innerText = "Loading..."; fetch("http://meowmix-2272014.hs-sites.com/hs/serverless/fetch-quote") .then(response => { if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } // Parse the JSON response return response.json(); }) .then(data => { console.log("Raw data received:", data); // Clear container dataContainer.innerText = ""; // Create the paragraph element const newDataElement = document.createElement("p"); newDataElement.innerText = `"${data.q}" — ${data.a}`; dataContainer.appendChild(newDataElement); });});
Dernière modification le 10 février 2026
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"HubSpot docs","colors":{"primary":"#ff4800","light":"#ff4800","dark":"#ff4800"},"logo":{"light":"https://mintcdn.com/fr-hubspot/7RWbCqM3YUQ920wI/logo/logo.svg?fit=max\u0026auto=format\u0026n=7RWbCqM3YUQ920wI\u0026q=85\u0026s=ac3920b55876d38d9fb2f7f845df87fe","dark":"https://mintcdn.com/fr-hubspot/7RWbCqM3YUQ920wI/logo/logo.svg?fit=max\u0026auto=format\u0026n=7RWbCqM3YUQ920wI\u0026q=85\u0026s=ac3920b55876d38d9fb2f7f845df87fe"},"favicon":"https://mintcdn.com/fr-hubspot/xIQf1JSVJHucFILg/favicon.svg?fit=max\u0026auto=format\u0026n=xIQf1JSVJHucFILg\u0026q=85\u0026s=e348a7470d34d1dab6f0f98469f7fe92","appearance":{"default":"light"},"background":{"color":{"dark":"#041617"}},"navbar":{"links":[{"href":"https://developers.hubspot.com/changelog","label":"Changelog"}],"primary":{"type":"button","label":"Sign up","href":"https://app.hubspot.com/signup-hubspot/crm?intent=developer"}},"footer":{"socials":{"facebook":"https://www.facebook.com/hubspot","instagram":"https://www.instagram.com/hubspot","youtube":"https://youtube.com/user/HubSpot","x":"https://x.com/HubSpot","linkedin":"https://www.linkedin.com/company/hubspot","medium":"https://medium.com/@HubSpot"}},"seo":{"metatags":{"language":"fr"}},"fonts":{"heading":{"family":"HubSpot Sans Regular","source":"https://mintlify-assets.b-cdn.net/hubspot/HubSpot%20-%20Sans%20Serif%20-%20Lexend%20Deca%20LexendDeca-Regular.woff2","format":"woff2"},"body":{"family":"HubSpot Sans","source":"https://mintlify-assets.b-cdn.net/hubspot/HubSpot%20-%20Sans%20Serif%20-%20Lexend%20Deca%20LexendDeca-Light.woff2","format":"woff2"}},"errors":{"404":{"redirect":false,"title":"Page not found","description":"Some API reference content has moved as part of the API date-based version release. If you're looking for API reference articles, check out the [latest API reference overview](/api-reference/latest/overview)."}},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"global":{"languages":[{"language":"en","href":"https://developers.hubspot.com/docs"},{"language":"es","href":"https://developers.hubspot.es/docs"},{"language":"de","href":"https://developers.hubspot.de/docs"},{"language":"fr","default":true,"href":"https://developers.hubspot.fr/docs"},{"language":"pt-BR","href":"https://br.developers.hubspot.com/docs"},{"language":"ja","href":"https://developers.hubspot.jp/docs"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fr-hubspot","hasAudioNarration":false,"actualSubdomain":"fr-hubspot","customDomains":["developers.hubspot.fr"],"gitSource":{"type":"github","owner":"hubspotengineering","repo":"developer-docs-mintlify","deployBranch":"main","contentDirectory":"fr-fr","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aff54d0a79a2a42f49b8713","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"APIs","count":3667},{"language":"default","tag":"CRM","count":1975},{"language":"default","tag":"Objets","count":1237},{"language":"default","tag":"CMS","count":814},{"language":"default","tag":"Lot","count":662},{"language":"default","tag":"Marketing","count":279},{"language":"default","tag":"Activités","count":235},{"language":"default","tag":"Blogs","count":224},{"language":"default","tag":"Pages","count":209},{"language":"default","tag":"Applications","count":159}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","href":"/docs/_mintlify/custom/fr-hubspot/4c706df752368ca9/styles.css"}]}
{"page":{"pagePath":"cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","slug":"/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","pageMetadata":{"title":"Démarrer avec les fonctions sans serveur","description":"Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.","public":true,"en_link":"https://developers.hubspot.com/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","es_link":"https://developers.hubspot.es/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","de_link":"https://developers.hubspot.de/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","pt-BR_link":"https://br.developers.hubspot.com/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","ja_link":"https://developers.hubspot.jp/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","id":"44b13bf1-686f-44f1-88f4-c3394f3ab527","href":"/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,img:`img`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tab,Table,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`‘Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.’;`}),`\n`,`\n`,_jsxs(_components.p,{children:[`Les fonctions sans serveur permettent d’exécuter du code JavaScript via HubSpot côté serveur, évitant ainsi toute exposition au client. Cela peut être particulièrement important pour effectuer des requêtes d’API contenant des informations sensibles, telles qu’une clé d’API ou d’autres informations d’identification. Lorsque la fonction est appelée, HubSpot l’exécute sur son back-end, ce qui signifie également que vous n’avez pas besoin de fournir vos propres serveurs back-end pour effectuer des requêtes pour votre site web sur le CMS Hub. Les fonctions sans serveur de HubSpot utilisent l’environnement d’exécution `,_jsx(_components.a,{href:`https://nodejs.org/en/about/`,children:`NodeJS`}),`.`]}),`\n`,_jsx(_components.p,{children:`Dans ce guide, vous allez découvrir comment créer une fonction sans serveur simple qui récupère un devis auprès d’un service tiers, puis affiche ce devis sur une page de site web. Pour créer et déployer la fonction sans serveur sur votre compte, vous utiliserez un projet développeur HubSpot.`}),`\n`,`\n`,_jsxs(_components.p,{children:[`Pour un aperçu de haut niveau des fonctions sans serveur, consultez la `,_jsx(_components.a,{href:`https://developers.hubspot.com/docs`,children:`présentation des fonctions sans serveur`}),`. Vous pouvez également consulter la `,_jsx(_components.a,{href:`https://www.youtube.com/watch?v=N0arXQOyfXo`,children:`chaîne YouTube des développeurs HubSpot`}),` pour découvrir comment utiliser des fonctions sans serveur dans un projet CMS.`]}),`\n`,_jsx(Heading,{level:`2`,id:`conditions-préalables`,children:`Conditions préalables`}),`\n`,_jsx(_components.p,{children:`Avant de commencer ce tutoriel, vous aurez besoin des éléments suivants\\xA0:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Un compte `,_jsxs(_components.em,{children:[_jsx(_components.strong,{children:`Content Hub`}),` Entreprise`]}),` ou un `,_jsx(_components.a,{href:`https://app.hubspot.com/signup-hubspot/cms-developers`,children:`compte CMS sandbox développeur`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`L’`,_jsx(_components.a,{href:`/developer-tooling/local-development/hubspot-cli/reference#install-the-cli`,children:`ILC HubSpot`}),` (dernière version recommandée), qui devra être installée et authentifiée avec le compte que vous utilisez. Pour vérifier quels comptes sont authentifiés, vous pouvez exécuter `,_jsx(_components.code,{children:`hs accounts list`}),`. En savoir plus sur les `,_jsx(_components.a,{href:`/developer-tooling/local-development/hubspot-cli/install-the-cli`,children:`premiers pas avec le développement local`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-créer-un-projet-local`,children:`1. Créer un projet local`}),`\n`,_jsx(_components.p,{children:`Commencez par créer un projet localement afin de pouvoir le générer et le déployer sur votre compte.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Dans le terminal, accédez au répertoire dans lequel vous stockerez votre projet à l’aide de la commande `,_jsx(_components.code,{children:`cd`}),`.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Documents/Dev/serverless-function-project`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Exécutez `,_jsx(_components.code,{children:`hs project create`}),` pour créer un nouveau projet.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Suivez les invites du terminal pour créer votre projet. Pour le modèle, sélectionnez `,_jsx(_components.strong,{children:`Créer un projet vide (pas de modèle)`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://www.hubspot.fr/hubfs/Knowledge_Base_2023-24-25/terminal-select-empty-project.png`,alt:`Option d'invite de terminal pour créer un projet vide sans modèle`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Accédez au nouveau répertoire du projet à l’aide de la commande `,_jsx(_components.code,{children:`cd`}),`. Par exemple, si vous avez nommé votre projet `,_jsx(_components.em,{children:`mon nouveau projet`}),`\\xA0:`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` my-new-project`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`2-ajouter-une-fonction-sans-serveur-au-projet`,children:`2. Ajouter une fonction sans serveur au projet`}),`\n`,_jsxs(_components.p,{children:[`Une fois votre projet créé, ouvrez-le dans l’éditeur de votre choix, tel que `,_jsx(_components.a,{href:`https://developers.hubspot.com/docs`,children:`VS Code`}),`. HubSpot aura automatiquement créé un répertoire de projet avec un répertoire `,_jsx(_components.code,{children:`src`}),` vide et un fichier de configuration `,_jsx(_components.code,{children:`hsproject.json`}),`. Pour ajouter une fonction sans serveur au projet, créez un répertoire `,_jsx(_components.code,{children:`app`}),` dans le répertoire `,_jsx(_components.code,{children:`src`}),`, puis ajoutez-y les répertoires et fichiers suivants\\xA0:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`app/app.json`}),`\\xA0: le fichier de configuration de l’application.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`app/app.functions`}),`\\xA0: le répertoire des fonctions sans serveur. Vous pouvez utiliser le nom de votre choix, tant qu’il se termine par `,_jsx(_components.code,{children:`.functions`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`app/app.functions/function.js`}),`\\xA0: le code JavaScript qui sera exécuté lors de l’appel de la fonction.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`app/app.functions/serverless.json`}),`\\xA0: le fichier de configuration de la fonction sans serveur.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`app/app.functions/package.json`}),`\\xA0: inclut les dépendances nécessaires.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://www.hubspot.fr/hubfs/Knowledge_Base_2023-24-25/project-serverless-functions-structure.png`,alt:`Structure du projet après l'ajout des fichiers et dossiers ci-dessus au répertoire du projet`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Copiez l’exemple de code ci-dessous dans vos fichiers locaux respectifs `,_jsx(_components.code,{children:`app.json`}),`, `,_jsx(_components.code,{children:`function.js`}),`, `,_jsx(_components.code,{children:`serverless.json`}),` et `,_jsx(_components.code,{children:`package.json`}),`. Sous chaque bloc de code `,_jsx(_components.code,{children:`.json`}),`, vous trouverez également un tableau contenant les définitions des champs.`]}),`\n`]}),`\n`,_jsxs(Tabs,{defaultSelected:`0`,children:[_jsxs(Tab,{tabId:`0`,title:`app.json`,id:`app-json`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Serverless function app\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This app runs a serverless function to fetch a quote using the Zen Quotes API.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scopes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"crm.objects.contacts.read\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"crm.objects.contacts.write\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"serverless-function-app\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"public\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Champ`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`name`})}),_jsx(_components.td,{children:`Chaîne`}),_jsx(_components.td,{children:`Le nom de l’application, qui s’affichera dans l’interface utilisateur de HubSpot.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`description`})}),_jsx(_components.td,{children:`Chaîne`}),_jsx(_components.td,{children:`La description de l’application, qui s’affichera dans l’interface utilisateur de HubSpot.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`scopes`})}),_jsx(_components.td,{children:`Tableau`}),_jsx(_components.td,{children:`Les domaines auxquels l’application a accès pour authentifier les requêtes avec le jeton d’accès de l’application privée. Les deux domaines ci-dessus sont les domaines minimum requis. Aucun domaine supplémentaire n’est ajouté pour ce tutoriel, car vous n’aurez pas besoin d’utiliser le jeton d’accès de l’application privée pour la requête que vous effectuerez.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`uid`})}),_jsx(_components.td,{children:`Chaîne`}),_jsxs(_components.td,{children:[`L’identifiant unique de l’application. Il peut s’agir de n’importe quelle chaîne, mais doit permettre d’identifier l’application de manière significative l’application. HubSpot identifiera l’application par cet ID afin que vous puissiez modifier le `,_jsx(_components.code,{children:`name`}),` de l’application localement ou dans HubSpot sans supprimer les données historiques ou d’état, telles que les journaux.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`public`})}),_jsx(_components.td,{children:`Chaîne`}),_jsxs(_components.td,{children:[`Défini sur `,_jsx(_components.code,{children:`false`}),` pour les applications privées.`]})]})]})]})]}),_jsxs(Tab,{tabId:`1`,title:`function.js`,id:`function-js`,children:[_jsxs(_components.p,{children:[`Cette fonction extraira un devis aléatoire à partir de l’`,_jsx(_components.a,{href:`https://zenquotes.io/`,children:`API Zen Quotes`}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`35`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`35`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` axios`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` require`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"axios\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`exports`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`main`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` context`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` try`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Make GET request to the ZenQuotes API`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` axios`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://zenquotes.io/api/random\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Extract the quote data (first item in the array)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` quoteData`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`];`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Log the quote and author to console`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'`\"'}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`quoteData`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`q`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\" — `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`quoteData`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`a`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Return a properly formatted response with status code and body`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` statusCode:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` quoteData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`catch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Handle any errors that occur during the request`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error fetching quote:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Return an error response`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` statusCode:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Failed to fetch quote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})})]}),_jsxs(Tab,{tabId:`2`,title:`serverless.json`,id:`serverless-json`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"appFunctions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quote-function\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"file\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"function.js\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"secrets\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"endpoint\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fetch-quote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Champ`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quote-function`})}),_jsx(_components.td,{children:`Objet`}),_jsxs(_components.td,{children:[`Un objet contenant les détails de configuration de la fonction sans serveur. Cet objet peut avoir n’importe quel nom, mais il doit correspondre au nom du champ associé que vous référencez dans le champ `,_jsx(_components.code,{children:`appFunctions`}),` de votre fichier `,_jsx(_components.code,{children:`serverless.json`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`file`})}),_jsx(_components.td,{children:`Chaîne`}),_jsx(_components.td,{children:`Nom du fichier JavaScript contenant le code de la fonction sans serveur à exécuter.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`secrets`})}),_jsx(_components.td,{children:`Tableau`}),_jsx(_components.td,{children:`Un tableau contenant les noms des secrets que la fonction utilisera pour authentifier les requêtes. Aucun secret n’est nécessaire pour ce tutoriel.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`endpoint`})}),_jsx(_components.td,{children:`Objet`}),_jsxs(_components.td,{children:[`Un objet contenant des informations sur le point de terminaison que vous pouvez utiliser pour appeler la fonction. Le champ `,_jsx(_components.code,{children:`path`}),` définit la dernière valeur du chemin d’accès `,_jsx(_components.code,{children:`/hs/serverless/\u003cpath>`}),`, tandis que le champ `,_jsx(_components.code,{children:`method`}),` définit la méthode de requête.`]})]})]})]})]}),_jsxs(Tab,{tabId:`3`,title:`package.json`,id:`package-json`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example-serverless-function\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.1.0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"author\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"HubSpot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"license\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MIT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dependencies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"@hubspot/api-client\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"^7.0.1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"axios\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"^0.27.2\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Champ`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dependencies`})}),_jsx(_components.td,{children:`Objet`}),_jsx(_components.td,{children:`Les dépendances incluses dans la fonction sans serveur.`})]})})]})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Après avoir ajouté le code ci-dessus, enregistrez vos modifications.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`3-charger-le-projet-sur-hubspot`,children:`3. Charger le projet sur HubSpot`}),`\n`,_jsx(_components.p,{children:`Une fois vos modifications enregistrées, vous pouvez maintenant charger le projet sur HubSpot pour créer et déployer l’application et la fonction sans serveur.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Dans le terminal, exécutez `,_jsx(_components.code,{children:`hs project upload`}),`.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` upload`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Confirmez que vous souhaitez créer le projet dans le compte. Vous n’aurez pas besoin de le confirmer une fois la création initiale terminée. Le terminal affichera l’état actuel des étapes de création et de déploiement au fur et à mesure de leur progression.`}),`\n`,_jsxs(_components.li,{children:[`Une fois le chargement terminé, exécutez `,_jsx(_components.code,{children:`hs project open`}),` pour afficher le projet dans HubSpot.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` project`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` open`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Dans HubSpot, vous pouvez afficher les détails du projet, créer et déployer des journaux, des journaux de fonctions sans serveur ou encore gérer le projet et l’application. En savoir plus sur `,_jsx(_components.a,{href:`https://developers.hubspot.com/docs#view-the-project-in-hubspot`,children:`la gestion de projets dans HubSpot`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`4-tester-la-fonction`,children:`4. Tester la fonction`}),`\n`,_jsxs(_components.p,{children:[`Une fois la fonction sans serveur déployée, vous pouvez l’invoquer en accédant à son URL publique. Les fonctions sans serveur créées avec des projets développeur ont la structure d’URL publique suivante\\xA0: `,_jsx(_components.code,{children:`https://\u003cdomain>/hs/serverless/\u003cendpoint-path-from-config>`}),`.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\u003cdomain>`}),`\\xA0: vous pouvez utiliser n’importe quel domaine connecté au compte. Par exemple, si siteweb.com et sous-domaine.brand.com sont tous deux connectés au compte, vous pouvez appeler la fonction en utilisant `,_jsx(_components.code,{children:`https://website.com/hs/serverless/\u003cpath>`}),` ou `,_jsx(_components.code,{children:`https://subdomain.brand.com/hs/serverless/\u003cpath>`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`\u003cendpoint-path-from-config>`}),`\\xA0: la valeur dans le champ `,_jsx(_components.code,{children:`path`}),` dans `,_jsx(_components.code,{children:`serverless.json`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Sur la base de l’exemple de code fourni dans ce tutoriel, l’URL publique pour appeler la fonction sera\\xA0: `,_jsx(_components.code,{children:`https://\u003cdomain>/hs/serverless/fetch-quote`}),`.`]}),`\n`,`\n`,_jsxs(_components.p,{children:[`Pour afficher le résultat de la fonction, accédez à cette URL dans votre navigateur, en remplaçant le domaine par l’un de vos domaines hébergés par HubSpot. Si vous n’avez pas connecté de domaine personnalisé, vous pouvez utiliser l’un des domaines par défaut fournis par HubSpot\\xA0: `,_jsx(_components.code,{children:`\u003chubId>.hs-sites.com`}),` (par exemple, `,_jsx(_components.code,{children:`123456.hs-sites.com`}),`). Votre navigateur devrait afficher les données renvoyées par l’API Zen Quotes.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://www.hubspot.fr/hubfs/Knowledge_Base_2023-24-25/zen-quotes-api-return.png`,alt:`Navigateur affichant les données renvoyées par l'API Zen Quotes`})}),`\n`,_jsx(Heading,{level:`2`,id:`5-appeler-la-fonction-depuis-une-page-de-site-web`,children:`5. Appeler la fonction depuis une page de site web`}),`\n`,_jsx(_components.p,{children:`Maintenant que vous avez créé la fonction sans serveur et confirmé qu’elle renvoie des données, implémentez-la dans une page pour voir les données renvoyées dans un contexte plus réaliste. Pour ce tutoriel, vous allez créer un modèle de page contenant du code JavaScript et HTML personnalisés pour exécuter la fonction et afficher les données de réponse.`}),`\n`,_jsx(_components.p,{children:`Tout d’abord, créez un nouveau modèle de page\\xA0:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Dans votre environnement local, créez un nouveau répertoire pour contenir votre modèle de page. Pour les besoins de ce tutoriel, créez ce répertoire en dehors du répertoire de projet créé par `,_jsx(_components.code,{children:`hs project create`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Dans le terminal, accédez à ce répertoire à l’aide de la commande `,_jsx(_components.code,{children:`cd`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Documents/Dev/serverless-page`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Exécutez `,_jsx(_components.code,{children:`hs create template \"serverless-template\"`}),` pour créer un nouveau modèle nommé `,_jsx(_components.code,{children:`serverless-template`}),`.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` template`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"serverless-template\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Sélectionnez le type de modèle de `,_jsx(_components.strong,{children:`page`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Ouvrez le fichier de modèle de page que vous venez de créer dans votre éditeur, puis remplacez le code du boilerplate par le code ci-dessous. Veillez à remplacer `,_jsx(_components.code,{children:`\u003cdomain>`}),` dans la fonction l’URL de point de terminaison (`,_jsx(_components.code,{children:`fetch('http://\u003cdomain>/hs/serverless/fetch-quote')`}),`) par un domaine connecté à votre compte HubSpot.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`64`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`64`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`\u003c!--`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` templateType: page`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` label: Serverless function example template`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` isAvailableForNewContent: true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-->`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c!`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`doctype`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` html`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`html`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`head`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`meta`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` charset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"utf-8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{{ content.html_title }}`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`meta`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"description\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` content`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{{ content.meta_description }}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {{ standard_header_includes }}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`head`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`body`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {% module \"page_template_logo\" path=\"@hubspot/logo\" label=\"Logo\" %}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` \u003c!-- Button to fetch quote via serverless function -->`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"serverless-container\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`h2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Get quote`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`h2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subtitle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Click the button to fetch and display a quote.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data-button\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"button\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Get quote!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data-container\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` \u003c!-- End button section -->`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {{ standard_footer_includes }}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` \u003c!-- JavaScript that invokes the serverless function`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` and adds returned data into the \"data\" text element -->`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` dataButton`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getElementById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data-button\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` dataContainer`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getElementById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data-container\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dataButton`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addEventListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"click\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Button clicked!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Show loading state`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dataContainer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`innerText`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Loading...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Replace \u003cdomain> with your own domain`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://\u003cdomain>/hs/serverless/fetch-quote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ok`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` throw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`HTTP error! Status: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Parse the JSON response`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Raw data received:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Clear container`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dataContainer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`innerText`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Create the paragraph element`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` newDataElement`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` newDataElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`innerText`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' `\"'}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`q`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\" — `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`a`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dataContainer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`appendChild`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`newDataElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`body`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`html`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Enregistrez le fichier, puis exécutez `,_jsx(_components.code,{children:`hs upload`}),` pour le charger dans HubSpot. Suivez les invites du terminal pour sélectionner la source locale et le chemin de destination. Pour ce didacticiel, appuyez simplement sur `,_jsx(_components.strong,{children:`Entrée`}),` pour chaque requête afin d’utiliser les chemins par défaut.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Ensuite, créez une nouvelle page à partir du modèle dans HubSpot.`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Accédez au tableau de bord des pages du site web de votre compte HubSpot en exécutant la commande `,_jsx(_components.code,{children:`hs open website-pages`}),`.`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`hs`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` open`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` website-pages`})]}),`\n`]})})}),`\n`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Dans votre navigateur, cliquez sur `,_jsx(_components.strong,{children:`Créer`}),` dans l’angle supérieur droit pour créer une nouvelle page.`]}),`\n`,_jsxs(_components.li,{children:[`Dans la boîte de dialogue, sélectionnez un `,_jsx(_components.strong,{children:`domaine`}),` à utiliser, puis attribuez un `,_jsx(_components.strong,{children:`nom de page`}),`. Le domaine de la page devra correspondre au domaine que vous utilisez pour appeler la fonction sans serveur afin d’éviter les erreurs d’origine croisée (CORS). Vous pouvez sélectionner ce domaine dans le menu déroulant ou mettre à jour l’URL du point de terminaison dans le code de modèle de page (`,_jsx(_components.code,{children:`fetch('http://\u003cdomain>/hs/serverless/fetch-quote')`}),`) pour utiliser le domaine que vous sélectionnez lors de cette étape.`]}),`\n`,_jsxs(_components.li,{children:[`Cliquez sur `,_jsx(_components.strong,{children:`Créer une page`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Sur l’écran de sélection de modèle, recherchez votre nouveau modèle. Vous pouvez utiliser le libellé ou le nom de fichier pour rechercher le modèle (par exemple, «\\xA0Page d’exemple de fonction sans serveur\\xA0»). Le modèle apparaîtra dans `,_jsx(_components.em,{children:`Autres modèles`}),`, car il ne fait pas partie d’un thème.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://www.hubspot.fr/hubfs/Knowledge_Base_2023-24-25/select-new-template.png`,alt:`Section Autres modèles montrant le modèle de page nouvellement créé`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Cliquez sur `,_jsx(_components.strong,{children:`Sélectionner un modèle`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Dans l’éditeur de page, cliquez sur `,_jsx(_components.strong,{children:`Aperçu`}),` dans l’angle supérieur droit.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://www.hubspot.fr/hubfs/page-preview.png`,alt:`Bouton d'aperçu de l'éditeur de page`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Cliquez sur `,_jsx(_components.strong,{children:`Ouvrir dans un nouvel onglet`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Dans le nouvel onglet, vous devriez désormais pouvoir cliquer sur le bouton pour récupérer et afficher des devis.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://www.hubspot.fr/hubfs/Knowledge_Base_2023-24-25/quote-button-demonstration.gif`,alt:`Exemple de bouton qui récupère et affiche des devis à partir de l'API Zen Quotes`})}),`\n`,_jsx(Heading,{level:`2`,id:`étapes-suivantes`,children:`Étapes suivantes`}),`\n`,_jsx(_components.p,{children:`Maintenant que vous avez créé et implémenté une fonction sans serveur qui interagit avec une API tierce, il existe plusieurs façons de continuer à développer votre utilisation des fonctions sans serveur, telles que\\xA0:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/cms/reference/serverless-functions/serverless-functions-in-projects#authentication`,children:`Inclure l’authentification dans une requête`}),` pour effectuer des appels aux API de HubSpot ou à d’autres API authentifiées par des tiers.`]}),`\n`,_jsxs(_components.li,{children:[`Implémenter le bouton et le code JavaScript dans un module plutôt que de les coder en dur dans le modèle de page. Cela vous donnerait une option plus portable, permettant à la fonction d’être appelée à partir de n’importe quelle page à laquelle le module est ajouté. Pour ce faire, vous devez créer un module, puis ajouter le HTML dans le fichier `,_jsx(_components.code,{children:`module.html`}),` du module et le JavaScript dans le fichier `,_jsx(_components.code,{children:`module.js`}),`.`]}),`\n`]}),`\n`,_jsxs(Tabs,{defaultSelected:`0`,children:[_jsx(Tab,{tabId:`0`,title:`module.html`,id:`module-html`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"serverless-container\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`h2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Get quote`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`h2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subtitle\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Click the button to fetch and display a quote.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data-button\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"button\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Get quote!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data-container\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`p`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`div`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})})}),_jsx(Tab,{tabId:`1`,title:`module.js`,id:`module-js`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`30`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` dataButton`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getElementById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data-button\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` dataContainer`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getElementById`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data-container\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dataButton`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addEventListener`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"click\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`e`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Button clicked!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Show loading state`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dataContainer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`innerText`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Loading...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://meowmix-2272014.hs-sites.com/hs/serverless/fetch-quote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ok`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` throw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`HTTP error! Status: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Parse the JSON response`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Raw data received:\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Clear container`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dataContainer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`innerText`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Create the paragraph element`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` newDataElement`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"p\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` newDataElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`innerText`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' `\"'}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`q`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\" — `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`a`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` dataContainer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`appendChild`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`newDataElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Démarrer avec les fonctions sans serveur","description":"Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.","public":true,"en_link":"https://developers.hubspot.com/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","es_link":"https://developers.hubspot.es/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","de_link":"https://developers.hubspot.de/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","pt-BR_link":"https://br.developers.hubspot.com/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","ja_link":"https://developers.hubspot.jp/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","id":"44b13bf1-686f-44f1-88f4-c3394f3ab527","href":"/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Conditions préalables","slug":"conditions-préalables","depth":2,"children":[]},{"title":"1. Créer un projet local","slug":"1-créer-un-projet-local","depth":2,"children":[]},{"title":"2. Ajouter une fonction sans serveur au projet","slug":"2-ajouter-une-fonction-sans-serveur-au-projet","depth":2,"children":[]},{"title":"3. Charger le projet sur HubSpot","slug":"3-charger-le-projet-sur-hubspot","depth":2,"children":[]},{"title":"4. Tester la fonction","slug":"4-tester-la-fonction","depth":2,"children":[]},{"title":"5. Appeler la fonction depuis une page de site web","slug":"5-appeler-la-fonction-depuis-une-page-de-site-web","depth":2,"children":[]},{"title":"Étapes suivantes","slug":"étapes-suivantes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/fr-hubspot/0fde6172ff80db37/hs-scripts.js","/docs/_mintlify/custom/fr-hubspot/877b3a11a4c8fb21/footer.js"],"subdomain":"fr-hubspot","siteName":"HubSpot docs","title":"Démarrer avec les fonctions sans serveur - HubSpot docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-26T22:27:43.232Z","gitLastModified":"2026-02-10T16:33:31.000Z","originalFileLocation":"cms/start-building/features/serverless-functions/getting-started-with-serverless-functions.mdx","locale":"fr"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.\">\u003cmeta data-mint-head name=\"application-name\" content=\"HubSpot docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/fr-hubspot/w1hwRp6fDG_Sw3kt/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/fr-hubspot/w1hwRp6fDG_Sw3kt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/fr-hubspot/w1hwRp6fDG_Sw3kt/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/fr-hubspot/w1hwRp6fDG_Sw3kt/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/fr-hubspot/w1hwRp6fDG_Sw3kt/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/fr-hubspot/w1hwRp6fDG_Sw3kt/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/fr-hubspot/w1hwRp6fDG_Sw3kt/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/fr-hubspot/w1hwRp6fDG_Sw3kt/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/fr-hubspot/w1hwRp6fDG_Sw3kt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Démarrer avec les fonctions sans serveur - HubSpot docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"HubSpot docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fr-hubspot.mintlify.site/docs/_mintlify/api/og/v2?division=Fonctions+sans+serveur\u0026amp;title=D%C3%A9marrer+avec+les+fonctions+sans+serveur\u0026amp;description=Cr%C3%A9ez+votre+premi%C3%A8re+fonction+sans+serveur+sur+le+CMS+Hub+et+obtenez+une+r%C3%A9ponse+%C3%A0+partir+de+celle-ci.\u0026amp;theme=a769f3b3370782bdb1539514\u0026amp;signature=41acc8ffc0b0cb54079cc04d69ef7548de162255ef812633e9591c635361ff08\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Démarrer avec les fonctions sans serveur - HubSpot docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fr-hubspot.mintlify.site/docs/_mintlify/api/og/v2?division=Fonctions+sans+serveur\u0026amp;title=D%C3%A9marrer+avec+les+fonctions+sans+serveur\u0026amp;description=Cr%C3%A9ez+votre+premi%C3%A8re+fonction+sans+serveur+sur+le+CMS+Hub+et+obtenez+une+r%C3%A9ponse+%C3%A0+partir+de+celle-ci.\u0026amp;theme=a769f3b3370782bdb1539514\u0026amp;signature=41acc8ffc0b0cb54079cc04d69ef7548de162255ef812633e9591c635361ff08\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/fr-hubspot/w1hwRp6fDG_Sw3kt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"HubSpot docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff4800\">\u003cmeta data-mint-head name=\"language\" content=\"fr\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.hubspot.fr/#organization\",\"name\":\"HubSpot docs\",\"url\":\"https://developers.hubspot.fr\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fr-hubspot/7RWbCqM3YUQ920wI/logo/logo.svg?fit=max\u0026auto=format\u0026n=7RWbCqM3YUQ920wI\u0026q=85\u0026s=ac3920b55876d38d9fb2f7f845df87fe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.hubspot.fr/docs#website\",\"name\":\"HubSpot docs\",\"url\":\"https://developers.hubspot.fr/docs\",\"publisher\":{\"@id\":\"https://developers.hubspot.fr/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions#webpage\",\"url\":\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions\",\"name\":\"Démarrer avec les fonctions sans serveur\",\"description\":\"Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.\",\"dateModified\":\"2026-02-10T16:33:31.000Z\",\"isPartOf\":{\"@id\":\"https://developers.hubspot.fr/docs#website\"},\"breadcrumb\":{\"@id\":\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Fonctionnalités\",\"item\":\"https://developers.hubspot.fr/docs/cms/start-building/features/memberships/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fonctions sans serveur\",\"item\":\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Démarrer avec les fonctions sans serveur\",\"item\":\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions#article\",\"headline\":\"Démarrer avec les fonctions sans serveur\",\"name\":\"Démarrer avec les fonctions sans serveur\",\"description\":\"Créez votre première fonction sans serveur sur le CMS Hub et obtenez une réponse à partir de celle-ci.\",\"url\":\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions\",\"mainEntityOfPage\":{\"@id\":\"https://developers.hubspot.fr/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions#webpage\"},\"dateModified\":\"2026-02-10T16:33:31.000Z\",\"publisher\":{\"@id\":\"https://developers.hubspot.fr/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.hubspot.fr/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions.md","siteName":"HubSpot docs","nav":{"global":{"languages":[{"language":"en","href":"https://developers.hubspot.com/docs"},{"language":"es","href":"https://developers.hubspot.es/docs"},{"language":"de","href":"https://developers.hubspot.de/docs"},{"language":"fr","default":true,"href":"https://developers.hubspot.fr/docs"},{"language":"pt-BR","href":"https://br.developers.hubspot.com/docs"},{"language":"ja","href":"https://developers.hubspot.jp/docs"}]},"tabs":[{"tab":"Accueil","pages":[{"title":"Accueil","href":""}]},{"tab":"Commencer","pages":[{"title":"Commencer","href":"/getting-started/introduction"}]},{"tab":"Applications","versions":[{"version":"Plateforme","pages":[{"title":"Developer platform","url":"https://developers.hubspot.com/docs/apps/developer-platform/overview","href":"/apps/developer-platform/overview"},{"title":"Manage developer seats","url":"https://developers.hubspot.com/docs/apps/developer-platform/developer-seats","href":"/apps/developer-platform/developer-seats"},{"group":"Créer des applications","pages":[{"group":"Authentification","pages":[{"title":"Premiers pas : présentation","href":"/apps/developer-platform/build-apps/authentication/overview"},{"group":"OAuth","pages":[{"title":"Guide de démarrage rapide pour OAuth","href":"/apps/developer-platform/build-apps/authentication/oauth/oauth-quickstart-guide"},{"title":"Travailler avec OAuth","href":"/apps/developer-platform/build-apps/authentication/oauth/working-with-oauth"}]},{"title":"Make API requests using a service key (BETA)","url":"https://developers.hubspot.com/docs/apps/developer-platform/build-apps/authentication/account-service-keys","href":"/apps/developer-platform/build-apps/authentication/account-service-keys"},{"title":"Domaines","url":"https://developers.hubspot.com/docs/apps/developer-platform/build-apps/authentication/scopes","href":"/apps/developer-platform/build-apps/authentication/scopes"},{"title":"Demandes de validation","url":"https://developers.hubspot.com/docs/apps/developer-platform/build-apps/authentication/request-validation","href":"/apps/developer-platform/build-apps/authentication/request-validation"}]},{"title":"Créer une nouvelle application à l'aide du CLI (BÊTA)","url":"https://developers.hubspot.com/docs/apps/developer-platform/build-apps/create-an-app","href":"/apps/developer-platform/build-apps/create-an-app"},{"group":"Migrer une application","pages":[{"title":"Determine your migration path to 2026.03","url":"https://developers.hubspot.com/docs/apps/developer-platform/build-apps/migrate-an-app/overview","href":"/apps/developer-platform/build-apps/migrate-an-app/overview"},{"title":"Migrate an existing app to the latest version of the developer platform (2026.03)","url":"https://developers.hubspot.com/docs/apps/developer-platform/build-apps/migrate-an-app/migrate-to-the-latest-platform-version","href":"/apps/developer-platform/build-apps/migrate-an-app/migrate-to-the-latest-platform-version"}]},{"title":"Configuration de l'application (BÊTA)","sidebarTitle":"Configuration de l'application","href":"/apps/developer-platform/build-apps/app-configuration"},{"title":"Gérer les applications dans HubSpot (BÊTA)","sidebarTitle":"Gérer les applications dans HubSpot","href":"/apps/developer-platform/build-apps/manage-apps-in-hubspot"},{"title":"Integrate AI tools with the HubSpot MCP server (BETA)","url":"https://developers.hubspot.com/docs/apps/developer-platform/build-apps/integrate-with-the-remote-hubspot-mcp-server","href":"/apps/developer-platform/build-apps/integrate-with-the-remote-hubspot-mcp-server"}]},{"group":"Ajouter des fonctionnalités","pages":[{"group":"UI extensions","pages":[{"title":"UI extensions overview","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/overview","href":"/apps/developer-platform/add-features/ui-extensions/overview"},{"title":"Fetching data for UI extensions","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/fetching-data","href":"/apps/developer-platform/add-features/ui-extensions/fetching-data"},{"title":"Logging and monitoring for UI extensions","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/logging-and-monitoring","href":"/apps/developer-platform/add-features/ui-extensions/logging-and-monitoring"},{"title":"UI extensions SDK reference","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-extensions-sdk","href":"/apps/developer-platform/add-features/ui-extensions/ui-extensions-sdk"},{"group":"Extension points","pages":[{"group":"Cartes d'application","pages":[{"title":"App cards overview","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/extension-points/app-cards/overview","href":"/apps/developer-platform/add-features/ui-extensions/extension-points/app-cards/overview"},{"title":"Create an app card","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/extension-points/app-cards/create-an-app-card","href":"/apps/developer-platform/add-features/ui-extensions/extension-points/app-cards/create-an-app-card"},{"title":"App cards reference","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/extension-points/app-cards/reference","href":"/apps/developer-platform/add-features/ui-extensions/extension-points/app-cards/reference"}]},{"title":"Create a settings page","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/extension-points/create-a-settings-page","href":"/apps/developer-platform/add-features/ui-extensions/extension-points/create-a-settings-page"},{"title":"Create an app home page","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/extension-points/create-an-app-home-page","href":"/apps/developer-platform/add-features/ui-extensions/extension-points/create-an-app-home-page"}]},{"group":"Tools","pages":[{"title":"Share code between your extensions using npm workspaces","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/code-sharing-with-npm-workspaces","href":"/apps/developer-platform/add-features/ui-extensions/tools/code-sharing-with-npm-workspaces"},{"group":"Linting","pages":[{"title":"Linting for UI extensions","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/overview","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/overview"},{"title":"Migrating to v1.0 (ESLint 9)","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/migrate","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/migrate"},{"group":"Règles","pages":[{"title":"no-browser-dialogs","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-browser-dialogs","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-browser-dialogs"},{"title":"no-browser-storage","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-browser-storage","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-browser-storage"},{"title":"no-console","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-console","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-console"},{"title":"no-dom-access","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-dom-access","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-dom-access"},{"title":"no-html-elements","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-html-elements","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-html-elements"},{"title":"no-invalid-extension-point-imports","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-invalid-extension-point-imports","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-invalid-extension-point-imports"},{"title":"no-invalid-image-src","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-invalid-image-src","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-invalid-image-src"},{"title":"no-native-http","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-native-http","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-native-http"},{"title":"no-parent-imports","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-parent-imports","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-parent-imports"},{"title":"no-restricted-globals","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-restricted-globals","href":"/apps/developer-platform/add-features/ui-extensions/tools/linting/rules/no-restricted-globals"}]}]},{"group":"Test en cours","pages":[{"title":"Testing UI extensions","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/testing/overview","href":"/apps/developer-platform/add-features/ui-extensions/tools/testing/overview"},{"title":"Mocking UI extensions","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/testing/mocking","href":"/apps/developer-platform/add-features/ui-extensions/tools/testing/mocking"},{"title":"Testing utilities reference","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/tools/testing/reference","href":"/apps/developer-platform/add-features/ui-extensions/tools/testing/reference"}]}]},{"group":"Composants de l'IU","pages":[{"title":"UI extension components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/overview","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/overview"},{"title":"Figma Design Kit | UI extensions","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/figma-design-kit","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/figma-design-kit"},{"title":"Manage UI extension layout","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/manage-ui-extension-layout","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/manage-ui-extension-layout"},{"group":"Motifs","pages":[{"title":"Button design patterns","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/patterns/buttons","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/patterns/buttons"},{"title":"Form design patterns","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/patterns/forms","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/patterns/forms"},{"title":"Table design patterns","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/patterns/tables","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/patterns/tables"}]},{"group":"Composants standards","pages":[{"title":"Accordion","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/accordion","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/accordion"},{"title":"Alert","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/alert","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/alert"},{"title":"AutoGrid","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/autogrid","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/autogrid"},{"title":"Box","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/box","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/box"},{"title":"ButtonRow","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/button-row","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/button-row"},{"title":"Button","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/button","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/button"},{"title":"Checkbox","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/checkbox","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/checkbox"},{"title":"CurrencyInput","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/currency-input","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/currency-input"},{"title":"DateInput | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/date-input","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/date-input"},{"title":"DescriptionList | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/description-list","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/description-list"},{"title":"Divider","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/divider","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/divider"},{"title":"Dropdown | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/dropdown","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/dropdown"},{"title":"EmptyState | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/empty-state","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/empty-state"},{"title":"Error state | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/error-state","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/error-state"},{"title":"Flex","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/flex","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/flex"},{"title":"Form","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/form","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/form"},{"title":"Heading","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/heading","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/heading"},{"title":"Icon","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/icon","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/icon"},{"title":"Illustration","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/illustration","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/illustration"},{"title":"Image","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/image","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/image"},{"title":"Inline | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/inline","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/inline"},{"title":"Input","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/input","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/input"},{"title":"Link","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/link","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/link"},{"title":"List","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/list","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/list"},{"title":"LoadingButton | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/loading-button","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/loading-button"},{"title":"LoadingSpinner","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/loading-spinner","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/loading-spinner"},{"title":"Modal","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/modal","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/modal"},{"title":"MultiSelect","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/multi-select","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/multi-select"},{"title":"NumberInput","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/number-input","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/number-input"},{"title":"Panel","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/panel","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/panel"},{"title":"ProgressBar","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/progress-bar","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/progress-bar"},{"title":"RadioButton","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/radio-button","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/radio-button"},{"title":"ScoreCircle","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/scorecircle","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/scorecircle"},{"title":"SearchInput | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/search-input","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/search-input"},{"title":"Select","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/select","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/select"},{"title":"Spacer","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/spacer","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/spacer"},{"title":"Statistics","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/statistics","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/statistics"},{"title":"StatusTag | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/status-tag","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/status-tag"},{"title":"StepIndicator","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/step-indicator","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/step-indicator"},{"title":"StepperInput","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/stepper-input","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/stepper-input"},{"title":"Table | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/table","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/table"},{"title":"Tabs | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/tabs","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/tabs"},{"title":"Tag","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/tag","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/tag"},{"title":"TextArea","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/text-area","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/text-area"},{"title":"Text","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/text","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/text"},{"title":"Tile","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/tile","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/tile"},{"title":"TimeInput | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/time-input","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/time-input"},{"title":"ToggleGroup","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/toggle-group","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/toggle-group"},{"title":"Toggle","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/toggle","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/toggle"},{"title":"Tooltip | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/tooltip","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/tooltip"},{"group":"Graphiques","pages":[{"title":"Charts overview | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/charts/overview","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/charts/overview"},{"title":"BarChart | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/charts/bar-chart","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/charts/bar-chart"},{"title":"LineChart | UI components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/charts/line-chart","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/standard-components/charts/line-chart"}]}]},{"group":"Composants d'action CRM","pages":[{"title":"CRM action components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-action-components/overview","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-action-components/overview"},{"title":"CrmActionButton","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-action-components/crm-action-button","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-action-components/crm-action-button"},{"title":"CrmActionLink","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-action-components/crm-action-link","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-action-components/crm-action-link"},{"title":"CrmCardActions","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-action-components/crm-card-actions","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-action-components/crm-card-actions"}]},{"group":"Composants de données CRM","pages":[{"title":"CRM data components","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/overview","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/overview"},{"title":"CrmAssociationPivot","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-association-pivot","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-association-pivot"},{"title":"CrmAssociationPropertyList","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-association-property-list","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-association-property-list"},{"title":"CrmAssociationStageTracker","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-association-stage-tracker","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-association-stage-tracker"},{"title":"CrmAssociationTable","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-association-table","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-association-table"},{"title":"CrmDataHighlight","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-data-highlight","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-data-highlight"},{"title":"CrmPropertyList","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-property-list","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-property-list"},{"title":"CrmReport","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-report","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-report"},{"title":"CrmStageTracker","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-stage-tracker","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-stage-tracker"},{"title":"CrmStatistics","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-statistics","href":"/apps/developer-platform/add-features/ui-extensions/ui-components/crm-data-components/crm-statistics"}]}]}]},{"group":"Événements d'application","pages":[{"title":"Vue d'ensemble des événements d'application (BÊTA)","sidebarTitle":"Vue d'ensemble","href":"/apps/developer-platform/add-features/app-events/overview"},{"title":"Créer et gérer des types d'événements (BÊTA)","sidebarTitle":"Créer un type d'événement","href":"/apps/developer-platform/add-features/app-events/create-and-manage-event-types"},{"title":"Envoyer des occurrences d'événements (BÊTA)","sidebarTitle":"Envoyer des occurrences d'événements","href":"/apps/developer-platform/add-features/app-events/send-event-occurrences"},{"title":"Référence des événements d'application (BÊTA)","sidebarTitle":"Référence","href":"/apps/developer-platform/add-features/app-events/reference"}]},{"group":"Objets de l'application","pages":[{"title":"Premiers pas : présentation","href":"/apps/developer-platform/add-features/app-objects/overview"},{"title":"Premiers pas avec Objets de l'application (BÊTA)","sidebarTitle":"Guide de démarrage rapide","href":"/apps/developer-platform/add-features/app-objects/quickstart-guide-to-app-objects"},{"title":"Référence des objets d'application (BÊTA)","sidebarTitle":"Référence","href":"/apps/developer-platform/add-features/app-objects/reference"}]},{"group":"Outils d'agent","pages":[{"title":"Présentation des agents et des outils","sidebarTitle":"Vue d'ensemble","href":"/apps/developer-platform/add-features/agent-tools/overview"},{"title":"Créer un outil d'agent","sidebarTitle":"Créer un outil d'agent","href":"/apps/developer-platform/add-features/agent-tools/create-an-agent-tool"},{"title":"Référence des outils d'agent (BÊTA)","sidebarTitle":"Référence","href":"/apps/developer-platform/add-features/agent-tools/reference"}]},{"group":"Fonctions sans serveur","pages":[{"title":"Serverless functions overview","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/serverless-functions/overview","href":"/apps/developer-platform/add-features/serverless-functions/overview"},{"title":"Create and execute serverless functions in app cards","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/serverless-functions/create-serverless-functions","href":"/apps/developer-platform/add-features/serverless-functions/create-serverless-functions"},{"title":"Serverless functions reference","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/serverless-functions/reference","href":"/apps/developer-platform/add-features/serverless-functions/reference"}]},{"title":"Connect external MCP servers to HubSpot agents (BETA)","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/mcp-registry","href":"/apps/developer-platform/add-features/mcp-registry"},{"title":"Configurer un abonnement au webhook (BÊTA)","sidebarTitle":"Configurer les webhooks","href":"/apps/developer-platform/add-features/configure-webhooks"},{"title":"Définir une action de workflow personnalisée (BÊTA)","sidebarTitle":"Définir des actions de workflow personnalisées","href":"/apps/developer-platform/add-features/custom-workflow-actions"},{"title":"Ajouter une télémétrie (BÊTA)","sidebarTitle":"Ajouter des données de télémétrie","href":"/apps/developer-platform/add-features/add-telemetry"},{"title":"Configurez le SCIM pour votre application (BÊTA)","url":"https://developers.hubspot.com/docs/apps/developer-platform/add-features/scim","href":"/apps/developer-platform/add-features/scim"}]},{"group":"Publier dans la Marketplace HubSpot","pages":[{"group":"Lister votre application","pages":[{"title":"Conditions relatives aux listings d'applications","href":"/apps/developer-platform/list-apps/listing-your-app/app-marketplace-listing-requirements"},{"title":"Marketplace des applications | Comprendre les catégories d'applications","url":"https://developers.hubspot.com/docs/apps/developer-platform/list-apps/listing-your-app/understand-app-categories","href":"/apps/developer-platform/list-apps/listing-your-app/understand-app-categories"},{"title":"Marketplace des applications | Lister votre application","href":"/apps/developer-platform/list-apps/listing-your-app/listing-your-app"},{"title":"Créer un guide d'installation de listing d'applications","url":"https://developers.hubspot.com/docs/apps/developer-platform/list-apps/listing-your-app/create-an-app-listing-setup-guide","href":"/apps/developer-platform/list-apps/listing-your-app/create-an-app-listing-setup-guide"}]},{"group":"Demander la certification","pages":[{"title":"Conditions relatives à la certification des applications","href":"/apps/developer-platform/list-apps/apply-for-certification/certification-requirements"},{"title":"Demander une certification d'application","href":"/apps/developer-platform/list-apps/apply-for-certification/applying-for-app-certification"}]},{"title":"Marketplace des applications | Fournissez les informations d'identification de test pour votre application","url":"https://developers.hubspot.com/docs/apps/developer-platform/list-apps/testing-credentials","href":"/apps/developer-platform/list-apps/testing-credentials"},{"title":"Measure app performance","url":"https://developers.hubspot.com/docs/apps/developer-platform/list-apps/measure-app-performance","href":"/apps/developer-platform/list-apps/measure-app-performance"},{"title":"Configurer la planification de démonstration à partir de la page de listing d'application","sidebarTitle":"Planifier les démonstrations d'applications","href":"/apps/developer-platform/list-apps/set-up-demo-scheduling-from-the-app-listing-page"},{"title":"Understand updated app installation flow with the option for partner sign in","url":"https://developers.hubspot.com/docs/apps/developer-platform/list-apps/understand-app-install-flow","href":"/apps/developer-platform/list-apps/understand-app-install-flow"},{"title":"Understand technology partner tiers","url":"https://developers.hubspot.com/docs/apps/developer-platform/list-apps/understand-technology-partner-tiers","href":"/apps/developer-platform/list-apps/understand-technology-partner-tiers"},{"title":"Afficher les contacts créés à partir du Marketplace ","sidebarTitle":"Afficher les contacts du marketplace","href":"/apps/developer-platform/list-apps/view-contacts-created-from-the-marketplace"},{"title":"Exigences relatives au listing des outils d'agent","sidebarTitle":"Exigences relatives au listing des outils d'agent","href":"/apps/developer-platform/list-apps/agent-tool-listing-requirements"}]}]},{"version":"Hérité","pages":[{"title":"Hérité","href":"/apps/legacy-apps/overview"}]}]},{"tab":"CMS","dropdowns":[{"dropdown":"Start Building","icon":"play","pages":[{"group":"Introduction","pages":[{"title":"Vue d'ensemble du CMS Hub","sidebarTitle":"Overview","href":"/cms/start-building/introduction/overview"},{"group":"Commencer avec React + HubL","pages":[{"title":"Premiers pas : présentation","href":"/cms/start-building/introduction/react-plus-hubl/overview"},{"title":"Démarrage rapide CMS React","url":"https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/react-plus-hubl-quickstart","href":"/cms/start-building/introduction/react-plus-hubl/react-plus-hubl-quickstart"},{"group":"Migrer un thème","pages":[{"title":"Migrate a HubL theme to a project","url":"https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/migrations/migrate-a-hubl-theme-to-projects","href":"/cms/start-building/introduction/react-plus-hubl/migrations/migrate-a-hubl-theme-to-projects"},{"title":"Migrate a CMS project to version 2025.2","url":"https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/migrations/migrate-to-2025-2","href":"/cms/start-building/introduction/react-plus-hubl/migrations/migrate-to-2025-2"}]},{"title":"Créer et déployer avec l'outil Projets","url":"https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/project-structure","href":"/cms/start-building/introduction/react-plus-hubl/project-structure"},{"title":"Modules","url":"https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/modules","href":"/cms/start-building/introduction/react-plus-hubl/modules"},{"title":"Récupération de données","url":"https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/data-fetching","href":"/cms/start-building/introduction/react-plus-hubl/data-fetching"}]},{"title":"Créer un thème HubL classique","url":"https://developers.hubspot.com/docs/cms/start-building/introduction/classic-hubl-quickstart","href":"/cms/start-building/introduction/classic-hubl-quickstart"},{"group":"Environnement développeur","pages":[{"title":"Gestionnaire de conception","href":"/cms/start-building/introduction/developer-environment/design-manager"},{"title":"Utiliser des infrastructures JavaScript sur HubSpot","href":"/cms/start-building/introduction/developer-environment/js-frameworks"},{"title":"Optimiser votre workflow de développement HubSpot","href":"/cms/start-building/introduction/developer-environment/creating-an-efficient-development-workflow"},{"title":"Configurer l'intégration continue avec un référentiel GitHub à l'aide des actions GitHub","href":"/cms/start-building/introduction/developer-environment/github-integration"},{"title":"Paramètres du site web","href":"/cms/start-building/introduction/developer-environment/website-settings"},{"title":"Debugging methods and error types","url":"https://developers.hubspot.com/docs/cms/start-building/introduction/developer-environment/troubleshooting","href":"/cms/start-building/introduction/developer-environment/troubleshooting"}]},{"title":"Utiliser des API CMS","url":"https://developers.hubspot.com/docs/cms/start-building/introduction/use-cms-apis","href":"/cms/start-building/introduction/use-cms-apis"}]},{"group":"Composants","pages":[{"title":"Vue d'ensemble du thème","href":"/cms/start-building/building-blocks/overview"},{"group":"Champs","pages":[{"title":"Mappage des alias","url":"https://developers.hubspot.com/docs/cms/start-building/building-blocks/fields/alias-mapping","href":"/cms/start-building/building-blocks/fields/alias-mapping"},{"title":"Héritage des paramètres de marque","href":"/cms/start-building/building-blocks/fields/brand-and-settings-inheritance"},{"title":"Ajouter des polices personnalisées à un thème","url":"https://developers.hubspot.com/docs/cms/start-building/building-blocks/fields/custom-fonts","href":"/cms/start-building/building-blocks/fields/custom-fonts"},{"title":"oEmbed","url":"https://developers.hubspot.com/docs/cms/start-building/building-blocks/fields/oembed","href":"/cms/start-building/building-blocks/fields/oembed"},{"title":"Écrire les champs du module et du thème à l'aide de JavaScript","url":"https://developers.hubspot.com/docs/cms/start-building/building-blocks/fields/write-fields-using-javascript","href":"/cms/start-building/building-blocks/fields/write-fields-using-javascript"}]},{"group":"Modules","pages":[{"title":"Vue d'ensemble des modules","href":"/cms/start-building/building-blocks/modules/overview"},{"title":"Modules d'e-mail par défaut","url":"https://developers.hubspot.com/docs/cms/start-building/building-blocks/modules/default-email-modules","href":"/cms/start-building/building-blocks/modules/default-email-modules"},{"title":"Formulaires HubSpot","sidebarTitle":"Forms","href":"/cms/start-building/building-blocks/modules/forms"},{"title":"Menus et navigation","href":"/cms/start-building/building-blocks/modules/menus-and-navigation"},{"title":"Recherche de contenu","href":"/cms/start-building/building-blocks/modules/content-search"},{"title":"Masquer les modules et les sections dans l'éditeur de page","url":"https://developers.hubspot.com/docs/cms/start-building/building-blocks/modules/hide-modules-and-sections","href":"/cms/start-building/building-blocks/modules/hide-modules-and-sections"}]},{"title":"Sections","sidebarTitle":"Sections","href":"/cms/start-building/building-blocks/sections/sections"},{"title":"Contenu global","href":"/cms/start-building/building-blocks/global-content"},{"group":"Modèles","pages":[{"title":"Vue d'ensemble des modèles","sidebarTitle":"Overview","href":"/cms/start-building/building-blocks/templates/overview"},{"title":"Modèles HTML et HubL","sidebarTitle":"HTML + HubL templates","href":"/cms/start-building/building-blocks/templates/html-hubl-templates"},{"title":"Modèles de blogs","sidebarTitle":"Blog templates","href":"/cms/start-building/building-blocks/templates/blog"},{"title":"Balisage des modèles d'e-mails","sidebarTitle":"Email templates","href":"/cms/start-building/building-blocks/templates/email-template-markup"},{"title":"Legacy quote templates","url":"https://developers.hubspot.com/docs/cms/start-building/building-blocks/templates/legacy-quotes","href":"/cms/start-building/building-blocks/templates/legacy-quotes"},{"title":"Points d'arrêt réactifs pour les thèmes","url":"https://developers.hubspot.com/docs/cms/start-building/building-blocks/templates/responsive-breakpoints","href":"/cms/start-building/building-blocks/templates/responsive-breakpoints"}]},{"group":"Glisser et déposer","pages":[{"title":"Présentation des zones de glisser-déposer","sidebarTitle":"Overview","href":"/cms/start-building/building-blocks/drag-and-drop/overview"},{"title":"Créer une zone de glisser-déposer","sidebarTitle":"Drag and drop areas tutorial","href":"/cms/start-building/building-blocks/drag-and-drop/tutorial"},{"title":"Modèles glisser-déposer","sidebarTitle":"Drag and drop templates","href":"/cms/start-building/building-blocks/drag-and-drop/drag-and-drop-templates"},{"title":"Spécifier des zones de glisser-déposer dans un modèle d'e-mail personnalisé","sidebarTitle":"Drag and drop area in a custom email template","href":"/cms/start-building/building-blocks/drag-and-drop/custom-email-template"}]},{"group":"Thèmes","pages":[{"title":"Premiers pas avec les thèmes","href":"/cms/start-building/building-blocks/themes/getting-started"},{"title":"Le boilerplate du CMS hub de HubSpot","sidebarTitle":"CMS boilerplate","href":"/cms/start-building/building-blocks/themes/hubspot-cms-boilerplate"},{"title":"Thèmes par défaut","href":"/cms/start-building/building-blocks/themes/default-themes"},{"title":"Thèmes enfants","url":"https://developers.hubspot.com/docs/cms/start-building/building-blocks/themes/child-themes","href":"/cms/start-building/building-blocks/themes/child-themes"},{"title":"Getting started with the CMS legacy quote theme","url":"https://developers.hubspot.com/docs/cms/start-building/building-blocks/themes/legacy-quote-themes","href":"/cms/start-building/building-blocks/themes/legacy-quote-themes"}]}]},{"group":"Fonctionnalités","pages":[{"group":"Contrôles d'accès","pages":[{"title":"Premiers pas : présentation","href":"/cms/start-building/features/memberships/overview"},{"title":"Connexion à Google pour les contrôle d'accès","url":"https://developers.hubspot.com/docs/cms/start-building/features/memberships/google-sign-in","href":"/cms/start-building/features/memberships/google-sign-in"},{"title":"Connexion à Microsoft pour les contrôles d'accès","url":"https://developers.hubspot.com/docs/cms/start-building/features/memberships/microsoft-sign-in","href":"/cms/start-building/features/memberships/microsoft-sign-in"},{"title":"Comment ajouter la connexion via les réseaux sociaux pour les pages d'adhésion","url":"https://developers.hubspot.com/docs/cms/start-building/features/memberships/social","href":"/cms/start-building/features/memberships/social"},{"title":"Authentification unique pour les adhésions","url":"https://developers.hubspot.com/docs/cms/start-building/features/memberships/sso","href":"/cms/start-building/features/memberships/sso"}]},{"group":"Formulaires","pages":[{"title":"API marketing | Formulaires ","href":"/cms/start-building/features/forms/forms"},{"title":"Formulaires hérités","url":"https://developers.hubspot.com/docs/cms/start-building/features/forms/legacy-forms","href":"/cms/start-building/features/forms/legacy-forms"}]},{"group":"Créer du contenu basé sur les données","pages":[{"group":"Pages dynamiques HubDB","pages":[{"title":"Premiers pas : présentation","href":"/cms/start-building/features/data-driven-content/hubdb/overview"},{"title":"Comment créer des pages dynamiques à plusieurs niveaux avec HubDB","url":"https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/hubdb/multilevel","href":"/cms/start-building/features/data-driven-content/hubdb/multilevel"},{"title":"Comment ajouter des vidéos aux pages dynamiques dans HubDB","url":"https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/hubdb/video","href":"/cms/start-building/features/data-driven-content/hubdb/video"},{"title":"Comment créer une page dynamique dédiée aux membres de l'équipe avec HubDB","url":"https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/hubdb/dynamic-team-member-page","href":"/cms/start-building/features/data-driven-content/hubdb/dynamic-team-member-page"},{"title":"Créez des pages basées sur la localisation avec HubDB","url":"https://developers.hubspot.com/docs/cms/start-building/features/storage/location-based-pages","href":"/cms/start-building/features/storage/location-based-pages"}]},{"title":"Créer des pages dynamiques à l'aide d'objets CRM","url":"https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/crm-data-in-cms-pages","href":"/cms/start-building/features/data-driven-content/crm-data-in-cms-pages"},{"title":"Objets CRM dans les pages CMS","href":"/cms/start-building/features/data-driven-content/crm-objects"},{"title":"Créer des e-mails au contenu programmable","href":"/cms/start-building/features/data-driven-content/emails-with-programmable-content"},{"group":"GraphQL","pages":[{"title":"Demander des données HubSpot en utilisant GraphQL","url":"https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/graphql/query-hubspot-data-using-graphql","href":"/cms/start-building/features/data-driven-content/graphql/query-hubspot-data-using-graphql"},{"title":"Utilisez les données d'une requête GraphQL dans les pages de votre site web","url":"https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/graphql/use-graphql-data-in-your-website-pages","href":"/cms/start-building/features/data-driven-content/graphql/use-graphql-data-in-your-website-pages"},{"title":"Créer un site web pour une agence de recrutement à l'aide de GraphQL (BETA)","url":"https://developers.hubspot.com/docs/cms/start-building/features/data-driven-content/graphql/build-a-recruiting-agency-using-graphql","href":"/cms/start-building/features/data-driven-content/graphql/build-a-recruiting-agency-using-graphql"}]}]},{"group":"Fonctions sans serveur","pages":[{"title":"Premiers pas : présentation","description":"Découvrez comment faire vos premiers pas de développement avec HubSpot.","href":"/cms/start-building/features/serverless-functions/overview"},{"title":"Démarrer avec les fonctions sans serveur","public":true,"en_link":"https://developers.hubspot.com/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","es_link":"https://developers.hubspot.es/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","de_link":"https://developers.hubspot.de/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","pt-BR_link":"https://br.developers.hubspot.com/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","ja_link":"https://developers.hubspot.jp/docs/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions","href":"/cms/start-building/features/serverless-functions/getting-started-with-serverless-functions"}]},{"group":"Stocker votre contenu","pages":[{"title":"Gestionnaire de fichiers","description":"Utilisez le gestionnaire de fichiers HubSpot pour héberger des images sur le réseau de diffusion de contenu de CMS Hub et permettre aux créateurs de contenu d","href":"/cms/start-building/features/storage/file-manager"},{"title":"API du CMS | HubDB","href":"/cms/start-building/features/storage/hubdb"}]},{"title":"Contenu multilingue","href":"/cms/start-building/features/multi-language-content"}]}]},{"dropdown":"Reference","icon":"clipboard","pages":[{"group":"Champs","pages":[{"title":"Présentation des modules et des champs de thème","sidebarTitle":"Overview","href":"/cms/reference/fields/overview"},{"title":"Champs de module et de thème","sidebarTitle":"Module and theme fields reference","href":"/cms/reference/fields/module-theme-fields"},{"title":"Configurer l'éditeur de texte enrichi","href":"/cms/reference/fields/rich-text-editor"}]},{"group":"HubL","pages":[{"title":"HubL Syntax","url":"https://developers.hubspot.com/docs/cms/reference/hubl/overview","href":"/cms/reference/hubl/overview"},{"title":"Opérateurs et tests d'expression","sidebarTitle":"Operators and expression tests","href":"/cms/reference/hubl/operators-and-expression-tests"},{"title":"Filtres HubL","sidebarTitle":"Filters","href":"/cms/reference/hubl/filters"},{"title":"Fonctions HubL","sidebarTitle":"Functions","href":"/cms/reference/hubl/functions"},{"title":"Boucles for","href":"/cms/reference/hubl/loops"},{"group":"Balises","pages":[{"title":"Balises HubL standard","sidebarTitle":"Standard tags","href":"/cms/reference/hubl/tags/standard-tags"},{"title":"Balises HubL de la zone de glisser-déposer","href":"/cms/reference/hubl/tags/dnd-areas"},{"title":"Création d'une liste d'articles de blog connexes avec la balise HubL pour les articles de blog connexes","href":"/cms/reference/hubl/tags/related-blog-posts"}]},{"title":"Variables HubL","sidebarTitle":"Variables","href":"/cms/reference/hubl/variables"},{"title":"Legacy quote template variables","url":"https://developers.hubspot.com/docs/cms/reference/hubl/legacy-quote-variables","href":"/cms/reference/hubl/legacy-quote-variables"},{"title":"Variables HubL et syntaxe des macros","href":"/cms/reference/hubl/variables-macros-syntax"},{"title":"Fonctions SI","href":"/cms/reference/hubl/if-statements"}]},{"group":"React","pages":[{"title":"Créer les bilans de santé","url":"https://developers.hubspot.com/docs/cms/reference/react/build-health-checks","href":"/cms/reference/react/build-health-checks"},{"title":"Bibliothèque @hubspot/cms-components","url":"https://developers.hubspot.com/docs/cms/reference/react/cms-components-library","href":"/cms/reference/react/cms-components-library"},{"title":"Îles","url":"https://developers.hubspot.com/docs/cms/reference/react/islands","href":"/cms/reference/react/islands"},{"title":"Développement local","url":"https://developers.hubspot.com/docs/cms/reference/react/local-development","href":"/cms/reference/react/local-development"},{"title":"Stylisation CMS React","url":"https://developers.hubspot.com/docs/cms/reference/react/styling","href":"/cms/reference/react/styling"},{"title":"Test pour CMS React","url":"https://developers.hubspot.com/docs/cms/reference/react/testing","href":"/cms/reference/react/testing"},{"title":"JS Partials","url":"https://developers.hubspot.com/docs/cms/reference/react/js-partials","href":"/cms/reference/react/js-partials"}]},{"group":"Modules","pages":[{"title":"Configurer un module","href":"/cms/reference/modules/configuration"},{"title":"Versionnage par défaut des modules","url":"https://developers.hubspot.com/docs/cms/reference/modules/default-module-versioning","href":"/cms/reference/modules/default-module-versioning"},{"title":"Modules web par défaut","sidebarTitle":"Default web modules","href":"/cms/reference/modules/default-modules"},{"title":"Paramètre export_to_template_context","href":"/cms/reference/modules/export-to-template-context"},{"title":"Codage des modules personnalisés","href":"/cms/reference/modules/files"},{"title":"Using modules in templates","url":"https://developers.hubspot.com/docs/cms/reference/modules/using-modules-in-templates","href":"/cms/reference/modules/using-modules-in-templates"}]},{"group":"Fonctions sans serveur","pages":[{"title":"Référence relative aux fonctions sans serveur","href":"/cms/reference/serverless-functions/serverless-functions-in-projects"},{"title":"Référence des fonctions sans serveur (gestionnaire de conception)","sidebarTitle":"Built with the design manager","href":"/cms/reference/serverless-functions/serverless-functions"}]}]},{"dropdown":"Best Practices","icon":"sun","pages":[{"group":"Modification de contenu","pages":[{"title":"Meilleures pratiques pour les champs de module et de thème","url":"https://developers.hubspot.com/docs/cms/best-practices/content-editing/fields","href":"/cms/best-practices/content-editing/fields"},{"title":"Comment offrir une bonne expérience dans l'éditeur de page","url":"https://developers.hubspot.com/docs/cms/best-practices/content-editing/page-editor","href":"/cms/best-practices/content-editing/page-editor"}]},{"group":"Améliorer les sites existants","pages":[{"title":"Accessibilité","href":"/cms/best-practices/improve-existing-sites/accessibility"},{"title":"Comment ajouter des fonctionnalités de thème à un site web CMS Hub existant","href":"/cms/best-practices/improve-existing-sites/add-theme-features-to-existing-sites"},{"title":"Convertir un thème WordPress en thème CMS Hub","url":"https://developers.hubspot.com/docs/cms/best-practices/improve-existing-sites/convert-wordpress-theme-to-hubspot","href":"/cms/best-practices/improve-existing-sites/convert-wordpress-theme-to-hubspot"},{"title":"Comment passer à la dernière version de jQuery","url":"https://developers.hubspot.com/docs/cms/best-practices/improve-existing-sites/upgrade-jquery","href":"/cms/best-practices/improve-existing-sites/upgrade-jquery"}]},{"group":"Réseau de diffusion de contenu, sécurité et performance","pages":[{"title":"Premiers pas : présentation","href":"/cms/best-practices/testing-staging-performance/overview"},{"title":"Chargement différé des ressources pour les performances","url":"https://developers.hubspot.com/docs/cms/best-practices/testing-staging-performance/lazy-loading","href":"/cms/best-practices/testing-staging-performance/lazy-loading"},{"title":"Optimiser la vitesse de votre site CMS Hub","href":"/cms/best-practices/testing-staging-performance/speed"},{"title":"Affichage préalable","href":"/cms/best-practices/testing-staging-performance/prerendering"},{"title":"Synchroniser le contenu vers une Sandbox Développeur CMS","url":"https://developers.hubspot.com/docs/cms/best-practices/testing-staging-performance/content-sync","href":"/cms/best-practices/testing-staging-performance/content-sync"},{"title":"Préparation de contenu","href":"/cms/best-practices/testing-staging-performance/content-staging"},{"group":"Proxys inversés","pages":[{"title":"Reverse proxy support overview","url":"https://developers.hubspot.com/docs/cms/best-practices/testing-staging-performance/reverse-proxies/overview","href":"/cms/best-practices/testing-staging-performance/reverse-proxies/overview"},{"title":"Set up a reverse proxy with HubSpot","url":"https://developers.hubspot.com/docs/cms/best-practices/testing-staging-performance/reverse-proxies/setup","href":"/cms/best-practices/testing-staging-performance/reverse-proxies/setup"}]}]}]},{"dropdown":"Marketplace","icon":"shop","pages":[{"title":"Exigences relatives au listing de page du marketplace des ressources HubSpot","url":"https://developers.hubspot.com/docs/cms/marketplace/general-requirements","href":"/cms/marketplace/general-requirements"},{"title":"Exigences relatives aux thèmes du marketplace des modèles HubSpot","href":"/cms/marketplace/theme-requirements"},{"title":"Directives du marketplace des modèles HubSpot","href":"/cms/marketplace/template-guidelines"},{"title":"Lister et mettre à jour des modèles sur le marketplace des modèles HubSpot","href":"/cms/marketplace/listing-templates"},{"title":"Politiques relatives à la place de marché des modèles HubSpot","url":"https://developers.hubspot.com/docs/cms/marketplace/template-policies","href":"/cms/marketplace/template-policies"},{"title":"Marketplace des modèles | Exigences relatives aux modules","href":"/cms/marketplace/module-requirements"}]},{"dropdown":"Versions \u0026 Deprecations","icon":"code-compare","pages":[{"group":"Obsolète","pages":[{"title":"Modules par défaut obsolètes","url":"https://developers.hubspot.com/docs/cms/versions-deprecations/deprecated/modules","href":"/cms/versions-deprecations/deprecated/modules"},{"group":"HubL","pages":[{"title":"Balises HubL prises en charge obsolètes","href":"/cms/versions-deprecations/deprecated/hubl/filters-functions"},{"title":"Deprecated HubL tags","url":"https://developers.hubspot.com/docs/cms/versions-deprecations/deprecated/hubl/tags","href":"/cms/versions-deprecations/deprecated/hubl/tags"}]}]}]}]},{"tab":"APIs","versions":[{"version":"2027-03-beta","tag":"Beta","pages":[{"title":"2027-03-beta","href":"/api-reference/2027-03-beta/overview"}]},{"version":"2026-09","default":true,"tag":"Latest","pages":[{"title":"Référence API 2026-09","sidebarTitle":"Overview","href":"/api-reference/latest/overview"},{"title":"Sunsetted and deprecated APIs","url":"https://developers.hubspot.com/docs/api-reference/latest/deprecated-apis","href":"/api-reference/latest/deprecated-apis"},{"title":"Error handling","url":"https://developers.hubspot.com/docs/api-reference/latest/error-handling","href":"/api-reference/latest/error-handling"},{"group":"Compte et paramètres","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/settings.svg","pages":[{"group":"Informations sur le compte","pages":[{"title":"Account information API","url":"https://developers.hubspot.com/docs/api-reference/latest/account/account-information","href":"/api-reference/latest/account/account-information/guide"},{"title":"Retrieve account details","openapi":"specs/2026-09/account-account-info-v2026-09.json GET /account-info/2026-09/details","href":"/api-reference/latest/account/account-information/get-account-details"},{"title":"Retrieve private app daily API usage","openapi":"specs/2026-09/account-account-info-v2026-09.json GET /account-info/2026-09/api-usage/daily/private-apps","href":"/api-reference/latest/account/account-information/get-usage-details"}]},{"group":"Journal d'audit","pages":[{"title":"Account activity API","url":"https://developers.hubspot.com/docs/api-reference/latest/account/audit-logs","href":"/api-reference/latest/account/audit-logs/guide"},{"title":"Retrieve audit logs","openapi":"specs/2026-09/account-audit-logs-v2026-09.json GET /account-info/2026-09/activity/audit-logs","href":"/api-reference/latest/account/audit-logs/get-audit-logs"},{"title":"Retrieve login activity","openapi":"specs/2026-09/account-audit-logs-v2026-09.json GET /account-info/2026-09/activity/login","href":"/api-reference/latest/account/audit-logs/get-login"},{"title":"Retrieve security history","openapi":"specs/2026-09/account-audit-logs-v2026-09.json GET /account-info/2026-09/activity/security","href":"/api-reference/latest/account/audit-logs/get-security"}]},{"group":"Marques","pages":[{"title":"Brands API","url":"https://developers.hubspot.com/docs/api-reference/latest/account/brands","href":"/api-reference/latest/account/brands/guide"},{"title":"Get business units for a user","openapi":"specs/2026-09/business-units-business-units-v2026-09.json GET /business-units/public/2026-09/business-units/user/{userId}","href":"/api-reference/latest/account/brands/get-brands"}]},{"group":"Plages d'adresses IP","pages":[{"title":"HubSpot IP ranges","url":"https://developers.hubspot.com/docs/api-reference/latest/account/ip-ranges","href":"/api-reference/latest/account/ip-ranges/guide"},{"title":"Retrieve IP ranges","openapi":"specs/2026-09/meta-origins-v2026-09.json GET /meta/network-origins/2026-09/ip-ranges","href":"/api-reference/latest/account/ip-ranges/get-origins"},{"title":"Retrieve simplified IP ranges","openapi":"specs/2026-09/meta-origins-v2026-09.json GET /meta/network-origins/2026-09/ip-ranges/simple","href":"/api-reference/latest/account/ip-ranges/get-simple"}]},{"group":"Paramètres","pages":[{"group":"Bannière de consentement","pages":[{"title":"Consent banner API","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/consent-banner/consent-banner-api","href":"/api-reference/latest/account/settings/consent-banner/consent-banner-api"},{"title":"Implement Google Consent Mode","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/consent-banner/google-consent-mode","href":"/api-reference/latest/account/settings/consent-banner/google-consent-mode"}]},{"group":"Multidevises","pages":[{"title":"Settings API | Currencies","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/multicurrency","href":"/api-reference/latest/account/settings/multicurrency/guide"},{"title":"Get the company currency","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json GET /settings/currencies/2026-09/company-currency","href":"/api-reference/latest/account/settings/multicurrency/get-company-currency"},{"title":"Get all currency codes","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json GET /settings/currencies/2026-09/codes","href":"/api-reference/latest/account/settings/multicurrency/get-currency-codes"},{"title":"Set or update the company currency.","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json PUT /settings/currencies/2026-09/company-currency","href":"/api-reference/latest/account/settings/multicurrency/update-company-currency"},{"group":"Lot","pages":[{"title":"Create multiple exchange rates","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json POST /settings/currencies/2026-09/exchange-rates/batch/create","href":"/api-reference/latest/account/settings/multicurrency/batch/create-exchange-rates"},{"title":"Retrieve multiple rates","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json POST /settings/currencies/2026-09/exchange-rates/batch/read","href":"/api-reference/latest/account/settings/multicurrency/batch/get-exchange-rates"},{"title":"Update multiple exchange rates","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json POST /settings/currencies/2026-09/exchange-rates/batch/update","href":"/api-reference/latest/account/settings/multicurrency/batch/update-exchange-rates"}]},{"group":"Taux de change centraux","pages":[{"title":"Add a new currency with central exchange rates.","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json POST /settings/currencies/2026-09/central-fx-rates/add-currency","href":"/api-reference/latest/account/settings/multicurrency/central-fx-rates/create-multicurrency"},{"title":"Retrieve information about the central exchange rates feature.","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json GET /settings/currencies/2026-09/central-fx-rates/information","href":"/api-reference/latest/account/settings/multicurrency/central-fx-rates/get-exchange-rates"},{"title":"Retrieve currencies not supported by central exchange rates.","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json GET /settings/currencies/2026-09/central-fx-rates/unsupported-currencies","href":"/api-reference/latest/account/settings/multicurrency/central-fx-rates/get-unsupported-currencies"}]},{"group":"Taux de change","pages":[{"title":"Add a new exchange rate","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json POST /settings/currencies/2026-09/exchange-rates","href":"/api-reference/latest/account/settings/multicurrency/exchange-rates/create-exchange-rate"},{"title":"Change the visibility of a specific currency pairs","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json POST /settings/currencies/2026-09/exchange-rates/update-visibility","href":"/api-reference/latest/account/settings/multicurrency/exchange-rates/create-update-visibility"},{"title":"Get all current exchange rates","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json GET /settings/currencies/2026-09/exchange-rates/current","href":"/api-reference/latest/account/settings/multicurrency/exchange-rates/get-current-exchange-rates"},{"title":"Get the details for a specific exchange rate","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json GET /settings/currencies/2026-09/exchange-rates/{exchangeRateId}","href":"/api-reference/latest/account/settings/multicurrency/exchange-rates/get-exchange-rate"},{"title":"Get exchange rates","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json GET /settings/currencies/2026-09/exchange-rates","href":"/api-reference/latest/account/settings/multicurrency/exchange-rates/get-exchange-rates"},{"title":"Update a conversion rate","openapi":"specs/2026-09/settings-multicurrency-v2026-09.json PATCH /settings/currencies/2026-09/exchange-rates/{exchangeRateId}","href":"/api-reference/latest/account/settings/multicurrency/exchange-rates/update-exchange-rate"}]}]},{"group":"Taux d'imposition","pages":[{"title":"Get a specific tax rate","openapi":"specs/2026-09/settings-tax-rates-v2026-09.json GET /tax-rates/2026-09/tax-rates/{taxRateGroupId}","href":"/api-reference/latest/account/settings/tax-rates/get-tax-rate"},{"title":"Get all tax rates","openapi":"specs/2026-09/settings-tax-rates-v2026-09.json GET /tax-rates/2026-09/tax-rates","href":"/api-reference/latest/account/settings/tax-rates/get-tax-rates"}]},{"group":"Équipes","pages":[{"title":"Settings API | Teams","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/teams","href":"/api-reference/latest/account/settings/teams/guide"},{"title":"Add Team Members","openapi":"specs/2026-09/settings-teams-v2026-09.json POST /settings/teams/2026-09/{teamId}/members","href":"/api-reference/latest/account/settings/teams/add-team-members"},{"title":"Create Team","openapi":"specs/2026-09/settings-teams-v2026-09.json POST /settings/teams/2026-09","href":"/api-reference/latest/account/settings/teams/create-team"},{"title":"List members","openapi":"specs/2026-09/settings-teams-v2026-09.json GET /settings/teams/2026-09/{teamId}/members","href":"/api-reference/latest/account/settings/teams/get-team-members"},{"title":"Retrieve team","openapi":"specs/2026-09/settings-teams-v2026-09.json GET /settings/teams/2026-09/{teamId}","href":"/api-reference/latest/account/settings/teams/get-team"},{"title":"List teams","openapi":"specs/2026-09/settings-teams-v2026-09.json GET /settings/teams/2026-09","href":"/api-reference/latest/account/settings/teams/get-teams"},{"title":"Delete member","openapi":"specs/2026-09/settings-teams-v2026-09.json DELETE /settings/teams/2026-09/{teamId}/members/{userId}","href":"/api-reference/latest/account/settings/teams/remove-team-member"},{"title":"Update team","openapi":"specs/2026-09/settings-teams-v2026-09.json PATCH /settings/teams/2026-09/{teamId}","href":"/api-reference/latest/account/settings/teams/update-team"},{"title":"Delete team","openapi":"specs/2026-09/settings-teams-v2026-09.json DELETE /settings/teams/2026-09/{teamId}","href":"/api-reference/latest/account/settings/teams/delete-team"},{"group":"Lot","pages":[{"title":"Batch assign members","openapi":"specs/2026-09/settings-teams-v2026-09.json POST /settings/teams/2026-09/{teamId}/members/batch","href":"/api-reference/latest/account/settings/teams/batch/add-team-members"}]}]},{"group":"Code de suivi","pages":[{"title":"HubSpot tracking code API","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/tracking-code/overview","href":"/api-reference/latest/account/settings/tracking-code/overview"},{"title":"Add privacy consent listener","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/tracking-code/add-privacy-consent-listener","href":"/api-reference/latest/account/settings/tracking-code/add-privacy-consent-listener"},{"title":"Enable do not track","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/tracking-code/do-not-track","href":"/api-reference/latest/account/settings/tracking-code/do-not-track"},{"title":"Identify a visitor","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/tracking-code/identify","href":"/api-reference/latest/account/settings/tracking-code/identify"},{"title":"Revoke cookie consent","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/tracking-code/revoke-cookie-consent","href":"/api-reference/latest/account/settings/tracking-code/revoke-cookie-consent"},{"title":"Set the current page path","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/tracking-code/set-path","href":"/api-reference/latest/account/settings/tracking-code/set-path"},{"title":"Track custom events","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/tracking-code/track-event","href":"/api-reference/latest/account/settings/tracking-code/track-event"},{"title":"Track a page view","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/tracking-code/track-page-view","href":"/api-reference/latest/account/settings/tracking-code/track-page-view"}]},{"group":"Provisioning d'utilisateur","pages":[{"title":"Settings API | User provisioning","url":"https://developers.hubspot.com/docs/api-reference/latest/account/settings/user-provisioning","href":"/api-reference/latest/account/settings/user-provisioning/guide"},{"title":"Create a user","openapi":"specs/2026-09/settings-user-provisioning-v2026-09.json POST /settings/users/2026-09","href":"/api-reference/latest/account/settings/user-provisioning/create-user"},{"title":"Retrieves users","openapi":"specs/2026-09/settings-user-provisioning-v2026-09.json GET /settings/users/2026-09","href":"/api-reference/latest/account/settings/user-provisioning/get-users"},{"group":"Rôles","pages":[{"title":"Retrieves the roles on an account","openapi":"specs/2026-09/settings-user-provisioning-v2026-09.json GET /settings/users/2026-09/roles","href":"/api-reference/latest/account/settings/user-provisioning/roles/get-roles"}]},{"group":"Licences utilisateurs","pages":[{"title":"Retrieves the seats on this account","openapi":"specs/2026-09/settings-user-provisioning-v2026-09.json GET /settings/users/2026-09/seats","href":"/api-reference/latest/account/settings/user-provisioning/seats/get-seats"}]},{"group":"Équipes","pages":[{"title":"See details about this account's teams","openapi":"specs/2026-09/settings-user-provisioning-v2026-09.json GET /settings/users/2026-09/teams","href":"/api-reference/latest/account/settings/user-provisioning/teams/get-teams"}]},{"group":"Utilisateurs","pages":[{"title":"Retrieves a user","openapi":"specs/2026-09/settings-user-provisioning-v2026-09.json GET /settings/users/2026-09/{userId}","href":"/api-reference/latest/account/settings/user-provisioning/users/get-user"},{"title":"Modifies a user","openapi":"specs/2026-09/settings-user-provisioning-v2026-09.json PUT /settings/users/2026-09/{userId}","href":"/api-reference/latest/account/settings/user-provisioning/users/update-user"},{"title":"Removes a user","openapi":"specs/2026-09/settings-user-provisioning-v2026-09.json DELETE /settings/users/2026-09/{userId}","href":"/api-reference/latest/account/settings/user-provisioning/users/delete-user"}]}]}]}]},{"group":"Gestion des applications","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/Case.svg","pages":[{"group":"Désinstallation de l'application","pages":[{"title":"App uninstalls API","url":"https://developers.hubspot.com/docs/api-reference/latest/app-management/app-uninstalls","href":"/api-reference/latest/app-management/app-uninstalls/guide"},{"title":"Uninstall app","openapi":"specs/2026-09/crm-app-uninstalls-v2026-09.json DELETE /appinstalls/2026-09/external-install","href":"/api-reference/latest/app-management/app-uninstalls/uninstall-app"}]},{"group":"Indicateurs des fonctionnalités","pages":[{"title":"Feature flags","url":"https://developers.hubspot.com/docs/api-reference/latest/app-management/feature-flags","href":"/api-reference/latest/app-management/feature-flags/guide"},{"group":"Drapeaux","pages":[{"title":"Retrieve a feature flag","openapi":"specs/2026-09/crm-public-app-feature-flags-v3-v2026-09.json GET /feature-flags/2026-09/{appId}/flags/{flagName}","href":"/api-reference/latest/app-management/feature-flags/flags/get-feature-flag"},{"title":"Retrieve an app's feature flags","openapi":"specs/2026-09/crm-public-app-feature-flags-v3-v2026-09.json GET /feature-flags/2026-09/{appId}/flags/all","href":"/api-reference/latest/app-management/feature-flags/flags/get-feature-flags"},{"title":"Set an app's feature flag","openapi":"specs/2026-09/crm-public-app-feature-flags-v3-v2026-09.json PUT /feature-flags/2026-09/{appId}/flags/{flagName}","href":"/api-reference/latest/app-management/feature-flags/flags/update-feature-flag"},{"title":"Delete an app's feature flag","openapi":"specs/2026-09/crm-public-app-feature-flags-v3-v2026-09.json DELETE /feature-flags/2026-09/{appId}/flags/{flagName}","href":"/api-reference/latest/app-management/feature-flags/flags/delete-feature-flag"}]},{"group":"États des indicateurs de portails","pages":[{"title":"Retrieve account flag state","openapi":"specs/2026-09/crm-public-app-feature-flags-v3-v2026-09.json GET /feature-flags/2026-09/{appId}/flags/{flagName}/portals/{portalId}","href":"/api-reference/latest/app-management/feature-flags/portal-flag-states/get-account-flag"},{"title":"Retrieve accounts with a set flag state","openapi":"specs/2026-09/crm-public-app-feature-flags-v3-v2026-09.json GET /feature-flags/2026-09/{appId}/flags/{flagName}/portals","href":"/api-reference/latest/app-management/feature-flags/portal-flag-states/get-accounts-with-flag-state"},{"title":"Set an account flag state","openapi":"specs/2026-09/crm-public-app-feature-flags-v3-v2026-09.json PUT /feature-flags/2026-09/{appId}/flags/{flagName}/portals/{portalId}","href":"/api-reference/latest/app-management/feature-flags/portal-flag-states/update-account-flag"},{"title":"Batch set account flag state","openapi":"specs/2026-09/crm-public-app-feature-flags-v3-v2026-09.json POST /feature-flags/2026-09/{appId}/flags/{flagName}/portals/batch/upsert","href":"/api-reference/latest/app-management/feature-flags/portal-flag-states/upsert-account-flag"},{"title":"Batch delete account flag state","openapi":"specs/2026-09/crm-public-app-feature-flags-v3-v2026-09.json POST /feature-flags/2026-09/{appId}/flags/{flagName}/portals/batch/delete","href":"/api-reference/latest/app-management/feature-flags/portal-flag-states/delete-portal-flag-batch"},{"title":"Delete an account flag state","openapi":"specs/2026-09/crm-public-app-feature-flags-v3-v2026-09.json DELETE /feature-flags/2026-09/{appId}/flags/{flagName}/portals/{portalId}","href":"/api-reference/latest/app-management/feature-flags/portal-flag-states/delete-portal-flag"}]}]}]},{"group":"Authentification","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/Key.svg","pages":[{"title":"Manage OAuth access tokens with the 2026-09 API","url":"https://developers.hubspot.com/docs/api-reference/latest/authentication/manage-oauth-tokens","href":"/api-reference/latest/authentication/manage-oauth-tokens"},{"group":"Jetons OAuth","pages":[{"title":"Refresh an access token","openapi":"specs/2026-09/auth-oauth-v2026-09.json POST /oauth/2026-09/token","href":"/api-reference/latest/authentication/oauth-tokens/refresh-oauth-token"},{"title":"Revoke an OAuth token","openapi":"specs/2026-09/auth-oauth-v2026-09.json POST /oauth/2026-09/token/revoke","href":"/api-reference/latest/authentication/oauth-tokens/revoke-token"},{"title":"Token introspection endpoint","openapi":"specs/2026-09/auth-oauth-v2026-09.json POST /oauth/2026-09/token/introspect","href":"/api-reference/latest/authentication/oauth-tokens/token-introspect"}]}]},{"group":"Automatisation","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/Workflows.svg","pages":[{"group":"Modèles d'e-mails","pages":[{"title":"Email templates","url":"https://developers.hubspot.com/docs/api-reference/latest/automation/email-templates","href":"/api-reference/latest/automation/email-templates/guide"},{"title":"Create template","openapi":"specs/2026-09/automation-email-templates-v2026-09.json POST /automation/email-templates/2026-09","href":"/api-reference/latest/automation/email-templates/create-email-template"},{"title":"Retrieve template","openapi":"specs/2026-09/automation-email-templates-v2026-09.json GET /automation/email-templates/2026-09/{templateId}","href":"/api-reference/latest/automation/email-templates/retrieve-email-template"},{"title":"Retrieve templates","openapi":"specs/2026-09/automation-email-templates-v2026-09.json GET /automation/email-templates/2026-09","href":"/api-reference/latest/automation/email-templates/retrieve-email-templates"},{"title":"Retrieve folders","openapi":"specs/2026-09/automation-email-templates-v2026-09.json GET /automation/email-templates/2026-09/folders","href":"/api-reference/latest/automation/email-templates/retrieve-folders"},{"title":"Update template","openapi":"specs/2026-09/automation-email-templates-v2026-09.json PATCH /automation/email-templates/2026-09/{templateId}","href":"/api-reference/latest/automation/email-templates/update-email-template"}]},{"group":"Séquences","pages":[{"title":"Sequences API","url":"https://developers.hubspot.com/docs/api-reference/latest/automation/sequences","href":"/api-reference/latest/automation/sequences/guide"},{"title":"Create sequence","openapi":"specs/2026-09/automation-sequences-v2026-09.json POST /automation/sequences/2026-09/serviceaccounts/sequences","href":"/api-reference/latest/automation/sequences/create-sequence"},{"title":"List sequences","openapi":"specs/2026-09/automation-sequences-v2026-09.json GET /automation/sequences/2026-09/serviceaccounts/sequences","href":"/api-reference/latest/automation/sequences/list-sequences"},{"title":"Retrieve performance","openapi":"specs/2026-09/automation-sequences-v2026-09.json GET /automation/sequences/2026-09/serviceaccounts/sequences/{sequenceId}/performance","href":"/api-reference/latest/automation/sequences/retrieve-performance"},{"title":"Retrieve sequence","openapi":"specs/2026-09/automation-sequences-v2026-09.json GET /automation/sequences/2026-09/serviceaccounts/sequences/{sequenceId}","href":"/api-reference/latest/automation/sequences/retrieve-sequence"},{"title":"Update sequence","openapi":"specs/2026-09/automation-sequences-v2026-09.json PUT /automation/sequences/2026-09/serviceaccounts/sequences/{sequenceId}","href":"/api-reference/latest/automation/sequences/update-sequence"},{"title":"Delete sequence","openapi":"specs/2026-09/automation-sequences-v2026-09.json DELETE /automation/sequences/2026-09/serviceaccounts/sequences/{sequenceId}","href":"/api-reference/latest/automation/sequences/delete-sequence"},{"group":"Inscriptions","pages":[{"title":"Enroll a contact","openapi":"specs/2026-09/automation-sequences-v2026-09.json POST /automation/sequences/2026-09/enrollments","href":"/api-reference/latest/automation/sequences/enrollment/enroll-a-contact"},{"title":"Enroll service account","openapi":"specs/2026-09/automation-sequences-v2026-09.json POST /automation/sequences/2026-09/serviceaccounts/enrollments","href":"/api-reference/latest/automation/sequences/enrollment/enroll-service-account"},{"title":"Retrieve enrollment details","openapi":"specs/2026-09/automation-sequences-v2026-09.json GET /automation/sequences/2026-09/enrollments/contact/{contactId}","href":"/api-reference/latest/automation/sequences/enrollment/retrieve-enrollment-details"}]}]},{"group":"Actions de workflow","pages":[{"title":"Build custom workflow actions","url":"https://developers.hubspot.com/docs/api-reference/latest/automation/workflow-actions/custom-action-guide","href":"/api-reference/latest/automation/workflow-actions/custom-action-guide"},{"title":"Custom workflow actions reference","url":"https://developers.hubspot.com/docs/api-reference/latest/automation/workflow-actions/custom-action-reference","href":"/api-reference/latest/automation/workflow-actions/custom-action-reference"},{"title":"Custom code actions","url":"https://developers.hubspot.com/docs/api-reference/latest/automation/workflow-actions/custom-code-actions","href":"/api-reference/latest/automation/workflow-actions/custom-code-actions"},{"group":"Rappels","pages":[{"title":"Complete a batch of callbacks","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json POST /automation/actions/callbacks/2026-09/complete","href":"/api-reference/latest/automation/workflow-actions/callbacks/batch-complete-callbacks"},{"title":"Complete a callback","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json POST /automation/actions/callbacks/2026-09/{callbackId}/complete","href":"/api-reference/latest/automation/workflow-actions/callbacks/complete-callback"}]},{"group":"Définitions","pages":[{"title":"Create a new custom action definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json POST /automation/actions/2026-09/{appId}","href":"/api-reference/latest/automation/workflow-actions/definitions/create-action-definition"},{"title":"Retrieve a custom action definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json GET /automation/actions/2026-09/{appId}/{definitionId}","href":"/api-reference/latest/automation/workflow-actions/definitions/get-action-definition"},{"title":"Retrieve custom action definitions","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json GET /automation/actions/2026-09/{appId}","href":"/api-reference/latest/automation/workflow-actions/definitions/get-action-definitions"},{"title":"Set the object requirement for a custom action definition.","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json POST /automation/actions/2026-09/{appId}/{definitionId}/requires-object","href":"/api-reference/latest/automation/workflow-actions/definitions/set-object-requirement"},{"title":"Update an existing action definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json PATCH /automation/actions/2026-09/{appId}/{definitionId}","href":"/api-reference/latest/automation/workflow-actions/definitions/update-action-definition"},{"title":"Delete an action definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json DELETE /automation/actions/2026-09/{appId}/{definitionId}","href":"/api-reference/latest/automation/workflow-actions/definitions/delete-action-definition"}]},{"group":"Fonctions","pages":[{"title":"Insert a function for a definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json PUT /automation/actions/2026-09/{appId}/{definitionId}/functions/{functionType}","href":"/api-reference/latest/automation/workflow-actions/functions/add-function"},{"title":"Archive a function for a definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json DELETE /automation/actions/2026-09/{appId}/{definitionId}/functions/{functionType}/{functionId}","href":"/api-reference/latest/automation/workflow-actions/functions/archive-function"},{"title":"Retrieve a function from a given definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json GET /automation/actions/2026-09/{appId}/{definitionId}/functions/{functionType}/{functionId}","href":"/api-reference/latest/automation/workflow-actions/functions/get-function"},{"title":"Retrieve functions by a type for a given definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json GET /automation/actions/2026-09/{appId}/{definitionId}/functions/{functionType}","href":"/api-reference/latest/automation/workflow-actions/functions/get-functions-by-type"},{"title":"Retrieve functions for a given definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json GET /automation/actions/2026-09/{appId}/{definitionId}/functions","href":"/api-reference/latest/automation/workflow-actions/functions/get-functions"},{"title":"Update a function for a definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json PUT /automation/actions/2026-09/{appId}/{definitionId}/functions/{functionType}/{functionId}","href":"/api-reference/latest/automation/workflow-actions/functions/update-function"},{"title":"Delete a function for a definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json DELETE /automation/actions/2026-09/{appId}/{definitionId}/functions/{functionType}","href":"/api-reference/latest/automation/workflow-actions/functions/delete-function"}]},{"group":"Révisions","pages":[{"title":"Retrieve a specific revision of a definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json GET /automation/actions/2026-09/{appId}/{definitionId}/revisions/{revisionId}","href":"/api-reference/latest/automation/workflow-actions/revisions/get-revision"},{"title":"Retrieve revisions for a given definition","openapi":"specs/2026-09/automation-actions-v4-v2026-09.json GET /automation/actions/2026-09/{appId}/{definitionId}/revisions","href":"/api-reference/latest/automation/workflow-actions/revisions/get-revisions"}]}]}]},{"group":"CMS","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/Website.svg","pages":[{"group":"Blogs","pages":[{"group":"Auteurs","pages":[{"title":"CMS API | Blog Authors","url":"https://developers.hubspot.com/docs/api-reference/latest/cms/blogs/authors","href":"/api-reference/latest/cms/blogs/authors/guide"},{"title":"Create an author","openapi":"specs/2026-09/cms-authors-v2026-09.json POST /cms/blogs/2026-09/authors","href":"/api-reference/latest/cms/blogs/authors/create-author"},{"title":"Retrieve an author","openapi":"specs/2026-09/cms-authors-v2026-09.json GET /cms/blogs/2026-09/authors/{objectId}","href":"/api-reference/latest/cms/blogs/authors/get-author"},{"title":"Get all authors","openapi":"specs/2026-09/cms-authors-v2026-09.json GET /cms/blogs/2026-09/authors","href":"/api-reference/latest/cms/blogs/authors/get-authors"},{"title":"Update an author","openapi":"specs/2026-09/cms-authors-v2026-09.json PATCH /cms/blogs/2026-09/authors/{objectId}","href":"/api-reference/latest/cms/blogs/authors/update-author"},{"title":"Delete an author","openapi":"specs/2026-09/cms-authors-v2026-09.json DELETE /cms/blogs/2026-09/authors/{objectId}","href":"/api-reference/latest/cms/blogs/authors/delete-author"},{"group":"Lot","pages":[{"title":"Create a batch of authors","openapi":"specs/2026-09/cms-authors-v2026-09.json POST /cms/blogs/2026-09/authors/batch/create","href":"/api-reference/latest/cms/blogs/authors/batch/create-authors"},{"title":"Retrieve a batch of authors","openapi":"specs/2026-09/cms-authors-v2026-09.json POST /cms/blogs/2026-09/authors/batch/read","href":"/api-reference/latest/cms/blogs/authors/batch/get-authors"},{"title":"Update a batch of authors","openapi":"specs/2026-09/cms-authors-v2026-09.json POST /cms/blogs/2026-09/authors/batch/update","href":"/api-reference/latest/cms/blogs/authors/batch/update-authors"},{"title":"Delete a batch of authors","openapi":"specs/2026-09/cms-authors-v2026-09.json POST /cms/blogs/2026-09/authors/batch/archive","href":"/api-reference/latest/cms/blogs/authors/batch/delete-authors"}]},{"group":"Multilingue","pages":[{"title":"Attach an author to a multi-language group","openapi":"specs/2026-09/cms-authors-v2026-09.json POST /cms/blogs/2026-09/authors/multi-language/attach-to-lang-group","href":"/api-reference/latest/cms/blogs/authors/multi-language/attach-to-lang-group"},{"title":"Create a new language variation","openapi":"specs/2026-09/cms-authors-v2026-09.json POST /cms/blogs/2026-09/authors/multi-language/create-language-variation","href":"/api-reference/latest/cms/blogs/authors/multi-language/create-language-variation"},{"title":"Detach an author from a multi-language group","openapi":"specs/2026-09/cms-authors-v2026-09.json POST /cms/blogs/2026-09/authors/multi-language/detach-from-lang-group","href":"/api-reference/latest/cms/blogs/authors/multi-language/detach-from-lang-group"},{"title":"Set a new primary language","openapi":"specs/2026-09/cms-authors-v2026-09.json PUT /cms/blogs/2026-09/authors/multi-language/set-new-lang-primary","href":"/api-reference/latest/cms/blogs/authors/multi-language/set-new-lang-primary"},{"title":"Update languages of multi-language group","openapi":"specs/2026-09/cms-authors-v2026-09.json POST /cms/blogs/2026-09/authors/multi-language/update-languages","href":"/api-reference/latest/cms/blogs/authors/multi-language/update-languages"}]}]},{"group":"Paramètres du blog","pages":[{"title":"CMS API | Blog Settings","url":"https://developers.hubspot.com/docs/api-reference/latest/cms/blogs/blog-settings","href":"/api-reference/latest/cms/blogs/blog-settings/guide"},{"title":"Get a specific blog revision","openapi":"specs/2026-09/cms-blog-settings-v2026-09.json GET /cms/blog-settings/2026-09/settings/{blogId}/revisions/{revisionId}","href":"/api-reference/latest/cms/blogs/blog-settings/get-blog-revision"},{"title":"Get all blog revisions","openapi":"specs/2026-09/cms-blog-settings-v2026-09.json GET /cms/blog-settings/2026-09/settings/{blogId}/revisions","href":"/api-reference/latest/cms/blogs/blog-settings/get-blog-revisions"},{"title":"Retrieve a blog","openapi":"specs/2026-09/cms-blog-settings-v2026-09.json GET /cms/blog-settings/2026-09/settings/{blogId}","href":"/api-reference/latest/cms/blogs/blog-settings/get-blog"},{"title":"Retrieve all blogs","openapi":"specs/2026-09/cms-blog-settings-v2026-09.json GET /cms/blog-settings/2026-09/settings","href":"/api-reference/latest/cms/blogs/blog-settings/get-blogs"},{"group":"Multilingue","pages":[{"title":"Add a blog to a multi-language group","openapi":"specs/2026-09/cms-blog-settings-v2026-09.json POST /cms/blog-settings/2026-09/settings/multi-language/attach-to-lang-group","href":"/api-reference/latest/cms/blogs/blog-settings/multi-language/attach-to-lang-group"},{"title":"Update blog languages","openapi":"specs/2026-09/cms-blog-settings-v2026-09.json POST /cms/blog-settings/2026-09/settings/multi-language/update-languages","href":"/api-reference/latest/cms/blogs/blog-settings/multi-language/create-blog-setting"},{"title":"Create a language variation from an existing blog","openapi":"specs/2026-09/cms-blog-settings-v2026-09.json POST /cms/blog-settings/2026-09/settings/multi-language/create-language-variation","href":"/api-reference/latest/cms/blogs/blog-settings/multi-language/create-language-variation"},{"title":"Remove a blog from a multi-language group","openapi":"specs/2026-09/cms-blog-settings-v2026-09.json POST /cms/blog-settings/2026-09/settings/multi-language/detach-from-lang-group","href":"/api-reference/latest/cms/blogs/blog-settings/multi-language/detach-from-lang-group"},{"title":"Set primary language to match a specific blog","openapi":"specs/2026-09/cms-blog-settings-v2026-09.json PUT /cms/blog-settings/2026-09/settings/multi-language/set-new-lang-primary","href":"/api-reference/latest/cms/blogs/blog-settings/multi-language/set-new-lang-primary"}]}]},{"group":"Posts","pages":[{"title":"CMS API | Blog Posts","url":"https://developers.hubspot.com/docs/api-reference/latest/cms/blogs/posts","href":"/api-reference/latest/cms/blogs/posts/guide"},{"title":"Clone a post","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/clone","href":"/api-reference/latest/cms/blogs/posts/clone-post"},{"title":"Create a new post","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts","href":"/api-reference/latest/cms/blogs/posts/create-post"},{"title":"Retrieve a post","openapi":"specs/2026-09/cms-posts-v2026-09.json GET /cms/blogs/2026-09/posts/{objectId}","href":"/api-reference/latest/cms/blogs/posts/get-post"},{"title":"Get all posts","openapi":"specs/2026-09/cms-posts-v2026-09.json GET /cms/blogs/2026-09/posts","href":"/api-reference/latest/cms/blogs/posts/get-posts"},{"title":"Schedule a post to be published","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/schedule","href":"/api-reference/latest/cms/blogs/posts/schedule-post"},{"title":"Update a post","openapi":"specs/2026-09/cms-posts-v2026-09.json PATCH /cms/blogs/2026-09/posts/{objectId}","href":"/api-reference/latest/cms/blogs/posts/update-post"},{"title":"Delete a post","openapi":"specs/2026-09/cms-posts-v2026-09.json DELETE /cms/blogs/2026-09/posts/{objectId}","href":"/api-reference/latest/cms/blogs/posts/delete-post"},{"group":"Lot","pages":[{"title":"Create a batch of posts","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/batch/create","href":"/api-reference/latest/cms/blogs/posts/batch/create-posts"},{"title":"Retrieve a batch of posts","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/batch/read","href":"/api-reference/latest/cms/blogs/posts/batch/get-posts"},{"title":"Update a batch of posts","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/batch/update","href":"/api-reference/latest/cms/blogs/posts/batch/update-posts"},{"title":"Delete a batch of posts","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/batch/archive","href":"/api-reference/latest/cms/blogs/posts/batch/delete-posts"}]},{"group":"Brouillons","pages":[{"title":"Retrieve the full draft version of a post","openapi":"specs/2026-09/cms-posts-v2026-09.json GET /cms/blogs/2026-09/posts/{objectId}/draft","href":"/api-reference/latest/cms/blogs/posts/drafts/get-post-draft"},{"title":"Publish a post draft","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/{objectId}/draft/push-live","href":"/api-reference/latest/cms/blogs/posts/drafts/publish-draft"},{"title":"Update the draft of a post","openapi":"specs/2026-09/cms-posts-v2026-09.json PATCH /cms/blogs/2026-09/posts/{objectId}/draft","href":"/api-reference/latest/cms/blogs/posts/drafts/update-post-draft"}]},{"group":"Multilingue","pages":[{"title":"Attach post to a multi-language group","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/multi-language/attach-to-lang-group","href":"/api-reference/latest/cms/blogs/posts/multi-language/attach-to-lang-group"},{"title":"Create a language variation","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/multi-language/create-language-variation","href":"/api-reference/latest/cms/blogs/posts/multi-language/create-language-variation"},{"title":"Detach post from a multi-language group","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/multi-language/detach-from-lang-group","href":"/api-reference/latest/cms/blogs/posts/multi-language/detach-from-lang-group"},{"title":"Set a new primary language","openapi":"specs/2026-09/cms-posts-v2026-09.json PUT /cms/blogs/2026-09/posts/multi-language/set-new-lang-primary","href":"/api-reference/latest/cms/blogs/posts/multi-language/set-new-lang-primary"},{"title":"Update languages of multi-language group","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/multi-language/update-languages","href":"/api-reference/latest/cms/blogs/posts/multi-language/update-languages"}]},{"group":"Révisions","pages":[{"title":"Retrieve a previous version of a post","openapi":"specs/2026-09/cms-posts-v2026-09.json GET /cms/blogs/2026-09/posts/{objectId}/revisions/{revisionId}","href":"/api-reference/latest/cms/blogs/posts/revisions/get-post-version"},{"title":"Retrieves all previous versions of a post","openapi":"specs/2026-09/cms-posts-v2026-09.json GET /cms/blogs/2026-09/posts/{objectId}/revisions","href":"/api-reference/latest/cms/blogs/posts/revisions/get-post-versions"},{"title":"Restore a previous version","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/{objectId}/revisions/{revisionId}/restore","href":"/api-reference/latest/cms/blogs/posts/revisions/restore-post"},{"title":"Restore a draft to a previous version","openapi":"specs/2026-09/cms-posts-v2026-09.json POST /cms/blogs/2026-09/posts/{objectId}/revisions/{revisionId}/restore-to-draft","href":"/api-reference/latest/cms/blogs/posts/revisions/restore-to-draft"}]}]},{"group":"Balises","pages":[{"title":"CMS API | Blog tags","url":"https://developers.hubspot.com/docs/api-reference/latest/cms/blogs/tags","href":"/api-reference/latest/cms/blogs/tags/guide"},{"title":"Create a tag","openapi":"specs/2026-09/cms-tags-v2026-09.json POST /cms/blogs/2026-09/tags","href":"/api-reference/latest/cms/blogs/tags/create-tag"},{"title":"Retrieve a tag","openapi":"specs/2026-09/cms-tags-v2026-09.json GET /cms/blogs/2026-09/tags/{objectId}","href":"/api-reference/latest/cms/blogs/tags/get-tag"},{"title":"Retrieve all tags","openapi":"specs/2026-09/cms-tags-v2026-09.json GET /cms/blogs/2026-09/tags","href":"/api-reference/latest/cms/blogs/tags/get-tags"},{"title":"Update a tag","openapi":"specs/2026-09/cms-tags-v2026-09.json PATCH /cms/blogs/2026-09/tags/{objectId}","href":"/api-reference/latest/cms/blogs/tags/update-tag"},{"title":"Delete a tag","openapi":"specs/2026-09/cms-tags-v2026-09.json DELETE /cms/blogs/2026-09/tags/{objectId}","href":"/api-reference/latest/cms/blogs/tags/delete-tag"},{"group":"Lot","pages":[{"title":"Create a batch of tags","openapi":"specs/2026-09/cms-tags-v2026-09.json POST /cms/blogs/2026-09/tags/batch/create","href":"/api-reference/latest/cms/blogs/tags/batch/create-tags"},{"title":"Retrieve a batch of tags","openapi":"specs/2026-09/cms-tags-v2026-09.json POST /cms/blogs/2026-09/tags/batch/read","href":"/api-reference/latest/cms/blogs/tags/batch/get-tags"},{"title":"Update a batch of tags","openapi":"specs/2026-09/cms-tags-v2026-09.json POST /cms/blogs/2026-09/tags/batch/update","href":"/api-reference/latest/cms/blogs/tags/batch/update-tags"},{"title":"Delete a batch of tags","openapi":"specs/2026-09/cms-tags-v2026-09.json POST /cms/blogs/2026-09/tags/batch/archive","href":"/api-reference/latest/cms/blogs/tags/batch/delete-tags"}]},{"group":"Multilingue","pages":[{"title":"Attach a tag to a multi-language group","openapi":"specs/2026-09/cms-tags-v2026-09.json POST /cms/blogs/2026-09/tags/multi-language/attach-to-lang-group","href":"/api-reference/latest/cms/blogs/tags/multi-language/attach-to-lang-group"},{"title":"Create a new language variation","openapi":"specs/2026-09/cms-tags-v2026-09.json POST /cms/blogs/2026-09/tags/multi-language/create-language-variation","href":"/api-reference/latest/cms/blogs/tags/multi-language/create-language-variation"},{"title":"Detach a tag from a multi-language group","openapi":"specs/2026-09/cms-tags-v2026-09.json POST /cms/blogs/2026-09/tags/multi-language/detach-from-lang-group","href":"/api-reference/latest/cms/blogs/tags/multi-language/detach-from-lang-group"},{"title":"Set a new primary language","openapi":"specs/2026-09/cms-tags-v2026-09.json PUT /cms/blogs/2026-09/tags/multi-language/set-new-lang-primary","href":"/api-reference/latest/cms/blogs/tags/multi-language/set-new-lang-primary"},{"title":"Update languages of multi-language group","openapi":"specs/2026-09/cms-tags-v2026-09.json POST /cms/blogs/2026-09/tags/multi-language/update-languages","href":"/api-reference/latest/cms/blogs/tags/multi-language/update-languages"}]}]}]},{"group":"Audit de contenu","pages":[{"title":"API d'audit de contenu CMS","href":"/api-reference/latest/cms/content-audit/guide"},{"title":"Export content audit logs","openapi":"specs/2026-09/cms-cms-content-audit-v2026-09.json POST /cms/audit-logs/2026-09/export","href":"/api-reference/latest/cms/content-audit/export-content-audit"},{"title":"Retrieve content audit logs","openapi":"specs/2026-09/cms-cms-content-audit-v2026-09.json GET /cms/audit-logs/2026-09","href":"/api-reference/latest/cms/content-audit/get-content-audit"}]},{"group":"Domaines","pages":[{"title":"CMS API | Domain management","url":"https://developers.hubspot.com/docs/api-reference/latest/cms/domains","href":"/api-reference/latest/cms/domains/guide"},{"title":"Retrieve a domain","openapi":"specs/2026-09/cms-domains-v2026-09.json GET /cms/domains/2026-09/{domainId}","href":"/api-reference/latest/cms/domains/get-domain"},{"title":"Retrieve all domains","openapi":"specs/2026-09/cms-domains-v2026-09.json GET /cms/domains/2026-09","href":"/api-reference/latest/cms/domains/get-domains"}]},{"group":"HubDB","pages":[{"title":"API du CMS | HubDB","href":"/api-reference/latest/cms/hubdb/guide"},{"group":"Lignes","pages":[{"title":"Clone rows in batch","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/draft/batch/clone","href":"/api-reference/latest/cms/hubdb/rows/batch-clone-rows-draft"},{"title":"Create rows in batch","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/draft/batch/create","href":"/api-reference/latest/cms/hubdb/rows/batch-create-rows-draft"},{"title":"Get a set of rows from draft table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/draft/batch/read","href":"/api-reference/latest/cms/hubdb/rows/batch-read-rows-draft"},{"title":"Get a set of rows","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/batch/read","href":"/api-reference/latest/cms/hubdb/rows/batch-read-rows"},{"title":"Replace rows in batch in draft table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/draft/batch/replace","href":"/api-reference/latest/cms/hubdb/rows/batch-replace-rows-draft"},{"title":"Update rows in batch in draft table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/draft/batch/update","href":"/api-reference/latest/cms/hubdb/rows/batch-update-rows"},{"title":"Clone a row","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/{rowId}/draft/clone","href":"/api-reference/latest/cms/hubdb/rows/clone-row-draft"},{"title":"Add a new row to a table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/rows","href":"/api-reference/latest/cms/hubdb/rows/create-row"},{"title":"Get a row from the draft table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json GET /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/{rowId}/draft","href":"/api-reference/latest/cms/hubdb/rows/get-hubdb-draft"},{"title":"Get a table row","openapi":"specs/2026-09/cms-hubdb-v2026-09.json GET /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/{rowId}","href":"/api-reference/latest/cms/hubdb/rows/get-row"},{"title":"Get rows from draft table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json GET /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/draft","href":"/api-reference/latest/cms/hubdb/rows/get-rows-draft"},{"title":"Get rows for a table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json GET /cms/hubdb/2026-09/tables/{tableIdOrName}/rows","href":"/api-reference/latest/cms/hubdb/rows/get-rows"},{"title":"Updates an existing row","openapi":"specs/2026-09/cms-hubdb-v2026-09.json PATCH /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/{rowId}/draft","href":"/api-reference/latest/cms/hubdb/rows/update-hubdb-draft-rowId"},{"title":"Replaces an existing row","openapi":"specs/2026-09/cms-hubdb-v2026-09.json PUT /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/{rowId}/draft","href":"/api-reference/latest/cms/hubdb/rows/update-hubdb-draft"},{"title":"Permanently deletes a row","openapi":"specs/2026-09/cms-hubdb-v2026-09.json DELETE /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/{rowId}/draft","href":"/api-reference/latest/cms/hubdb/rows/delete-hubdb-draft"},{"title":"Permanently deletes rows","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/rows/draft/batch/purge","href":"/api-reference/latest/cms/hubdb/rows/delete-row-draft"}]},{"group":"Tableaux","pages":[{"title":"Clone a table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/draft/clone","href":"/api-reference/latest/cms/hubdb/tables/clone-table-draft"},{"title":"Create a table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables","href":"/api-reference/latest/cms/hubdb/tables/create-table"},{"title":"Export a draft table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json GET /cms/hubdb/2026-09/tables/{tableIdOrName}/draft/export","href":"/api-reference/latest/cms/hubdb/tables/export-table-draft"},{"title":"Export a published version of a table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json GET /cms/hubdb/2026-09/tables/{tableIdOrName}/export","href":"/api-reference/latest/cms/hubdb/tables/export-table"},{"title":"Get details for a draft table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json GET /cms/hubdb/2026-09/tables/{tableIdOrName}/draft","href":"/api-reference/latest/cms/hubdb/tables/get-hubdb-draft-tableIdOrName"},{"title":"Return all draft tables","openapi":"specs/2026-09/cms-hubdb-v2026-09.json GET /cms/hubdb/2026-09/tables/draft","href":"/api-reference/latest/cms/hubdb/tables/get-hubdb-draft"},{"title":"Get details of a published table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json GET /cms/hubdb/2026-09/tables/{tableIdOrName}","href":"/api-reference/latest/cms/hubdb/tables/get-table"},{"title":"Get all published tables","openapi":"specs/2026-09/cms-hubdb-v2026-09.json GET /cms/hubdb/2026-09/tables","href":"/api-reference/latest/cms/hubdb/tables/get-tables"},{"title":"Import data into draft table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/draft/import","href":"/api-reference/latest/cms/hubdb/tables/import-table-draft"},{"title":"Publish a table from draft","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/draft/publish","href":"/api-reference/latest/cms/hubdb/tables/publish-table-draft"},{"title":"Reset a table draft","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/draft/reset","href":"/api-reference/latest/cms/hubdb/tables/reset-table-draft"},{"title":"Unpublish a table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json POST /cms/hubdb/2026-09/tables/{tableIdOrName}/unpublish","href":"/api-reference/latest/cms/hubdb/tables/unpublish-table"},{"title":"Update an existing table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json PATCH /cms/hubdb/2026-09/tables/{tableIdOrName}/draft","href":"/api-reference/latest/cms/hubdb/tables/update-hubdb-draft"},{"title":"Delete a table version","openapi":"specs/2026-09/cms-hubdb-v2026-09.json DELETE /cms/hubdb/2026-09/tables/{tableIdOrName}/versions/{versionId}","href":"/api-reference/latest/cms/hubdb/tables/delete-table-version"},{"title":"Archive a table","openapi":"specs/2026-09/cms-hubdb-v2026-09.json DELETE /cms/hubdb/2026-09/tables/{tableIdOrName}","href":"/api-reference/latest/cms/hubdb/tables/delete-table"}]}]},{"group":"Media Bridge","pages":[{"title":"API du CMS | Media Bridge","sidebarTitle":"Media bridge","href":"/api-reference/latest/cms/media-bridge/guide"},{"group":"Lot","pages":[{"title":"Batch create properties","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/{appId}/properties/{objectType}/batch/create","href":"/api-reference/latest/cms/media-bridge/batch/create-properties"},{"title":"Batch read properties","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/{appId}/properties/{objectType}/batch/read","href":"/api-reference/latest/cms/media-bridge/batch/get-properties"},{"title":"Batch archive properties","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/{appId}/properties/{objectType}/batch/archive","href":"/api-reference/latest/cms/media-bridge/batch/delete-properties"}]},{"group":"Événements","pages":[{"title":"Create Event","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/events/attention-span","href":"/api-reference/latest/cms/media-bridge/events/attention-span"},{"title":"Record Media Played Percentage","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/events/media-played-percent","href":"/api-reference/latest/cms/media-bridge/events/media-played-percent"},{"title":"Create","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/events/media-played","href":"/api-reference/latest/cms/media-bridge/events/media-played"}]},{"group":"Paramètres de l'intégrateur","pages":[{"title":"Set up a new oEmbed domain","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/{appId}/settings/oembed-domains","href":"/api-reference/latest/cms/media-bridge/integrator-settings/configure-oembed-domain"},{"title":"Get object types for a supported media","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json GET /media-bridge/2026-09/{appId}/settings/object-definitions/{mediaType}","href":"/api-reference/latest/cms/media-bridge/integrator-settings/get-object-types"},{"title":"Get an oEmbed domain","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json GET /media-bridge/2026-09/{appId}/settings/oembed-domains/{oEmbedDomainId}","href":"/api-reference/latest/cms/media-bridge/integrator-settings/get-oembed-domain"},{"title":"Update the media bridge app name","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json PUT /media-bridge/2026-09/{appId}/settings","href":"/api-reference/latest/cms/media-bridge/integrator-settings/update-app-name"},{"title":"Update an oEmbed domain","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json PATCH /media-bridge/2026-09/{appId}/settings/oembed-domains/{oEmbedDomainId}","href":"/api-reference/latest/cms/media-bridge/integrator-settings/update-oembed-domain"},{"title":"Delete an oEmbed domain","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json DELETE /media-bridge/2026-09/{appId}/settings/oembed-domains","href":"/api-reference/latest/cms/media-bridge/integrator-settings/delete-oembed-domain"}]},{"group":"Propriétés","pages":[{"title":"Create Group","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/{appId}/properties/{objectType}/groups","href":"/api-reference/latest/cms/media-bridge/properties/create-property-group"},{"title":"Create property","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/{appId}/properties/{objectType}","href":"/api-reference/latest/cms/media-bridge/properties/create-property"},{"title":"Retrieve properties","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json GET /media-bridge/2026-09/{appId}/properties/{objectType}","href":"/api-reference/latest/cms/media-bridge/properties/get-properties"},{"title":"Retrieve property","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json GET /media-bridge/2026-09/{appId}/properties/{objectType}/{propertyName}","href":"/api-reference/latest/cms/media-bridge/properties/get-property-details"},{"title":"Retrieve group","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json GET /media-bridge/2026-09/{appId}/properties/{objectType}/groups/{groupName}","href":"/api-reference/latest/cms/media-bridge/properties/get-property-group"},{"title":"List groups","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json GET /media-bridge/2026-09/{appId}/properties/{objectType}/groups","href":"/api-reference/latest/cms/media-bridge/properties/get-property-groups"},{"title":"Update group","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json PATCH /media-bridge/2026-09/{appId}/properties/{objectType}/groups/{groupName}","href":"/api-reference/latest/cms/media-bridge/properties/update-property-group"},{"title":"Update property","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json PATCH /media-bridge/2026-09/{appId}/properties/{objectType}/{propertyName}","href":"/api-reference/latest/cms/media-bridge/properties/update-property"},{"title":"Delete group","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json DELETE /media-bridge/2026-09/{appId}/properties/{objectType}/groups/{groupName}","href":"/api-reference/latest/cms/media-bridge/properties/delete-property-group"},{"title":"Delete property","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json DELETE /media-bridge/2026-09/{appId}/properties/{objectType}/{propertyName}","href":"/api-reference/latest/cms/media-bridge/properties/delete-property"}]},{"group":"Schémas","pages":[{"title":"Create associations","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/{appId}/schemas/{objectType}/associations","href":"/api-reference/latest/cms/media-bridge/schemas/create-association-definition"},{"title":"Create Object Definitions","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/{appId}/settings/object-definitions","href":"/api-reference/latest/cms/media-bridge/schemas/create-object-type"},{"title":"Define Video Association","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json POST /media-bridge/2026-09/{appId}/settings/video-association-definition","href":"/api-reference/latest/cms/media-bridge/schemas/create-video-association-definition"},{"title":"Retrieve schemas","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json GET /media-bridge/2026-09/{appId}/schemas","href":"/api-reference/latest/cms/media-bridge/schemas/get-schemas"},{"title":"Update schema","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json PATCH /media-bridge/2026-09/{appId}/schemas/{objectType}","href":"/api-reference/latest/cms/media-bridge/schemas/update-schema"},{"title":"Delete association","openapi":"specs/2026-09/cms-media-bridge-v2026-09.json DELETE /media-bridge/2026-09/{appId}/schemas/{objectType}/associations/{associationId}","href":"/api-reference/latest/cms/media-bridge/schemas/delete-association-definition"}]}]},{"group":"Pages","pages":[{"title":"Pages API","url":"https://developers.hubspot.com/docs/api-reference/latest/cms/pages","href":"/api-reference/latest/cms/pages/guide"},{"group":"Pages de destination","pages":[{"title":"Clone a landing page","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/clone","href":"/api-reference/latest/cms/pages/landing-pages/clone-landing-page"},{"title":"Create a landing page","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages","href":"/api-reference/latest/cms/pages/landing-pages/create-landing-page"},{"title":"Retrieve a landing page","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/landing-pages/{objectId}","href":"/api-reference/latest/cms/pages/landing-pages/get-landing-page"},{"title":"Get all landing pages","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/landing-pages","href":"/api-reference/latest/cms/pages/landing-pages/get-landing-pages"},{"title":"Schedule landing page publishing","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/schedule","href":"/api-reference/latest/cms/pages/landing-pages/schedule-landing-page"},{"title":"Update a landing page","openapi":"specs/2026-09/cms-pages-v2026-09.json PATCH /cms/pages/2026-09/landing-pages/{objectId}","href":"/api-reference/latest/cms/pages/landing-pages/update-landing-page"},{"title":"Delete a landing page","openapi":"specs/2026-09/cms-pages-v2026-09.json DELETE /cms/pages/2026-09/landing-pages/{objectId}","href":"/api-reference/latest/cms/pages/landing-pages/delete-landing-page"},{"group":"A/B tests","pages":[{"title":"Create a new A/B test variation","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/ab-test/create-variation","href":"/api-reference/latest/cms/pages/landing-pages/ab-tests/create-variation"},{"title":"End an active A/B test","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/ab-test/end","href":"/api-reference/latest/cms/pages/landing-pages/ab-tests/end-ab-test"},{"title":"Rerun a previous A/B test","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/ab-test/rerun","href":"/api-reference/latest/cms/pages/landing-pages/ab-tests/rerun-ab-test"}]},{"group":"Lot","pages":[{"title":"Delete landing pages","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/batch/archive","href":"/api-reference/latest/cms/pages/landing-pages/batch/archive-landing-pages"},{"title":"Create landing pages","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/batch/create","href":"/api-reference/latest/cms/pages/landing-pages/batch/create-landing-pages"},{"title":"Retrieve landing pages","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/batch/read","href":"/api-reference/latest/cms/pages/landing-pages/batch/read-landing-pages"},{"title":"Update landing pages","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/batch/update","href":"/api-reference/latest/cms/pages/landing-pages/batch/update-landing-pages"}]},{"group":"Brouillons","pages":[{"title":"Retrieve a landing page draft","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/landing-pages/{objectId}/draft","href":"/api-reference/latest/cms/pages/landing-pages/drafts/get-landing-page-draft"},{"title":"Publish a landing page draft","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/{objectId}/draft/push-live","href":"/api-reference/latest/cms/pages/landing-pages/drafts/publish-landing-page-draft"},{"title":"Reset a landing page draft","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/{objectId}/draft/reset","href":"/api-reference/latest/cms/pages/landing-pages/drafts/reset-landing-page-draft"},{"title":"Update the draft of a landing page","openapi":"specs/2026-09/cms-pages-v2026-09.json PATCH /cms/pages/2026-09/landing-pages/{objectId}/draft","href":"/api-reference/latest/cms/pages/landing-pages/drafts/update-landing-page-draft"}]},{"group":"Dossiers","pages":[{"title":"Archive folders","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/folders/batch/archive","href":"/api-reference/latest/cms/pages/landing-pages/folders/batch-archive-folders"},{"title":"Create folders","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/folders/batch/create","href":"/api-reference/latest/cms/pages/landing-pages/folders/batch-create-folders"},{"title":"Retrieve folders","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/folders/batch/read","href":"/api-reference/latest/cms/pages/landing-pages/folders/batch-read-folders"},{"title":"Update folders","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/folders/batch/update","href":"/api-reference/latest/cms/pages/landing-pages/folders/batch-update-folders"},{"title":"Create a landing page folder","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/folders","href":"/api-reference/latest/cms/pages/landing-pages/folders/create-folder"},{"title":"Retrieve a previous version of a folder","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/landing-pages/folders/{objectId}/revisions/{revisionId}","href":"/api-reference/latest/cms/pages/landing-pages/folders/get-folder-revision"},{"title":"Retrieves previous versions of a folder","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/landing-pages/folders/{objectId}/revisions","href":"/api-reference/latest/cms/pages/landing-pages/folders/get-folder-revisions"},{"title":"Retrieve a landing page folder","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/landing-pages/folders/{objectId}","href":"/api-reference/latest/cms/pages/landing-pages/folders/get-folder"},{"title":"Get all landing page folders","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/landing-pages/folders","href":"/api-reference/latest/cms/pages/landing-pages/folders/get-folders"},{"title":"Restore a previous version of a folder","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/folders/{objectId}/revisions/{revisionId}/restore","href":"/api-reference/latest/cms/pages/landing-pages/folders/restore-folder-revision"},{"title":"Update a landing page folder","openapi":"specs/2026-09/cms-pages-v2026-09.json PATCH /cms/pages/2026-09/landing-pages/folders/{objectId}","href":"/api-reference/latest/cms/pages/landing-pages/folders/update-folder"},{"title":"Delete a landing page folder","openapi":"specs/2026-09/cms-pages-v2026-09.json DELETE /cms/pages/2026-09/landing-pages/folders/{objectId}","href":"/api-reference/latest/cms/pages/landing-pages/folders/delete-folder"}]},{"group":"Multilingue","pages":[{"title":"Add a landing page to a multi-language group","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/multi-language/attach-to-lang-group","href":"/api-reference/latest/cms/pages/landing-pages/multi-language/attach-to-lang-group"},{"title":"Create a new language variation","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/multi-language/create-language-variation","href":"/api-reference/latest/cms/pages/landing-pages/multi-language/create-language-variation"},{"title":"Remove a landing page from a multi-language group","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/multi-language/detach-from-lang-group","href":"/api-reference/latest/cms/pages/landing-pages/multi-language/detach-from-lang-group"},{"title":"Set a new primary language","openapi":"specs/2026-09/cms-pages-v2026-09.json PUT /cms/pages/2026-09/landing-pages/multi-language/set-new-lang-primary","href":"/api-reference/latest/cms/pages/landing-pages/multi-language/set-new-lang-primary"},{"title":"Update languages of multi-language group","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/multi-language/update-languages","href":"/api-reference/latest/cms/pages/landing-pages/multi-language/update-languages"}]},{"group":"Révisions","pages":[{"title":"Retrieve a previous version of a landing page","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/landing-pages/{objectId}/revisions/{revisionId}","href":"/api-reference/latest/cms/pages/landing-pages/revisions/get-landing-page-revision"},{"title":"Retrieve all previous versions of a landing page","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/landing-pages/{objectId}/revisions","href":"/api-reference/latest/cms/pages/landing-pages/revisions/get-landing-page-revisions"},{"title":"Restore a previous version of a landing page","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/{objectId}/revisions/{revisionId}/restore","href":"/api-reference/latest/cms/pages/landing-pages/revisions/restore-landing-page-revision"},{"title":"Restore a previous version of a landing page","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/landing-pages/{objectId}/revisions/{revisionId}/restore-to-draft","href":"/api-reference/latest/cms/pages/landing-pages/revisions/restore-landing-page-to-draft"}]}]},{"group":"Pages de site web","pages":[{"title":"Clone a site page","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/clone","href":"/api-reference/latest/cms/pages/website-pages/clone-website-page"},{"title":"Create a site page","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages","href":"/api-reference/latest/cms/pages/website-pages/create-website-page"},{"title":"Retrieve a site page","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/site-pages/{objectId}","href":"/api-reference/latest/cms/pages/website-pages/get-website-page"},{"title":"Get all site pages","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/site-pages","href":"/api-reference/latest/cms/pages/website-pages/get-website-pages"},{"title":"Schedule site page publishing","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/schedule","href":"/api-reference/latest/cms/pages/website-pages/schedule-website-page"},{"title":"Update a site page","openapi":"specs/2026-09/cms-pages-v2026-09.json PATCH /cms/pages/2026-09/site-pages/{objectId}","href":"/api-reference/latest/cms/pages/website-pages/update-website-page"},{"title":"Delete a site page","openapi":"specs/2026-09/cms-pages-v2026-09.json DELETE /cms/pages/2026-09/site-pages/{objectId}","href":"/api-reference/latest/cms/pages/website-pages/delete-website-page"},{"group":"A/B tests","pages":[{"title":"Create a new A/B test variation","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/ab-test/create-variation","href":"/api-reference/latest/cms/pages/website-pages/ab-tests/create-variation"},{"title":"End an active A/B test","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/ab-test/end","href":"/api-reference/latest/cms/pages/website-pages/ab-tests/end-ab-test"},{"title":"Rerun a previous A/B test","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/ab-test/rerun","href":"/api-reference/latest/cms/pages/website-pages/ab-tests/rerun-ab-test"}]},{"group":"Lot","pages":[{"title":"Delete site pages","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/batch/archive","href":"/api-reference/latest/cms/pages/website-pages/batch/archive-website-pages"},{"title":"Create site pages","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/batch/create","href":"/api-reference/latest/cms/pages/website-pages/batch/create-website-pages"},{"title":"Retrieve site pages","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/batch/read","href":"/api-reference/latest/cms/pages/website-pages/batch/read-website-pages"},{"title":"Update site pages","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/batch/update","href":"/api-reference/latest/cms/pages/website-pages/batch/update-website-pages"}]},{"group":"Brouillons","pages":[{"title":"Retrieve a site page draft","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/site-pages/{objectId}/draft","href":"/api-reference/latest/cms/pages/website-pages/drafts/get-website-page-draft"},{"title":"Publish a site page draft","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/{objectId}/draft/push-live","href":"/api-reference/latest/cms/pages/website-pages/drafts/publish-website-page-draft"},{"title":"Reset a site page draft","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/{objectId}/draft/reset","href":"/api-reference/latest/cms/pages/website-pages/drafts/reset-website-page-draft"},{"title":"Update the draft of a site page","openapi":"specs/2026-09/cms-pages-v2026-09.json PATCH /cms/pages/2026-09/site-pages/{objectId}/draft","href":"/api-reference/latest/cms/pages/website-pages/drafts/update-website-page-draft"}]},{"group":"Multilingue","pages":[{"title":"Add a site page to a multi-language group","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/multi-language/attach-to-lang-group","href":"/api-reference/latest/cms/pages/website-pages/multi-language/attach-to-lang-group"},{"title":"Create a new language variation","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/multi-language/create-language-variation","href":"/api-reference/latest/cms/pages/website-pages/multi-language/create-language-variation"},{"title":"Remove a site page from a multi-language group","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/multi-language/detach-from-lang-group","href":"/api-reference/latest/cms/pages/website-pages/multi-language/detach-from-lang-group"},{"title":"Set a new primary language","openapi":"specs/2026-09/cms-pages-v2026-09.json PUT /cms/pages/2026-09/site-pages/multi-language/set-new-lang-primary","href":"/api-reference/latest/cms/pages/website-pages/multi-language/set-new-lang-primary"},{"title":"Update languages of multi-language group","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/multi-language/update-languages","href":"/api-reference/latest/cms/pages/website-pages/multi-language/update-languages"}]},{"group":"Révisions","pages":[{"title":"Retrieve a previous version of a site page","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/site-pages/{objectId}/revisions/{revisionId}","href":"/api-reference/latest/cms/pages/website-pages/revisions/get-website-page-revision"},{"title":"Retrieve all previous versions of a site page","openapi":"specs/2026-09/cms-pages-v2026-09.json GET /cms/pages/2026-09/site-pages/{objectId}/revisions","href":"/api-reference/latest/cms/pages/website-pages/revisions/get-website-page-revisions"},{"title":"Restore a previous version of a site page","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/{objectId}/revisions/{revisionId}/restore","href":"/api-reference/latest/cms/pages/website-pages/revisions/restore-website-page-revision"},{"title":"Restore a previous version of a site page to draft","openapi":"specs/2026-09/cms-pages-v2026-09.json POST /cms/pages/2026-09/site-pages/{objectId}/revisions/{revisionId}/restore-to-draft","href":"/api-reference/latest/cms/pages/website-pages/revisions/restore-website-page-to-draft"}]}]}]},{"group":"Recherche de site","pages":[{"title":"API du CMS | Recherche de site","sidebarTitle":"Site search","href":"/api-reference/latest/cms/site-search/guide"},{"title":"Get indexed properties","openapi":"specs/2026-09/cms-site-search-v2026-09.json GET /cms/site-search/2026-09/indexed-data/{contentId}","href":"/api-reference/latest/cms/site-search/get-indexed-data"},{"title":"Search your site","openapi":"specs/2026-09/cms-site-search-v2026-09.json GET /cms/site-search/2026-09/search","href":"/api-reference/latest/cms/site-search/search-site"}]},{"group":"Code source","pages":[{"title":"Conversations | Exécuter des blocs de code dans des bots","href":"/api-reference/latest/cms/source-code/guide"},{"title":"Create a file","openapi":"specs/2026-09/cms-source-code-v2026-09.json POST /cms/source-code/2026-09/{environment}/content/{path}","href":"/api-reference/latest/cms/source-code/create-source-code-file"},{"title":"Retrieve file metadata","openapi":"specs/2026-09/cms-source-code-v2026-09.json GET /cms/source-code/2026-09/{environment}/metadata/{path}","href":"/api-reference/latest/cms/source-code/get-file-metadata"},{"title":"Download a file","openapi":"specs/2026-09/cms-source-code-v2026-09.json GET /cms/source-code/2026-09/{environment}/content/{path}","href":"/api-reference/latest/cms/source-code/get-source-code-file"},{"title":"Create or update a file","openapi":"specs/2026-09/cms-source-code-v2026-09.json PUT /cms/source-code/2026-09/{environment}/content/{path}","href":"/api-reference/latest/cms/source-code/update-source-code-file"},{"title":"Validate the contents of a file","openapi":"specs/2026-09/cms-source-code-v2026-09.json POST /cms/source-code/2026-09/{environment}/validate/{path}","href":"/api-reference/latest/cms/source-code/validate-source-code-file"},{"title":"Delete a file","openapi":"specs/2026-09/cms-source-code-v2026-09.json DELETE /cms/source-code/2026-09/{environment}/content/{path}","href":"/api-reference/latest/cms/source-code/delete-source-code-file"},{"group":"Extraire","pages":[{"title":"Extract source code in a zip file","openapi":"specs/2026-09/cms-source-code-v2026-09.json POST /cms/source-code/2026-09/extract/async","href":"/api-reference/latest/cms/source-code/extract/extract-source-code"},{"title":"Get extraction status","openapi":"specs/2026-09/cms-source-code-v2026-09.json GET /cms/source-code/2026-09/extract/async/tasks/{taskId}/status","href":"/api-reference/latest/cms/source-code/extract/get-extraction-status"}]}]},{"group":"Mappage des URL","pages":[{"title":"Create a mapping","openapi":"specs/2026-09/cms-url-mappings-v2026-09.json POST /url-mappings/2026-09/url-mappings","href":"/api-reference/latest/cms/url-mappings/create-url-mapping"},{"title":"Retrieve a mapping","openapi":"specs/2026-09/cms-url-mappings-v2026-09.json GET /url-mappings/2026-09/url-mappings/{id}","href":"/api-reference/latest/cms/url-mappings/get-url-mapping"},{"title":"Retrieve mappings","openapi":"specs/2026-09/cms-url-mappings-v2026-09.json GET /url-mappings/2026-09/url-mappings","href":"/api-reference/latest/cms/url-mappings/get-url-mappings"},{"title":"Delete a mapping","openapi":"specs/2026-09/cms-url-mappings-v2026-09.json DELETE /url-mappings/2026-09/url-mappings/{id}","href":"/api-reference/latest/cms/url-mappings/delete-url-mapping"}]},{"group":"Redirections d'URL","pages":[{"title":"URL redirects API","url":"https://developers.hubspot.com/docs/api-reference/latest/cms/url-redirects","href":"/api-reference/latest/cms/url-redirects/guide"},{"title":"Create a redirect","openapi":"specs/2026-09/cms-url-redirects-v2026-09.json POST /cms/url-redirects/2026-09","href":"/api-reference/latest/cms/url-redirects/create-url-redirect"},{"title":"Retrieve redirect details","openapi":"specs/2026-09/cms-url-redirects-v2026-09.json GET /cms/url-redirects/2026-09/{urlRedirectId}","href":"/api-reference/latest/cms/url-redirects/get-url-redirect"},{"title":"Retrieve current redirects","openapi":"specs/2026-09/cms-url-redirects-v2026-09.json GET /cms/url-redirects/2026-09","href":"/api-reference/latest/cms/url-redirects/get-url-redirects"},{"title":"Update a redirect","openapi":"specs/2026-09/cms-url-redirects-v2026-09.json PATCH /cms/url-redirects/2026-09/{urlRedirectId}","href":"/api-reference/latest/cms/url-redirects/update-url-redirect"},{"title":"Delete a redirect","openapi":"specs/2026-09/cms-url-redirects-v2026-09.json DELETE /cms/url-redirects/2026-09/{urlRedirectId}","href":"/api-reference/latest/cms/url-redirects/delete-url-redirect"}]}]},{"group":"Préférences de communication","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/Communication.svg","pages":[{"title":"Communication preferences API guide","url":"https://developers.hubspot.com/docs/api-reference/latest/communication-preferences","href":"/api-reference/latest/communication-preferences/guide"},{"group":"Définitions","pages":[{"title":"Retrieve all subscription status definitions","openapi":"specs/2026-09/communication-preferences-subscriptions-v2026-09.json GET /communication-preferences/2026-09/definitions","href":"/api-reference/latest/communication-preferences/definitions/get-subscription-definitions"}]},{"group":"Statut","pages":[{"title":"Get subscription preferences for a specific contact","openapi":"specs/2026-09/communication-preferences-subscriptions-v2026-09.json GET /communication-preferences/2026-09/statuses/{subscriberIdString}","href":"/api-reference/latest/communication-preferences/status/get-subscription"},{"title":"Retrieve a contact's unsubscribed status","openapi":"specs/2026-09/communication-preferences-subscriptions-v2026-09.json GET /communication-preferences/2026-09/statuses/{subscriberIdString}/unsubscribe-all","href":"/api-reference/latest/communication-preferences/status/get-unsubscribed-status"},{"title":"Update a contact's subscription status","openapi":"specs/2026-09/communication-preferences-subscriptions-v2026-09.json POST /communication-preferences/2026-09/statuses/{subscriberIdString}","href":"/api-reference/latest/communication-preferences/status/update-subscription"},{"group":"Lot","pages":[{"title":"Batch retrieve subscription statuses","openapi":"specs/2026-09/communication-preferences-subscriptions-v2026-09.json POST /communication-preferences/2026-09/statuses/batch/read","href":"/api-reference/latest/communication-preferences/status/batch/get-subscriptions"},{"title":"Batch unsubscribe contacts from all subscriptions","openapi":"specs/2026-09/communication-preferences-subscriptions-v2026-09.json POST /communication-preferences/2026-09/statuses/batch/unsubscribe-all","href":"/api-reference/latest/communication-preferences/status/batch/unsubscribe-contacts-batch"}]}]}]},{"group":"Conversations","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/EmailOpen.svg","pages":[{"title":"Conversations","url":"https://developers.hubspot.com/docs/api-reference/latest/conversations","href":"/api-reference/latest/conversations/guide"},{"group":"Configuration du chat","pages":[{"title":"Conversations SDK","url":"https://developers.hubspot.com/docs/api-reference/latest/conversations/chat-configuration/chat-widget-sdk","href":"/api-reference/latest/conversations/chat-configuration/chat-widget-sdk"},{"title":"Running code snippets in bots","url":"https://developers.hubspot.com/docs/api-reference/latest/conversations/chat-configuration/working-with-chatbots","href":"/api-reference/latest/conversations/chat-configuration/working-with-chatbots"},{"group":"SDK de chat sur mobile","pages":[{"title":"Integrate the HubSpot mobile chat SDK into your Android app","url":"https://developers.hubspot.com/docs/api-reference/latest/conversations/chat-configuration/mobile-chat-sdk/android","href":"/api-reference/latest/conversations/chat-configuration/mobile-chat-sdk/android"},{"title":"Integrate the HubSpot mobile chat SDK into your iOS app","url":"https://developers.hubspot.com/docs/api-reference/latest/conversations/chat-configuration/mobile-chat-sdk/ios","href":"/api-reference/latest/conversations/chat-configuration/mobile-chat-sdk/ios"}]}]},{"group":"Conversations","pages":[{"title":"Conversations API","url":"https://developers.hubspot.com/docs/api-reference/latest/conversations/conversations","href":"/api-reference/latest/conversations/conversations/guide"},{"group":"Acteurs","pages":[{"title":"Retrieve actor","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/actors/{actorId}","href":"/api-reference/latest/conversations/conversations/actors/get-actor"},{"title":"Batch retrieve actors","openapi":"specs/2026-09/conversations-conversations-v2026-09.json POST /conversations/conversations/2026-09/actors/batch/read","href":"/api-reference/latest/conversations/conversations/actors/get-actors"}]},{"group":"Comptes de canaux","pages":[{"title":"Retrieve channel account","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/channel-accounts/{channelAccountId}","href":"/api-reference/latest/conversations/conversations/channel-accounts/get-channel-account"},{"title":"List channel accounts","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/channel-accounts","href":"/api-reference/latest/conversations/conversations/channel-accounts/get-channel-accounts"}]},{"group":"Canaux","pages":[{"title":"Retrieve channel","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/channels/{channelId}","href":"/api-reference/latest/conversations/conversations/channels/get-channel"},{"title":"List Channels","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/channels","href":"/api-reference/latest/conversations/conversations/channels/get-channels"}]},{"group":"Boîte de réception","pages":[{"title":"Retrieve inbox","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/inboxes/{inboxId}","href":"/api-reference/latest/conversations/conversations/inbox/get-inbox"},{"title":"List inboxes","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/inboxes","href":"/api-reference/latest/conversations/conversations/inbox/get-inboxes"}]},{"group":"Messages","pages":[{"title":"Create message","openapi":"specs/2026-09/conversations-conversations-v2026-09.json POST /conversations/conversations/2026-09/threads/{threadId}/messages","href":"/api-reference/latest/conversations/conversations/messages/create-message"},{"title":"Retrieve message content","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/threads/{threadId}/messages/{messageId}/original-content","href":"/api-reference/latest/conversations/conversations/messages/get-message-content"},{"title":"Retrieve message","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/threads/{threadId}/messages/{messageId}","href":"/api-reference/latest/conversations/conversations/messages/get-message"},{"title":"Retrieve messages","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/threads/{threadId}/messages","href":"/api-reference/latest/conversations/conversations/messages/get-messages"}]},{"group":"Fils de discussion","pages":[{"title":"Retrieve thread","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/threads/{threadId}","href":"/api-reference/latest/conversations/conversations/threads/get-thread"},{"title":"Retrieve threads","openapi":"specs/2026-09/conversations-conversations-v2026-09.json GET /conversations/conversations/2026-09/threads","href":"/api-reference/latest/conversations/conversations/threads/get-threads"},{"title":"Update assignee","openapi":"specs/2026-09/conversations-conversations-v2026-09.json PUT /conversations/conversations/2026-09/threads/{threadId}/assignee","href":"/api-reference/latest/conversations/conversations/threads/update-assignee"},{"title":"Update thread","openapi":"specs/2026-09/conversations-conversations-v2026-09.json PATCH /conversations/conversations/2026-09/threads/{threadId}","href":"/api-reference/latest/conversations/conversations/threads/update-thread"},{"title":"Delete Assignee","openapi":"specs/2026-09/conversations-conversations-v2026-09.json DELETE /conversations/conversations/2026-09/threads/{threadId}/assignee","href":"/api-reference/latest/conversations/conversations/threads/delete-assignee"},{"title":"Delete thread","openapi":"specs/2026-09/conversations-conversations-v2026-09.json DELETE /conversations/conversations/2026-09/threads/{threadId}","href":"/api-reference/latest/conversations/conversations/threads/delete-thread"}]}]},{"group":"Canaux personnalisés","pages":[{"title":"Custom channels API guide","url":"https://developers.hubspot.com/docs/api-reference/latest/conversations/custom-channels","href":"/api-reference/latest/conversations/custom-channels/guide"},{"group":"Messages","pages":[{"title":"Publish a message","openapi":"specs/2026-09/conversations-custom-channels-v2026-09.json POST /conversations/custom-channels/2026-09/{channelId}/messages","href":"/api-reference/latest/conversations/custom-channels/messages/create-custom-channel"},{"title":"Get a message","openapi":"specs/2026-09/conversations-custom-channels-v2026-09.json GET /conversations/custom-channels/2026-09/{channelId}/messages/{messageId}","href":"/api-reference/latest/conversations/custom-channels/messages/get-custom-channel"},{"title":"Update a message","openapi":"specs/2026-09/conversations-custom-channels-v2026-09.json PATCH /conversations/custom-channels/2026-09/{channelId}/messages/{messageId}","href":"/api-reference/latest/conversations/custom-channels/messages/update-custom-channel"}]}]},{"group":"Identification des visiteurs","pages":[{"title":"Generate visitor token","openapi":"specs/2026-09/conversations-visitor-identification-v2026-09.json POST /visitor-identification/2026-09/tokens/create","href":"/api-reference/latest/conversations/visitor-identification/create-visitor-identification"}]}]},{"group":"CRM","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/Contacts.svg","pages":[{"title":"HubSpot CRM embed","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/embed","href":"/api-reference/latest/crm/embed"},{"title":"CRM Search API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/search-the-crm","href":"/api-reference/latest/crm/search-the-crm"},{"title":"Understanding the CRM APIs","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/understanding-the-crm","href":"/api-reference/latest/crm/understanding-the-crm"},{"title":"Using Object APIs","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/using-object-apis","href":"/api-reference/latest/crm/using-object-apis"},{"group":"Activités","pages":[{"group":" Appels","pages":[{"title":"Engagements | Appels","sidebarTitle":"Calls","href":"/api-reference/latest/crm/activities/calls/guide"},{"title":"Create a call","openapi":"specs/2026-09/crm-calls-v2026-09.json POST /crm/objects/2026-09/calls","href":"/api-reference/latest/crm/activities/calls/create-call"},{"title":"Retrieve a call","openapi":"specs/2026-09/crm-calls-v2026-09.json GET /crm/objects/2026-09/calls/{callId}","href":"/api-reference/latest/crm/activities/calls/get-call"},{"title":"Retrieve calls","openapi":"specs/2026-09/crm-calls-v2026-09.json GET /crm/objects/2026-09/calls","href":"/api-reference/latest/crm/activities/calls/get-calls"},{"title":"Update a call","openapi":"specs/2026-09/crm-calls-v2026-09.json PATCH /crm/objects/2026-09/calls/{callId}","href":"/api-reference/latest/crm/activities/calls/update-call"},{"title":"Archive a call","openapi":"specs/2026-09/crm-calls-v2026-09.json DELETE /crm/objects/2026-09/calls/{callId}","href":"/api-reference/latest/crm/activities/calls/delete-call"},{"group":"Lot","pages":[{"title":"Create calls","openapi":"specs/2026-09/crm-calls-v2026-09.json POST /crm/objects/2026-09/calls/batch/create","href":"/api-reference/latest/crm/activities/calls/batch/create-calls"},{"title":"Retrieve calls","openapi":"specs/2026-09/crm-calls-v2026-09.json POST /crm/objects/2026-09/calls/batch/read","href":"/api-reference/latest/crm/activities/calls/batch/get-calls"},{"title":"Update calls","openapi":"specs/2026-09/crm-calls-v2026-09.json POST /crm/objects/2026-09/calls/batch/update","href":"/api-reference/latest/crm/activities/calls/batch/update-calls"},{"title":"Upsert calls","openapi":"specs/2026-09/crm-calls-v2026-09.json POST /crm/objects/2026-09/calls/batch/upsert","href":"/api-reference/latest/crm/activities/calls/batch/upsert-calls"},{"title":"Archive calls","openapi":"specs/2026-09/crm-calls-v2026-09.json POST /crm/objects/2026-09/calls/batch/archive","href":"/api-reference/latest/crm/activities/calls/batch/delete-calls"}]},{"group":"Rechercher","pages":[{"title":"Search for calls","openapi":"specs/2026-09/crm-calls-v2026-09.json POST /crm/objects/2026-09/calls/search","href":"/api-reference/latest/crm/activities/calls/search/search-calls"}]}]},{"group":"E-mails","pages":[{"title":"Engagements | E-mail","sidebarTitle":"Email","href":"/api-reference/latest/crm/activities/emails/guide"},{"title":"Create an email","openapi":"specs/2026-09/crm-emails-v2026-09.json POST /crm/objects/2026-09/emails","href":"/api-reference/latest/crm/activities/emails/create-email"},{"title":"Retrieve an email","openapi":"specs/2026-09/crm-emails-v2026-09.json GET /crm/objects/2026-09/emails/{emailId}","href":"/api-reference/latest/crm/activities/emails/get-email"},{"title":"Retrieve emails","openapi":"specs/2026-09/crm-emails-v2026-09.json GET /crm/objects/2026-09/emails","href":"/api-reference/latest/crm/activities/emails/get-emails"},{"title":"Update an email","openapi":"specs/2026-09/crm-emails-v2026-09.json PATCH /crm/objects/2026-09/emails/{emailId}","href":"/api-reference/latest/crm/activities/emails/update-email"},{"title":"Delete an email","openapi":"specs/2026-09/crm-emails-v2026-09.json DELETE /crm/objects/2026-09/emails/{emailId}","href":"/api-reference/latest/crm/activities/emails/delete-email"},{"group":"Lot","pages":[{"title":"Create emails","openapi":"specs/2026-09/crm-emails-v2026-09.json POST /crm/objects/2026-09/emails/batch/create","href":"/api-reference/latest/crm/activities/emails/batch/create-emails"},{"title":"Retrieve emails","openapi":"specs/2026-09/crm-emails-v2026-09.json POST /crm/objects/2026-09/emails/batch/read","href":"/api-reference/latest/crm/activities/emails/batch/get-emails"},{"title":"Update emails","openapi":"specs/2026-09/crm-emails-v2026-09.json POST /crm/objects/2026-09/emails/batch/update","href":"/api-reference/latest/crm/activities/emails/batch/update-emails"},{"title":"Upsert emails","openapi":"specs/2026-09/crm-emails-v2026-09.json POST /crm/objects/2026-09/emails/batch/upsert","href":"/api-reference/latest/crm/activities/emails/batch/upsert-emails"},{"title":"Delete emails","openapi":"specs/2026-09/crm-emails-v2026-09.json POST /crm/objects/2026-09/emails/batch/archive","href":"/api-reference/latest/crm/activities/emails/batch/delete-emails"}]},{"group":"Rechercher","pages":[{"title":"Search for emails","openapi":"specs/2026-09/crm-emails-v2026-09.json POST /crm/objects/2026-09/emails/search","href":"/api-reference/latest/crm/activities/emails/search/search-emails"}]}]},{"group":"Rendez-vous","pages":[{"title":"Engagements | Réunions","sidebarTitle":"Meetings","href":"/api-reference/latest/crm/activities/meetings/guide"},{"title":"Create meeting","openapi":"specs/2026-09/crm-meetings-v2026-09.json POST /crm/objects/2026-09/meetings","href":"/api-reference/latest/crm/activities/meetings/create-meeting"},{"title":"Retrieve meeting","openapi":"specs/2026-09/crm-meetings-v2026-09.json GET /crm/objects/2026-09/meetings/{meetingId}","href":"/api-reference/latest/crm/activities/meetings/get-meeting"},{"title":"Retrieve meetings","openapi":"specs/2026-09/crm-meetings-v2026-09.json GET /crm/objects/2026-09/meetings","href":"/api-reference/latest/crm/activities/meetings/get-meetings"},{"title":"Update meeting","openapi":"specs/2026-09/crm-meetings-v2026-09.json PATCH /crm/objects/2026-09/meetings/{meetingId}","href":"/api-reference/latest/crm/activities/meetings/update-meeting"},{"title":"Delete meeting","openapi":"specs/2026-09/crm-meetings-v2026-09.json DELETE /crm/objects/2026-09/meetings/{meetingId}","href":"/api-reference/latest/crm/activities/meetings/delete-meeting"},{"group":"Lot","pages":[{"title":"Create meetings","openapi":"specs/2026-09/crm-meetings-v2026-09.json POST /crm/objects/2026-09/meetings/batch/create","href":"/api-reference/latest/crm/activities/meetings/batch/create-meetings"},{"title":"Retrieve meetings","openapi":"specs/2026-09/crm-meetings-v2026-09.json POST /crm/objects/2026-09/meetings/batch/read","href":"/api-reference/latest/crm/activities/meetings/batch/get-meetings"},{"title":"Update meetings","openapi":"specs/2026-09/crm-meetings-v2026-09.json POST /crm/objects/2026-09/meetings/batch/update","href":"/api-reference/latest/crm/activities/meetings/batch/update-meetings"},{"title":"Upsert meetings","openapi":"specs/2026-09/crm-meetings-v2026-09.json POST /crm/objects/2026-09/meetings/batch/upsert","href":"/api-reference/latest/crm/activities/meetings/batch/upsert-meetings"},{"title":"Delete meetings","openapi":"specs/2026-09/crm-meetings-v2026-09.json POST /crm/objects/2026-09/meetings/batch/archive","href":"/api-reference/latest/crm/activities/meetings/batch/delete-meetings"}]},{"group":"Rechercher","pages":[{"title":"Search for meetings","openapi":"specs/2026-09/crm-meetings-v2026-09.json POST /crm/objects/2026-09/meetings/search","href":"/api-reference/latest/crm/activities/meetings/search/search-meetings"}]}]},{"group":"Notes","pages":[{"title":"Engagements | Notes","sidebarTitle":"Notes","href":"/api-reference/latest/crm/activities/notes/guide"},{"title":"Create note","openapi":"specs/2026-09/crm-notes-v2026-09.json POST /crm/objects/2026-09/notes","href":"/api-reference/latest/crm/activities/notes/create-note"},{"title":"Retrieve note","openapi":"specs/2026-09/crm-notes-v2026-09.json GET /crm/objects/2026-09/notes/{noteId}","href":"/api-reference/latest/crm/activities/notes/get-note"},{"title":"Retrieve a note","openapi":"specs/2026-09/crm-notes-v2026-09.json GET /crm/objects/2026-09/notes","href":"/api-reference/latest/crm/activities/notes/get-notes"},{"title":"Update note","openapi":"specs/2026-09/crm-notes-v2026-09.json PATCH /crm/objects/2026-09/notes/{noteId}","href":"/api-reference/latest/crm/activities/notes/update-note"},{"title":"Delete a note","openapi":"specs/2026-09/crm-notes-v2026-09.json DELETE /crm/objects/2026-09/notes/{noteId}","href":"/api-reference/latest/crm/activities/notes/delete-note"},{"group":"Lot","pages":[{"title":"Create notes","openapi":"specs/2026-09/crm-notes-v2026-09.json POST /crm/objects/2026-09/notes/batch/create","href":"/api-reference/latest/crm/activities/notes/batch/create-notes"},{"title":"Retrieve notes","openapi":"specs/2026-09/crm-notes-v2026-09.json POST /crm/objects/2026-09/notes/batch/read","href":"/api-reference/latest/crm/activities/notes/batch/get-notes"},{"title":"Update notes","openapi":"specs/2026-09/crm-notes-v2026-09.json POST /crm/objects/2026-09/notes/batch/update","href":"/api-reference/latest/crm/activities/notes/batch/update-notes"},{"title":"Upsert notes","openapi":"specs/2026-09/crm-notes-v2026-09.json POST /crm/objects/2026-09/notes/batch/upsert","href":"/api-reference/latest/crm/activities/notes/batch/upsert-notes"},{"title":"Delete notes","openapi":"specs/2026-09/crm-notes-v2026-09.json POST /crm/objects/2026-09/notes/batch/archive","href":"/api-reference/latest/crm/activities/notes/batch/delete-notes"}]},{"group":"Rechercher","pages":[{"title":"Search for notes","openapi":"specs/2026-09/crm-notes-v2026-09.json POST /crm/objects/2026-09/notes/search","href":"/api-reference/latest/crm/activities/notes/search/search-notes"}]}]},{"group":"Courrier postal","pages":[{"title":"Postal Mail API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/activities/postal-mail","href":"/api-reference/latest/crm/activities/postal-mail/guide"},{"title":"Create postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json POST /crm/objects/2026-09/postal_mail","href":"/api-reference/latest/crm/activities/postal-mail/create-postal-mail"},{"title":"Get postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json GET /crm/objects/2026-09/postal_mail/{postalMailId}","href":"/api-reference/latest/crm/activities/postal-mail/get-postal-mail-objectId"},{"title":"Get all postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json GET /crm/objects/2026-09/postal_mail","href":"/api-reference/latest/crm/activities/postal-mail/get-postal-mail"},{"title":"Update postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json PATCH /crm/objects/2026-09/postal_mail/{postalMailId}","href":"/api-reference/latest/crm/activities/postal-mail/update-postal-mail-objectId"},{"title":"Update postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json PATCH /crm/objects/2026-09/postal_mail/{postalMailId}","href":"/api-reference/latest/crm/activities/postal-mail/update-postal-mail"},{"title":"Archive postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json DELETE /crm/objects/2026-09/postal_mail/{postalMailId}","href":"/api-reference/latest/crm/activities/postal-mail/delete-postal-mail"},{"group":"Lot","pages":[{"title":"Create postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json POST /crm/objects/2026-09/postal_mail/batch/create","href":"/api-reference/latest/crm/activities/postal-mail/batch/create-postal-mail"},{"title":"Retrieve postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json POST /crm/objects/2026-09/postal_mail/batch/read","href":"/api-reference/latest/crm/activities/postal-mail/batch/get-postal-mail"},{"title":"Update postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json POST /crm/objects/2026-09/postal_mail/batch/update","href":"/api-reference/latest/crm/activities/postal-mail/batch/update-postal-mail-objectType"},{"title":"Set default association","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json PUT /crm/objects/2026-09/{fromObjectType}/{fromObjectId}/associations/default/{toObjectType}/{toObjectId}","href":"/api-reference/latest/crm/activities/postal-mail/batch/update-postal-mail"},{"title":"Upsert postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json POST /crm/objects/2026-09/postal_mail/batch/upsert","href":"/api-reference/latest/crm/activities/postal-mail/batch/upsert-postal-mail"},{"title":"Archive postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json POST /crm/objects/2026-09/postal_mail/batch/archive","href":"/api-reference/latest/crm/activities/postal-mail/batch/delete-postal-mail"}]},{"group":"Rechercher","pages":[{"title":"Search for postal mail","openapi":"specs/2026-09/crm-postal-mail-v2026-09.json POST /crm/objects/2026-09/postal_mail/search","href":"/api-reference/latest/crm/activities/postal-mail/search/search-postal-mail"}]}]},{"group":"Séries de tâches","pages":[{"title":"Task series API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/activities/task-series","href":"/api-reference/latest/crm/activities/task-series/guide"},{"title":"Create a recurring task","openapi":"specs/2026-09/crm-tasks-series-v2026-09.json POST /crm/task-series/2026-09","href":"/api-reference/latest/crm/activities/task-series/create-tasks-series"},{"title":"Retrieve recurring task","openapi":"specs/2026-09/crm-tasks-series-v2026-09.json GET /crm/task-series/2026-09/{taskId}","href":"/api-reference/latest/crm/activities/task-series/get-tasks-series"},{"title":"Update recurring task","openapi":"specs/2026-09/crm-tasks-series-v2026-09.json PATCH /crm/task-series/2026-09/{taskId}","href":"/api-reference/latest/crm/activities/task-series/update-tasks-series"},{"title":"Stop recurring task","openapi":"specs/2026-09/crm-tasks-series-v2026-09.json DELETE /crm/task-series/2026-09/{taskId}","href":"/api-reference/latest/crm/activities/task-series/delete-tasks-series"}]},{"group":"Tâches","pages":[{"title":"Tasks API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/activities/tasks","href":"/api-reference/latest/crm/activities/tasks/guide"},{"title":"Create a task","openapi":"specs/2026-09/crm-tasks-v2026-09.json POST /crm/objects/2026-09/tasks","href":"/api-reference/latest/crm/activities/tasks/create-task"},{"title":"Retrieve a task","openapi":"specs/2026-09/crm-tasks-v2026-09.json GET /crm/objects/2026-09/tasks/{taskId}","href":"/api-reference/latest/crm/activities/tasks/get-task"},{"title":"Retrieve tasks","openapi":"specs/2026-09/crm-tasks-v2026-09.json GET /crm/objects/2026-09/tasks","href":"/api-reference/latest/crm/activities/tasks/get-tasks"},{"title":"Subtasks","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/activities/tasks/subtasks-guide","href":"/api-reference/latest/crm/activities/tasks/subtasks-guide"},{"title":"Update a task","openapi":"specs/2026-09/crm-tasks-v2026-09.json PATCH /crm/objects/2026-09/tasks/{taskId}","href":"/api-reference/latest/crm/activities/tasks/update-task"},{"title":"Delete a task","openapi":"specs/2026-09/crm-tasks-v2026-09.json DELETE /crm/objects/2026-09/tasks/{taskId}","href":"/api-reference/latest/crm/activities/tasks/delete-task"},{"group":"Lot","pages":[{"title":"Create tasks","openapi":"specs/2026-09/crm-tasks-v2026-09.json POST /crm/objects/2026-09/tasks/batch/create","href":"/api-reference/latest/crm/activities/tasks/batch/create-tasks"},{"title":"Retrieve tasks","openapi":"specs/2026-09/crm-tasks-v2026-09.json POST /crm/objects/2026-09/tasks/batch/read","href":"/api-reference/latest/crm/activities/tasks/batch/get-tasks"},{"title":"Update tasks","openapi":"specs/2026-09/crm-tasks-v2026-09.json POST /crm/objects/2026-09/tasks/batch/update","href":"/api-reference/latest/crm/activities/tasks/batch/update-tasks"},{"title":"Upsert tasks","openapi":"specs/2026-09/crm-tasks-v2026-09.json POST /crm/objects/2026-09/tasks/batch/upsert","href":"/api-reference/latest/crm/activities/tasks/batch/upsert-tasks"},{"title":"Delete tasks","openapi":"specs/2026-09/crm-tasks-v2026-09.json POST /crm/objects/2026-09/tasks/batch/archive","href":"/api-reference/latest/crm/activities/tasks/batch/delete-tasks"}]},{"group":"Rechercher","pages":[{"title":"Search for tasks","openapi":"specs/2026-09/crm-tasks-v2026-09.json POST /crm/objects/2026-09/tasks/search","href":"/api-reference/latest/crm/activities/tasks/search/search-tasks"}]}]}]},{"group":"Associations","pages":[{"title":"Associations overview","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/associations/overview","href":"/api-reference/latest/crm/associations/overview"},{"group":"Fiches d'informations associées","pages":[{"title":"API du CRM | Associations v4","href":"/api-reference/latest/crm/associations/associate-records/guide"},{"title":"Report high usage","openapi":"specs/2026-09/crm-associations-v2026-09.json POST /crm/associations/2026-09/usage/high-usage-report/{userId}","href":"/api-reference/latest/crm/associations/associate-records/report-high-usage"},{"title":"Associate records (labeled)","openapi":"specs/2026-09/crm-associations-v2026-09.json PUT /crm/objects/2026-09/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}","href":"/api-reference/latest/crm/associations/associate-records/update-association-labeled"},{"title":"Associate records (default)","openapi":"specs/2026-09/crm-associations-v2026-09.json PUT /crm/objects/2026-09/{fromObjectType}/{fromObjectId}/associations/default/{toObjectType}/{toObjectId}","href":"/api-reference/latest/crm/associations/associate-records/update-association"},{"title":"Remove association between records","openapi":"specs/2026-09/crm-associations-v2026-09.json DELETE /crm/objects/2026-09/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}","href":"/api-reference/latest/crm/associations/associate-records/delete-association"},{"group":"Lot","pages":[{"title":"Associate records (labeled)","openapi":"specs/2026-09/crm-associations-v2026-09.json POST /crm/associations/2026-09/{fromObjectType}/{toObjectType}/batch/create","href":"/api-reference/latest/crm/associations/associate-records/batch/create-associations-labeled"},{"title":"Associate records (default)","openapi":"specs/2026-09/crm-associations-v2026-09.json POST /crm/associations/2026-09/{fromObjectType}/{toObjectType}/batch/associate/default","href":"/api-reference/latest/crm/associations/associate-records/batch/create-associations"},{"title":"Retrieve associations","openapi":"specs/2026-09/crm-associations-v2026-09.json POST /crm/associations/2026-09/{fromObjectType}/{toObjectType}/batch/read","href":"/api-reference/latest/crm/associations/associate-records/batch/get-associations"},{"title":"Delete specific labels","openapi":"specs/2026-09/crm-associations-v2026-09.json POST /crm/associations/2026-09/{fromObjectType}/{toObjectType}/batch/labels/archive","href":"/api-reference/latest/crm/associations/associate-records/batch/delete-association-labels"},{"title":"Remove associations","openapi":"specs/2026-09/crm-associations-v2026-09.json POST /crm/associations/2026-09/{fromObjectType}/{toObjectType}/batch/archive","href":"/api-reference/latest/crm/associations/associate-records/batch/delete-associations"}]}]},{"group":"Schéma d'associations","pages":[{"title":"Configure associations","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/associations/associations-schema","href":"/api-reference/latest/crm/associations/associations-schema/guide"},{"group":"Libellés","pages":[{"title":"Batch create labels","openapi":"specs/2026-09/crm-associations-schema-v2026-09.json POST /crm/associations/2026-09/definitions/configurations/{fromObjectType}/{toObjectType}/batch/create","href":"/api-reference/latest/crm/associations/associations-schema/labels/create-associations-label-batch"},{"title":"Create association label","openapi":"specs/2026-09/crm-associations-schema-v2026-09.json POST /crm/associations/2026-09/{fromObjectType}/{toObjectType}/labels","href":"/api-reference/latest/crm/associations/associations-schema/labels/create-associations-label"},{"title":"Retrieve association labels","openapi":"specs/2026-09/crm-associations-schema-v2026-09.json GET /crm/associations/2026-09/{fromObjectType}/{toObjectType}/labels","href":"/api-reference/latest/crm/associations/associations-schema/labels/get-associations-label"},{"title":"Update association label","openapi":"specs/2026-09/crm-associations-schema-v2026-09.json PUT /crm/associations/2026-09/{fromObjectType}/{toObjectType}/labels","href":"/api-reference/latest/crm/associations/associations-schema/labels/update-associations-label"},{"title":"Delete association label","openapi":"specs/2026-09/crm-associations-schema-v2026-09.json DELETE /crm/associations/2026-09/{fromObjectType}/{toObjectType}/labels/{associationTypeId}","href":"/api-reference/latest/crm/associations/associations-schema/labels/delete-associations-label"}]},{"group":"Limites","pages":[{"title":"Configure association limits","openapi":"specs/2026-09/crm-associations-schema-v2026-09.json POST /crm/associations/2026-09/definitions/configurations/{fromObjectType}/{toObjectType}/batch/create","href":"/api-reference/latest/crm/associations/associations-schema/limits/create-associations-limits"},{"title":"Retrieve association limits","openapi":"specs/2026-09/crm-associations-schema-v2026-09.json GET /crm/associations/2026-09/definitions/configurations/{fromObjectType}/{toObjectType}","href":"/api-reference/latest/crm/associations/associations-schema/limits/get-all-associations-limits"},{"title":"Retrieve all association limits","openapi":"specs/2026-09/crm-associations-schema-v2026-09.json GET /crm/associations/2026-09/definitions/configurations/all","href":"/api-reference/latest/crm/associations/associations-schema/limits/get-associations-limits"},{"title":"Update association limits","openapi":"specs/2026-09/crm-associations-schema-v2026-09.json POST /crm/associations/2026-09/definitions/configurations/{fromObjectType}/{toObjectType}/batch/update","href":"/api-reference/latest/crm/associations/associations-schema/limits/update-associations-limits"},{"title":"Remove association limits","openapi":"specs/2026-09/crm-associations-schema-v2026-09.json POST /crm/associations/2026-09/definitions/configurations/{fromObjectType}/{toObjectType}/batch/purge","href":"/api-reference/latest/crm/associations/associations-schema/limits/delete-associations-limits"}]}]}]},{"group":"Modèle de données CRM","pages":[{"title":"Object Activation API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/crm-data-model","href":"/api-reference/latest/crm/crm-data-model/guide"},{"title":"Is object type is enabled","openapi":"specs/2026-09/crm-object-library-v2026-09.json GET /crm/object-library/2026-09/enablement/{objectTypeId}","href":"/api-reference/latest/crm/crm-data-model/get-object-library-objectTypeId"},{"title":"Fetch object type enablement status","openapi":"specs/2026-09/crm-object-library-v2026-09.json GET /crm/object-library/2026-09/enablement","href":"/api-reference/latest/crm/crm-data-model/get-object-library"}]},{"group":"Exports","pages":[{"title":"Exports","sidebarTitle":"Export CRM data","href":"/api-reference/latest/crm/exports/guide"},{"title":"Start an export","openapi":"specs/2026-09/crm-exports-v2026-09.json POST /crm/exports/2026-09/export/async","href":"/api-reference/latest/crm/exports/create-export"},{"title":"Retrieve export status","openapi":"specs/2026-09/crm-exports-v2026-09.json GET /crm/exports/2026-09/export/async/tasks/{taskId}/status","href":"/api-reference/latest/crm/exports/get-export-status"},{"title":"Retrieve export details","openapi":"specs/2026-09/crm-exports-v2026-09.json GET /crm/exports/2026-09/export/{exportId}","href":"/api-reference/latest/crm/exports/get-export"}]},{"group":"Extensions","pages":[{"group":"Extensions d'appel","pages":[{"title":"Calling extensions SDK","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/extensions/calling-extensions/calling-sdk","href":"/api-reference/latest/crm/extensions/calling-extensions/calling-sdk"},{"title":"CRM API | Receive calls in HubSpot when using calling apps","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/extensions/calling-extensions/receive-incoming-calls","href":"/api-reference/latest/crm/extensions/calling-extensions/receive-incoming-calls"},{"title":"Call recordings and transcripts","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/extensions/calling-extensions/recordings-and-transcriptions","href":"/api-reference/latest/crm/extensions/calling-extensions/recordings-and-transcriptions"},{"title":"Set up third-party calling in help desk","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/extensions/calling-extensions/third-party-calling","href":"/api-reference/latest/crm/extensions/calling-extensions/third-party-calling"},{"title":"Third-party transcripts","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/extensions/calling-extensions/third-party-transcripts","href":"/api-reference/latest/crm/extensions/calling-extensions/third-party-transcripts"},{"group":"Paramètres de connexion de canal","pages":[{"title":"Create new channel connection settings for a specific app.","openapi":"specs/2026-09/crm-calling-extensions-v2026-09.json POST /crm/extensions/calling/2026-09/{appId}/settings/channel-connection","href":"/api-reference/latest/crm/extensions/calling-extensions/channel-connection-settings/create-channel-connection-settings"},{"title":"Retrieve the channel connection settings for a specific app.","openapi":"specs/2026-09/crm-calling-extensions-v2026-09.json GET /crm/extensions/calling/2026-09/{appId}/settings/channel-connection","href":"/api-reference/latest/crm/extensions/calling-extensions/channel-connection-settings/get-channel-connection-settings"},{"title":"Update the channel connection settings for a specific app.","openapi":"specs/2026-09/crm-calling-extensions-v2026-09.json PATCH /crm/extensions/calling/2026-09/{appId}/settings/channel-connection","href":"/api-reference/latest/crm/extensions/calling-extensions/channel-connection-settings/update-channel-connection-settings"},{"title":"Remove the channel connection settings for a specific app.","openapi":"specs/2026-09/crm-calling-extensions-v2026-09.json DELETE /crm/extensions/calling/2026-09/{appId}/settings/channel-connection","href":"/api-reference/latest/crm/extensions/calling-extensions/channel-connection-settings/delete-channel-connection-settings"}]},{"group":"Inbound","pages":[{"title":"Submit details of an inbound call to the CRM.","openapi":"specs/2026-09/crm-calling-extensions-v2026-09.json POST /crm/extensions/calling/2026-09/inbound-call","href":"/api-reference/latest/crm/extensions/calling-extensions/inbound/create-inbound-call"}]},{"group":"Enregistrement","pages":[{"title":"Mark a call recording as ready for retrieval.","openapi":"specs/2026-09/crm-calling-extensions-v2026-09.json POST /crm/extensions/calling/2026-09/recordings/ready","href":"/api-reference/latest/crm/extensions/calling-extensions/recording/call-recording-ready"}]},{"group":"Paramètres","pages":[{"title":"Create new calling extension settings for a specific app.","openapi":"specs/2026-09/crm-calling-extensions-v2026-09.json POST /crm/extensions/calling/2026-09/{appId}/settings","href":"/api-reference/latest/crm/extensions/calling-extensions/settings/create-calling-extension"},{"title":"Retrieve the calling extension settings for a specific app.","openapi":"specs/2026-09/crm-calling-extensions-v2026-09.json GET /crm/extensions/calling/2026-09/{appId}/settings","href":"/api-reference/latest/crm/extensions/calling-extensions/settings/get-calling-extensions"},{"title":"Update the calling extension settings for a specific app.","openapi":"specs/2026-09/crm-calling-extensions-v2026-09.json PATCH /crm/extensions/calling/2026-09/{appId}/settings","href":"/api-reference/latest/crm/extensions/calling-extensions/settings/update-calling-extension"},{"title":"Delete the calling extension settings for a specific app.","openapi":"specs/2026-09/crm-calling-extensions-v2026-09.json DELETE /crm/extensions/calling/2026-09/{appId}/settings","href":"/api-reference/latest/crm/extensions/calling-extensions/settings/delete-calling-extension"}]}]},{"group":"Cartes CRM","pages":[{"title":"API de CRM | cartes CRM","sidebarTitle":"CRM cards","href":"/api-reference/latest/crm/extensions/crm-cards/guide"},{"title":"Create a new card","openapi":"specs/2026-09/crm-public-app-crm-cards-v2026-09.json POST /crm/extensions/cards-dev/2026-09/{appId}","href":"/api-reference/latest/crm/extensions/crm-cards/create-crm-card"},{"title":"Get a card.","openapi":"specs/2026-09/crm-public-app-crm-cards-v2026-09.json GET /crm/extensions/cards-dev/2026-09/{appId}/{cardId}","href":"/api-reference/latest/crm/extensions/crm-cards/get-crm-card"},{"title":"Get all cards","openapi":"specs/2026-09/crm-public-app-crm-cards-v2026-09.json GET /crm/extensions/cards-dev/2026-09/{appId}","href":"/api-reference/latest/crm/extensions/crm-cards/get-crm-cards"},{"title":"Get sample card detail response","openapi":"specs/2026-09/crm-public-app-crm-cards-v2026-09.json GET /crm/extensions/cards-dev/2026-09/sample-response","href":"/api-reference/latest/crm/extensions/crm-cards/get-sample-response"},{"title":"Migrate CRM card views","openapi":"specs/2026-09/crm-public-app-crm-cards-v2026-09.json POST /crm/extensions/cards-dev/2026-09/{appId}/views/migrate","href":"/api-reference/latest/crm/extensions/crm-cards/migrate-crm-card"},{"title":"Update a card","openapi":"specs/2026-09/crm-public-app-crm-cards-v2026-09.json PATCH /crm/extensions/cards-dev/2026-09/{appId}/{cardId}","href":"/api-reference/latest/crm/extensions/crm-cards/update-crm-card"},{"title":"Delete a card","openapi":"specs/2026-09/crm-public-app-crm-cards-v2026-09.json DELETE /crm/extensions/cards-dev/2026-09/{appId}/{cardId}","href":"/api-reference/latest/crm/extensions/crm-cards/delete-crm-card"}]},{"group":"Transcriptions","pages":[{"title":"Create a transcript","openapi":"specs/2026-09/crm-transcriptions-v2026-09.json POST /crm/extensions/calling/2026-09/transcripts","href":"/api-reference/latest/crm/extensions/transcriptions/create-transcript"},{"title":"Retrieve a transcript","openapi":"specs/2026-09/crm-transcriptions-v2026-09.json GET /crm/extensions/calling/2026-09/transcripts/{transcriptId}","href":"/api-reference/latest/crm/extensions/transcriptions/get-transcript"},{"title":"Transcribe inbound call","openapi":"specs/2026-09/crm-transcriptions-v2026-09.json POST /crm/extensions/calling/2026-09/inbound-call","href":"/api-reference/latest/crm/extensions/transcriptions/transcribe-inbound"},{"title":"Delete a transcript","openapi":"specs/2026-09/crm-transcriptions-v2026-09.json DELETE /crm/extensions/calling/2026-09/transcripts/{transcriptId}","href":"/api-reference/latest/crm/extensions/transcriptions/delete-transcript"}]},{"group":"Extension de visioconférence","pages":[{"title":"Extension de vidéoconférence","href":"/api-reference/latest/crm/extensions/video-conferencing-extension/guide"},{"title":"Get settings","openapi":"specs/2026-09/crm-video-conferencing-extension-v2026-09.json GET /crm/extensions/videoconferencing/2026-09/settings/{appId}","href":"/api-reference/latest/crm/extensions/video-conferencing-extension/get-video-conferencing-extension"},{"title":"Create or update settings","openapi":"specs/2026-09/crm-video-conferencing-extension-v2026-09.json PUT /crm/extensions/videoconferencing/2026-09/settings/{appId}","href":"/api-reference/latest/crm/extensions/video-conferencing-extension/update-video-conferencing-extension"},{"title":"Delete settings","openapi":"specs/2026-09/crm-video-conferencing-extension-v2026-09.json DELETE /crm/extensions/videoconferencing/2026-09/settings/{appId}","href":"/api-reference/latest/crm/extensions/video-conferencing-extension/delete-video-conferencing-extension"}]}]},{"group":"Imports","pages":[{"title":"API du CRM | Imports","sidebarTitle":"Import CRM data","href":"/api-reference/latest/crm/imports/guide"},{"title":"Cancel an active import","openapi":"specs/2026-09/crm-imports-v2026-09.json POST /crm/imports/2026-09/{importId}/cancel","href":"/api-reference/latest/crm/imports/cancel-import"},{"title":"Start an import","openapi":"specs/2026-09/crm-imports-v2026-09.json POST /crm/imports/2026-09","href":"/api-reference/latest/crm/imports/create-import"},{"title":"Retrieve errors for a specific import","openapi":"specs/2026-09/crm-imports-v2026-09.json GET /crm/imports/2026-09/{importId}/errors","href":"/api-reference/latest/crm/imports/get-import-errors"},{"title":"Get the information on any import","openapi":"specs/2026-09/crm-imports-v2026-09.json GET /crm/imports/2026-09/{importId}","href":"/api-reference/latest/crm/imports/get-import"},{"title":"Retrieve imports","openapi":"specs/2026-09/crm-imports-v2026-09.json GET /crm/imports/2026-09","href":"/api-reference/latest/crm/imports/get-imports"}]},{"group":"Suivi des limites","pages":[{"title":"Limits Tracking API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/limits-tracking","href":"/api-reference/latest/crm/limits-tracking/guide"},{"title":"Read calculation property limits","openapi":"specs/2026-09/crm-limits-tracking-v2026-09.json GET /crm/limits/2026-09/calculated-properties","href":"/api-reference/latest/crm/limits-tracking/get-calculated-properties"},{"title":"Read custom object limits","openapi":"specs/2026-09/crm-limits-tracking-v2026-09.json GET /crm/limits/2026-09/custom-object-types","href":"/api-reference/latest/crm/limits-tracking/get-custom-object-types"},{"title":"Read custom property limits","openapi":"specs/2026-09/crm-limits-tracking-v2026-09.json GET /crm/limits/2026-09/custom-properties","href":"/api-reference/latest/crm/limits-tracking/get-custom-properties"},{"title":"Read record association limits","openapi":"specs/2026-09/crm-limits-tracking-v2026-09.json GET /crm/limits/2026-09/associations/records/from","href":"/api-reference/latest/crm/limits-tracking/get-from"},{"title":"Read record association limits from an object","openapi":"specs/2026-09/crm-limits-tracking-v2026-09.json GET /crm/limits/2026-09/associations/records/{fromObjectTypeId}/to","href":"/api-reference/latest/crm/limits-tracking/get-limits-tracking-fromObjectTypeId"},{"title":"Read record association limits between two objects","openapi":"specs/2026-09/crm-limits-tracking-v2026-09.json GET /crm/limits/2026-09/associations/records/{fromObjectTypeId}/{toObjectTypeId}","href":"/api-reference/latest/crm/limits-tracking/get-limits-tracking-toObjectTypeId"},{"title":"Read association label limits","openapi":"specs/2026-09/crm-limits-tracking-v2026-09.json GET /crm/limits/2026-09/associations/labels","href":"/api-reference/latest/crm/limits-tracking/get-limits-tracking"},{"title":"Read pipeline limits","openapi":"specs/2026-09/crm-limits-tracking-v2026-09.json GET /crm/limits/2026-09/pipelines","href":"/api-reference/latest/crm/limits-tracking/get-pipelines"},{"title":"Read record limits","openapi":"specs/2026-09/crm-limits-tracking-v2026-09.json GET /crm/limits/2026-09/records","href":"/api-reference/latest/crm/limits-tracking/get-records"}]},{"group":"Segments (Listes)","pages":[{"title":"Segments API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/lists","href":"/api-reference/latest/crm/lists/guide"},{"title":"Create List","openapi":"specs/2026-09/crm-lists-v2026-09.json POST /crm/lists/2026-09","href":"/api-reference/latest/crm/lists/create-list"},{"title":"List all","openapi":"specs/2026-09/crm-lists-v2026-09.json POST /crm/lists/2026-09/all","href":"/api-reference/latest/crm/lists/get-all-lists"},{"title":"Retrieve segment size and edits history","openapi":"specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09/{listId}/size-and-edits-history/between","href":"/api-reference/latest/crm/lists/get-list-history"},{"title":"Retrieve list","openapi":"specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09/{listId}","href":"/api-reference/latest/crm/lists/get-list-listId"},{"title":"Retrieve List","openapi":"specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09/object-type-id/{objectTypeId}/name/{listName}","href":"/api-reference/latest/crm/lists/get-list"},{"title":"List","openapi":"specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09","href":"/api-reference/latest/crm/lists/get-lists"},{"title":"Restore","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/{listId}/restore","href":"/api-reference/latest/crm/lists/restore-list"},{"title":"Update list name","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/{listId}/update-list-name","href":"/api-reference/latest/crm/lists/update-list-name"},{"title":"Delete","openapi":"specs/2026-09/crm-lists-v2026-09.json DELETE /crm/lists/2026-09/{listId}","href":"/api-reference/latest/crm/lists/delete-list"},{"group":"Filtres","pages":[{"title":"Segment (list) filters overview","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/lists/filters","href":"/api-reference/latest/crm/lists/filters/guide"},{"title":"Update list filters","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/{listId}/update-list-filters","href":"/api-reference/latest/crm/lists/filters/update-list-filters"}]},{"group":"Mappage d'ID","pages":[{"title":"Map IDs","openapi":"specs/2026-09/crm-lists-v2026-09.json POST /crm/lists/2026-09/idmapping","href":"/api-reference/latest/crm/lists/id-mapping/translate-id-batch"},{"title":"Retrieve ID Mapping","openapi":"specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09/idmapping","href":"/api-reference/latest/crm/lists/id-mapping/translate-id"}]},{"group":"Gestion de liste","pages":[{"title":"Cancel the conversion of a segment","openapi":"specs/2026-09/crm-lists-v2026-09.json DELETE /crm/lists/2026-09/{listId}/schedule-conversion","href":"/api-reference/latest/crm/lists/list-management/cancel-conversion"},{"title":"Create Folder","openapi":"specs/2026-09/crm-lists-v2026-09.json POST /crm/lists/2026-09/folders","href":"/api-reference/latest/crm/lists/list-management/create-folder"},{"title":"Retrieve the conversion details for a segment","openapi":"specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09/{listId}/schedule-conversion","href":"/api-reference/latest/crm/lists/list-management/get-conversion-details"},{"title":"List folders","openapi":"specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09/folders","href":"/api-reference/latest/crm/lists/list-management/get-folder"},{"title":"Move Folder","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/folders/{folderId}/move/{newParentFolderId}","href":"/api-reference/latest/crm/lists/list-management/move-folder"},{"title":"Move List","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/folders/move-list","href":"/api-reference/latest/crm/lists/list-management/move-list-to-folder"},{"title":"Rename folder","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/folders/{folderId}/rename","href":"/api-reference/latest/crm/lists/list-management/rename-folder"},{"title":"Schedule or update the conversion of a segment to static","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/{listId}/schedule-conversion","href":"/api-reference/latest/crm/lists/list-management/schedule-conversion"},{"title":"Delete folder","openapi":"specs/2026-09/crm-lists-v2026-09.json DELETE /crm/lists/2026-09/folders/{folderId}","href":"/api-reference/latest/crm/lists/list-management/delete-folder"}]},{"group":"Contrôles d'accès","pages":[{"title":"Add memberships","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/{listId}/memberships/add-from/{sourceListId}","href":"/api-reference/latest/crm/lists/memberships/add-to-list-from-source-list"},{"title":"Add memberships","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/{listId}/memberships/add","href":"/api-reference/latest/crm/lists/memberships/add-to-list"},{"title":"Retrieve memberships","openapi":"specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09/records/{objectTypeId}/{recordId}/memberships","href":"/api-reference/latest/crm/lists/memberships/get-lists-per-record"},{"title":"Batch read memberships","openapi":"specs/2026-09/crm-lists-v2026-09.json POST /crm/lists/2026-09/records/memberships/batch/read","href":"/api-reference/latest/crm/lists/memberships/get-memberships-batch"},{"title":"Fetch segment memberships ordered by added to segment date","openapi":"specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09/{listId}/memberships/join-order","href":"/api-reference/latest/crm/lists/memberships/get-memberships-by-added-date"},{"title":"List memberships","openapi":"specs/2026-09/crm-lists-v2026-09.json GET /crm/lists/2026-09/{listId}/memberships","href":"/api-reference/latest/crm/lists/memberships/get-memberships-by-id"},{"title":"Remove segment memberships","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/{listId}/memberships/remove","href":"/api-reference/latest/crm/lists/memberships/remove-from-list"},{"title":"Update segment membership","openapi":"specs/2026-09/crm-lists-v2026-09.json PUT /crm/lists/2026-09/{listId}/memberships/add-and-remove","href":"/api-reference/latest/crm/lists/memberships/update-list-memberships"},{"title":"Delete all records from a segment","openapi":"specs/2026-09/crm-lists-v2026-09.json DELETE /crm/lists/2026-09/{listId}/memberships","href":"/api-reference/latest/crm/lists/memberships/delete-list-listId"}]},{"group":"Rechercher","pages":[{"title":"Search Lists","openapi":"specs/2026-09/crm-lists-v2026-09.json POST /crm/lists/2026-09/search","href":"/api-reference/latest/crm/lists/search/search-lists"}]}]},{"group":"Objets","pages":[{"group":"Rendez-vous","pages":[{"title":"Appointments API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/appointments","href":"/api-reference/latest/crm/objects/appointments/guide"},{"title":"Appointment object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/appointments/object-definition","href":"/api-reference/latest/crm/objects/appointments/object-definition"},{"title":"Create appointment","openapi":"specs/2026-09/crm-appointments-v2026-09.json POST /crm/objects/2026-09/{objectType}","href":"/api-reference/latest/crm/objects/appointments/create-appointment"},{"title":"Retrieve appointment","openapi":"specs/2026-09/crm-appointments-v2026-09.json GET /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/appointments/get-appointment"},{"title":"Retrieve appointments","openapi":"specs/2026-09/crm-appointments-v2026-09.json GET /crm/objects/2026-09/{objectType}","href":"/api-reference/latest/crm/objects/appointments/get-appointments"},{"title":"Update appointment","openapi":"specs/2026-09/crm-appointments-v2026-09.json PATCH /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/appointments/update-appointment"},{"title":"Delete appointment","openapi":"specs/2026-09/crm-appointments-v2026-09.json DELETE /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/appointments/delete-appointment"},{"group":"Lot","pages":[{"title":"Create a batch of appointments","openapi":"specs/2026-09/crm-appointments-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/create","href":"/api-reference/latest/crm/objects/appointments/batch/create-appointments"},{"title":"Read a batch of appointments by internal ID, or unique property values","openapi":"specs/2026-09/crm-appointments-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/read","href":"/api-reference/latest/crm/objects/appointments/batch/get-appointments"},{"title":"Update a batch of appointments by internal ID, or unique property values","openapi":"specs/2026-09/crm-appointments-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/update","href":"/api-reference/latest/crm/objects/appointments/batch/update-appointments"},{"title":"Create or update a batch of appointments by unique property values","openapi":"specs/2026-09/crm-appointments-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/upsert","href":"/api-reference/latest/crm/objects/appointments/batch/upsert-appointments"},{"title":"Archive a batch of appointments by ID","openapi":"specs/2026-09/crm-appointments-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/archive","href":"/api-reference/latest/crm/objects/appointments/batch/delete-appointments"}]},{"group":"Fusionner","pages":[{"title":"Merge two appointments","openapi":"specs/2026-09/crm-appointments-v2026-09.json POST /crm/objects/2026-09/{objectType}/merge","href":"/api-reference/latest/crm/objects/appointments/merge/merge-appointments"}]},{"group":"Rechercher","pages":[{"title":"Search for appointments","openapi":"specs/2026-09/crm-appointments-v2026-09.json POST /crm/objects/2026-09/{objectType}/search","href":"/api-reference/latest/crm/objects/appointments/search/search-appointments"}]}]},{"group":"Paniers","pages":[{"title":"Carts API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/carts","href":"/api-reference/latest/crm/objects/carts/guide"},{"title":"Cart object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/carts/object-definition","href":"/api-reference/latest/crm/objects/carts/object-definition"},{"title":"Create a cart","openapi":"specs/2026-09/crm-carts-v2026-09.json POST /crm/objects/2026-09/carts","href":"/api-reference/latest/crm/objects/carts/create-cart"},{"title":"Retrieve a cart","openapi":"specs/2026-09/crm-carts-v2026-09.json GET /crm/objects/2026-09/carts/{cartId}","href":"/api-reference/latest/crm/objects/carts/get-cart"},{"title":"Retrieve all carts","openapi":"specs/2026-09/crm-carts-v2026-09.json GET /crm/objects/2026-09/carts","href":"/api-reference/latest/crm/objects/carts/get-carts"},{"title":"Update a cart","openapi":"specs/2026-09/crm-carts-v2026-09.json PATCH /crm/objects/2026-09/carts/{cartId}","href":"/api-reference/latest/crm/objects/carts/update-cart"},{"title":"Archive a cart","openapi":"specs/2026-09/crm-carts-v2026-09.json DELETE /crm/objects/2026-09/carts/{cartId}","href":"/api-reference/latest/crm/objects/carts/delete-cart"},{"group":"Lot","pages":[{"title":"Create carts","openapi":"specs/2026-09/crm-carts-v2026-09.json POST /crm/objects/2026-09/carts/batch/create","href":"/api-reference/latest/crm/objects/carts/batch/create-carts"},{"title":"Retrieve carts","openapi":"specs/2026-09/crm-carts-v2026-09.json POST /crm/objects/2026-09/carts/batch/read","href":"/api-reference/latest/crm/objects/carts/batch/get-carts"},{"title":"Update carts","openapi":"specs/2026-09/crm-carts-v2026-09.json POST /crm/objects/2026-09/carts/batch/update","href":"/api-reference/latest/crm/objects/carts/batch/update-carts"},{"title":"Upsert carts","openapi":"specs/2026-09/crm-carts-v2026-09.json POST /crm/objects/2026-09/carts/batch/upsert","href":"/api-reference/latest/crm/objects/carts/batch/upsert-carts"},{"title":"Archive carts","openapi":"specs/2026-09/crm-carts-v2026-09.json POST /crm/objects/2026-09/carts/batch/archive","href":"/api-reference/latest/crm/objects/carts/batch/delete-carts"}]},{"group":"Rechercher","pages":[{"title":"Search for carts","openapi":"specs/2026-09/crm-carts-v2026-09.json POST /crm/objects/2026-09/carts/search","href":"/api-reference/latest/crm/objects/carts/search/search-carts"}]}]},{"group":"Paiements de commerce","pages":[{"title":"Payments API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/commerce-payments","href":"/api-reference/latest/crm/objects/commerce-payments/guide"},{"title":"Commerce payment object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/commerce-payments/object-definition","href":"/api-reference/latest/crm/objects/commerce-payments/object-definition"},{"title":"Create a payment","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json POST /crm/objects/2026-09/commerce_payments","href":"/api-reference/latest/crm/objects/commerce-payments/create-commerce-payment"},{"title":"Retrieve a payment","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json GET /crm/objects/2026-09/commerce_payments/{commercePaymentId}","href":"/api-reference/latest/crm/objects/commerce-payments/get-commerce-payment"},{"title":"Retrieve payments","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json GET /crm/objects/2026-09/commerce_payments","href":"/api-reference/latest/crm/objects/commerce-payments/get-commerce-payments"},{"title":"Update a payment","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json PATCH /crm/objects/2026-09/commerce_payments/{commercePaymentId}","href":"/api-reference/latest/crm/objects/commerce-payments/update-commerce-payment"},{"title":"Delete a payment","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json DELETE /crm/objects/2026-09/commerce_payments/{commercePaymentId}","href":"/api-reference/latest/crm/objects/commerce-payments/delete-commerce-payment"},{"group":"Lot","pages":[{"title":"Create payments","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json POST /crm/objects/2026-09/commerce_payments/batch/create","href":"/api-reference/latest/crm/objects/commerce-payments/batch/create-commerce-payments"},{"title":"Retrieve payments","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json POST /crm/objects/2026-09/commerce_payments/batch/read","href":"/api-reference/latest/crm/objects/commerce-payments/batch/get-commerce-payments"},{"title":"Update payments","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json POST /crm/objects/2026-09/commerce_payments/batch/update","href":"/api-reference/latest/crm/objects/commerce-payments/batch/update-commerce-payments"},{"title":"Upsert payments","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json POST /crm/objects/2026-09/commerce_payments/batch/upsert","href":"/api-reference/latest/crm/objects/commerce-payments/batch/upsert-commerce-payments"},{"title":"Delete payments","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json POST /crm/objects/2026-09/commerce_payments/batch/archive","href":"/api-reference/latest/crm/objects/commerce-payments/batch/delete-commerce-payments"}]},{"group":"Rechercher","pages":[{"title":"Search for payments","openapi":"specs/2026-09/crm-commerce-payments-v2026-09.json POST /crm/objects/2026-09/commerce_payments/search","href":"/api-reference/latest/crm/objects/commerce-payments/search/search-commerce-payments"}]}]},{"group":"Abonnements Commerce","pages":[{"title":"Subscriptions API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/commerce-subscriptions","href":"/api-reference/latest/crm/objects/commerce-subscriptions/guide"},{"title":"Commerce subscription object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/commerce-subscriptions/object-definition","href":"/api-reference/latest/crm/objects/commerce-subscriptions/object-definition"},{"title":"Create a subscription","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json POST /crm/objects/2026-09/subscriptions","href":"/api-reference/latest/crm/objects/commerce-subscriptions/create-commerce-subscription"},{"title":"Retrieve a subscription","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json GET /crm/objects/2026-09/subscriptions/{subscriptionId}","href":"/api-reference/latest/crm/objects/commerce-subscriptions/get-commerce-subscription"},{"title":"Retrieve subscriptions","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json GET /crm/objects/2026-09/subscriptions","href":"/api-reference/latest/crm/objects/commerce-subscriptions/get-commerce-subscriptions"},{"title":"Update a subscription","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json PATCH /crm/objects/2026-09/subscriptions/{subscriptionId}","href":"/api-reference/latest/crm/objects/commerce-subscriptions/update-commerce-subscription"},{"title":"Delete a subscription","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json DELETE /crm/objects/2026-09/subscriptions/{subscriptionId}","href":"/api-reference/latest/crm/objects/commerce-subscriptions/delete-commerce-subscription"},{"group":"Lot","pages":[{"title":"Create subscriptions","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json POST /crm/objects/2026-09/subscriptions/batch/create","href":"/api-reference/latest/crm/objects/commerce-subscriptions/batch/create-commerce-subscriptions"},{"title":"Retrieve subscriptions","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json POST /crm/objects/2026-09/subscriptions/batch/read","href":"/api-reference/latest/crm/objects/commerce-subscriptions/batch/get-commerce-subscriptions"},{"title":"Update subscriptions","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json POST /crm/objects/2026-09/subscriptions/batch/update","href":"/api-reference/latest/crm/objects/commerce-subscriptions/batch/update-commerce-subscriptions"},{"title":"Upsert subscriptions","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json POST /crm/objects/2026-09/subscriptions/batch/upsert","href":"/api-reference/latest/crm/objects/commerce-subscriptions/batch/upsert-commerce-subscriptions"},{"title":"Archive multiple subscriptions","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json POST /crm/objects/2026-09/subscriptions/batch/archive","href":"/api-reference/latest/crm/objects/commerce-subscriptions/batch/delete-commerce-subscriptions"}]},{"group":"Rechercher","pages":[{"title":"Search for subscriptions","openapi":"specs/2026-09/crm-commerce-subscriptions-v2026-09.json POST /crm/objects/2026-09/subscriptions/search","href":"/api-reference/latest/crm/objects/commerce-subscriptions/search/search-commerce-subscriptions"}]}]},{"group":"Communications","pages":[{"title":"Communications API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/communications","href":"/api-reference/latest/crm/objects/communications/guide"},{"title":"Communication object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/communications/object-definition","href":"/api-reference/latest/crm/objects/communications/object-definition"},{"title":"Create a communication","openapi":"specs/2026-09/crm-communications-v2026-09.json POST /crm/objects/2026-09/communications","href":"/api-reference/latest/crm/objects/communications/create-communication"},{"title":"Retrieve a communication","openapi":"specs/2026-09/crm-communications-v2026-09.json GET /crm/objects/2026-09/communications/{communicationId}","href":"/api-reference/latest/crm/objects/communications/get-communication"},{"title":"Retrieve communications","openapi":"specs/2026-09/crm-communications-v2026-09.json GET /crm/objects/2026-09/communications","href":"/api-reference/latest/crm/objects/communications/get-communications"},{"title":"Update a communication","openapi":"specs/2026-09/crm-communications-v2026-09.json PATCH /crm/objects/2026-09/communications/{communicationId}","href":"/api-reference/latest/crm/objects/communications/update-communication"},{"title":"Delete a communication","openapi":"specs/2026-09/crm-communications-v2026-09.json DELETE /crm/objects/2026-09/communications/{communicationId}","href":"/api-reference/latest/crm/objects/communications/delete-communication"},{"group":"Lot","pages":[{"title":"Create communications","openapi":"specs/2026-09/crm-communications-v2026-09.json POST /crm/objects/2026-09/communications/batch/create","href":"/api-reference/latest/crm/objects/communications/batch/create-communications"},{"title":"Retrieve communications","openapi":"specs/2026-09/crm-communications-v2026-09.json POST /crm/objects/2026-09/communications/batch/read","href":"/api-reference/latest/crm/objects/communications/batch/get-communications"},{"title":"Update communciations","openapi":"specs/2026-09/crm-communications-v2026-09.json POST /crm/objects/2026-09/communications/batch/update","href":"/api-reference/latest/crm/objects/communications/batch/update-communications"},{"title":"Upsert communications","openapi":"specs/2026-09/crm-communications-v2026-09.json POST /crm/objects/2026-09/communications/batch/upsert","href":"/api-reference/latest/crm/objects/communications/batch/upsert-communications"},{"title":"Archive communications","openapi":"specs/2026-09/crm-communications-v2026-09.json POST /crm/objects/2026-09/communications/batch/archive","href":"/api-reference/latest/crm/objects/communications/batch/delete-communications"}]},{"group":"Rechercher","pages":[{"title":"Search for messages","openapi":"specs/2026-09/crm-communications-v2026-09.json POST /crm/objects/2026-09/communications/search","href":"/api-reference/latest/crm/objects/communications/search/search-communications"}]}]},{"group":"Entreprises","pages":[{"title":"API du CRM | Entreprises","sidebarTitle":"Companies","href":"/api-reference/latest/crm/objects/companies/guide"},{"title":"Company object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/companies/object-definition","href":"/api-reference/latest/crm/objects/companies/object-definition"},{"title":"Create a company","openapi":"specs/2026-09/crm-companies-v2026-09.json POST /crm/objects/2026-09/companies","href":"/api-reference/latest/crm/objects/companies/create-company"},{"title":"Retrieve companies","openapi":"specs/2026-09/crm-companies-v2026-09.json GET /crm/objects/2026-09/companies","href":"/api-reference/latest/crm/objects/companies/get-companies"},{"title":"Retrieve a company","openapi":"specs/2026-09/crm-companies-v2026-09.json GET /crm/objects/2026-09/companies/{companyId}","href":"/api-reference/latest/crm/objects/companies/get-company"},{"title":"Merge two companies","openapi":"specs/2026-09/crm-companies-v2026-09.json POST /crm/objects/2026-09/companies/merge","href":"/api-reference/latest/crm/objects/companies/merge-companies"},{"title":"Update a company","openapi":"specs/2026-09/crm-companies-v2026-09.json PATCH /crm/objects/2026-09/companies/{companyId}","href":"/api-reference/latest/crm/objects/companies/update-company"},{"title":"Archive a company","openapi":"specs/2026-09/crm-companies-v2026-09.json DELETE /crm/objects/2026-09/companies/{companyId}","href":"/api-reference/latest/crm/objects/companies/delete-company"},{"group":"Lot","pages":[{"title":"Create a batch of companies","openapi":"specs/2026-09/crm-companies-v2026-09.json POST /crm/objects/2026-09/companies/batch/create","href":"/api-reference/latest/crm/objects/companies/batch/create-companies"},{"title":"Retrieve a batch of companies","openapi":"specs/2026-09/crm-companies-v2026-09.json POST /crm/objects/2026-09/companies/batch/read","href":"/api-reference/latest/crm/objects/companies/batch/get-companies"},{"title":"Update a batch of companies","openapi":"specs/2026-09/crm-companies-v2026-09.json POST /crm/objects/2026-09/companies/batch/update","href":"/api-reference/latest/crm/objects/companies/batch/update-companies"},{"title":"Create or update a batch of companies by unique property values","openapi":"specs/2026-09/crm-companies-v2026-09.json POST /crm/objects/2026-09/companies/batch/upsert","href":"/api-reference/latest/crm/objects/companies/batch/upsert-companies"},{"title":"Archive a batch of companies","openapi":"specs/2026-09/crm-companies-v2026-09.json POST /crm/objects/2026-09/companies/batch/archive","href":"/api-reference/latest/crm/objects/companies/batch/delete-companies"}]},{"group":"Rechercher","pages":[{"title":"Search for companies","openapi":"specs/2026-09/crm-companies-v2026-09.json POST /crm/objects/2026-09/companies/search","href":"/api-reference/latest/crm/objects/companies/search/search-companies"}]}]},{"group":"Contacts","pages":[{"title":"API du CRM | Contacts","sidebarTitle":"Contacts","href":"/api-reference/latest/crm/objects/contacts/guide"},{"title":"Contact object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/contacts/object-definition","href":"/api-reference/latest/crm/objects/contacts/object-definition"},{"title":"Create a contact","openapi":"specs/2026-09/crm-contacts-v2026-09.json POST /crm/objects/2026-09/contacts","href":"/api-reference/latest/crm/objects/contacts/create-contact"},{"title":"Retrieve a contact","openapi":"specs/2026-09/crm-contacts-v2026-09.json GET /crm/objects/2026-09/contacts/{contactId}","href":"/api-reference/latest/crm/objects/contacts/get-contact"},{"title":"Retrieve contacts","openapi":"specs/2026-09/crm-contacts-v2026-09.json GET /crm/objects/2026-09/contacts","href":"/api-reference/latest/crm/objects/contacts/get-contacts"},{"title":"Merge two contacts","openapi":"specs/2026-09/crm-contacts-v2026-09.json POST /crm/objects/2026-09/contacts/merge","href":"/api-reference/latest/crm/objects/contacts/merge-contacts"},{"title":"Update a contact","openapi":"specs/2026-09/crm-contacts-v2026-09.json PATCH /crm/objects/2026-09/contacts/{contactId}","href":"/api-reference/latest/crm/objects/contacts/update-contact"},{"title":"Delete a contact","openapi":"specs/2026-09/crm-contacts-v2026-09.json DELETE /crm/objects/2026-09/contacts/{contactId}","href":"/api-reference/latest/crm/objects/contacts/delete-contact"},{"group":"Lot","pages":[{"title":"Create contacts","openapi":"specs/2026-09/crm-contacts-v2026-09.json POST /crm/objects/2026-09/contacts/batch/create","href":"/api-reference/latest/crm/objects/contacts/batch/create-contacts"},{"title":"Retrieve contacts","openapi":"specs/2026-09/crm-contacts-v2026-09.json POST /crm/objects/2026-09/contacts/batch/read","href":"/api-reference/latest/crm/objects/contacts/batch/get-contacts"},{"title":"Update contacts","openapi":"specs/2026-09/crm-contacts-v2026-09.json POST /crm/objects/2026-09/contacts/batch/update","href":"/api-reference/latest/crm/objects/contacts/batch/update-contacts"},{"title":"Upsert contacts","openapi":"specs/2026-09/crm-contacts-v2026-09.json POST /crm/objects/2026-09/contacts/batch/upsert","href":"/api-reference/latest/crm/objects/contacts/batch/upsert-contacts"},{"title":"Delete contacts","openapi":"specs/2026-09/crm-contacts-v2026-09.json POST /crm/objects/2026-09/contacts/batch/archive","href":"/api-reference/latest/crm/objects/contacts/batch/delete-contacts"}]},{"group":"Rechercher","pages":[{"title":"Search for contacts","openapi":"specs/2026-09/crm-contacts-v2026-09.json POST /crm/objects/2026-09/contacts/search","href":"/api-reference/latest/crm/objects/contacts/search/search-contacts"}]}]},{"group":"Contrats","pages":[{"title":"Contracts API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/contracts","href":"/api-reference/latest/crm/objects/contracts/guide"},{"title":"Retrieve contract","openapi":"specs/2026-09/crm-contracts-v2026-09.json GET /crm/objects/2026-09/contracts/{contractId}","href":"/api-reference/latest/crm/objects/contracts/get-contract"},{"title":"List","openapi":"specs/2026-09/crm-contracts-v2026-09.json GET /crm/objects/2026-09/contracts","href":"/api-reference/latest/crm/objects/contracts/get-contracts"},{"group":"Lot","pages":[{"title":"Batch retrieve contracts","openapi":"specs/2026-09/crm-contracts-v2026-09.json POST /crm/objects/2026-09/contracts/batch/read","href":"/api-reference/latest/crm/objects/contracts/batch/get-contracts"}]}]},{"group":"Formations","pages":[{"title":"Courses API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/courses","href":"/api-reference/latest/crm/objects/courses/guide"},{"title":"Course object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/courses/object-definition","href":"/api-reference/latest/crm/objects/courses/object-definition"},{"title":"Create a course","openapi":"specs/2026-09/crm-courses-v2026-09.json POST /crm/objects/2026-09/0-410","href":"/api-reference/latest/crm/objects/courses/create-course"},{"title":"Retrieve a course","openapi":"specs/2026-09/crm-courses-v2026-09.json GET /crm/objects/2026-09/0-410/{courseId}","href":"/api-reference/latest/crm/objects/courses/get-course"},{"title":"Retrieve courses","openapi":"specs/2026-09/crm-courses-v2026-09.json GET /crm/objects/2026-09/0-410","href":"/api-reference/latest/crm/objects/courses/get-courses"},{"title":"Update a course","openapi":"specs/2026-09/crm-courses-v2026-09.json PATCH /crm/objects/2026-09/0-410/{courseId}","href":"/api-reference/latest/crm/objects/courses/update-course"},{"title":"Delete a course","openapi":"specs/2026-09/crm-courses-v2026-09.json DELETE /crm/objects/2026-09/0-410/{courseId}","href":"/api-reference/latest/crm/objects/courses/delete-course"},{"group":"Lot","pages":[{"title":"Create a batch of courses","openapi":"specs/2026-09/crm-courses-v2026-09.json POST /crm/objects/2026-09/0-410/batch/create","href":"/api-reference/latest/crm/objects/courses/batch/create-courses"},{"title":"Retrieve courses","openapi":"specs/2026-09/crm-courses-v2026-09.json POST /crm/objects/2026-09/0-410/batch/read","href":"/api-reference/latest/crm/objects/courses/batch/get-courses"},{"title":"Update courses","openapi":"specs/2026-09/crm-courses-v2026-09.json POST /crm/objects/2026-09/0-410/batch/update","href":"/api-reference/latest/crm/objects/courses/batch/update-courses"},{"title":"Upsert courses","openapi":"specs/2026-09/crm-courses-v2026-09.json POST /crm/objects/2026-09/0-410/batch/upsert","href":"/api-reference/latest/crm/objects/courses/batch/upsert-courses"},{"title":"Delete courses","openapi":"specs/2026-09/crm-courses-v2026-09.json POST /crm/objects/2026-09/0-410/batch/archive","href":"/api-reference/latest/crm/objects/courses/batch/delete-courses"}]},{"group":"Fusionner","pages":[{"title":"Merge two courses","openapi":"specs/2026-09/crm-courses-v2026-09.json POST /crm/objects/2026-09/courses/merge","href":"/api-reference/latest/crm/objects/courses/merge/merge-courses"}]},{"group":"Rechercher","pages":[{"title":"Search for objects","openapi":"specs/2026-09/crm-courses-v2026-09.json POST /crm/objects/2026-09/0-410/search","href":"/api-reference/latest/crm/objects/courses/search/search-courses"}]}]},{"group":"Objets personnalisés","pages":[{"title":"CRM | Objets personnalisés","sidebarTitle":"Custom objects","href":"/api-reference/latest/crm/objects/custom-objects/guide"},{"title":"Create","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}","href":"/api-reference/latest/crm/objects/custom-objects/create-custom-object"},{"title":"Read","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json GET /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/custom-objects/get-custom-object"},{"title":"List","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json GET /crm/objects/2026-09/{objectType}","href":"/api-reference/latest/crm/objects/custom-objects/get-custom-objects"},{"title":"Merge two objects with same type","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/merge","href":"/api-reference/latest/crm/objects/custom-objects/merge-custom-objects"},{"title":"Update","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json PATCH /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/custom-objects/update-custom-object"},{"title":"Archive","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json DELETE /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/custom-objects/delete-custom-object"},{"group":"Lot","pages":[{"title":"Create a batch of objects","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/create","href":"/api-reference/latest/crm/objects/custom-objects/batch/create-custom-objects"},{"title":"Read a batch of objects by internal ID, or unique property values","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/read","href":"/api-reference/latest/crm/objects/custom-objects/batch/get-custom-objects"},{"title":"Update a batch of objects by internal ID, or unique property values","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/update","href":"/api-reference/latest/crm/objects/custom-objects/batch/update-custom-objects"},{"title":"Create or update a batch of objects by unique property values","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/upsert","href":"/api-reference/latest/crm/objects/custom-objects/batch/upsert-custom-objects"},{"title":"Archive a batch of objects by ID","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/archive","href":"/api-reference/latest/crm/objects/custom-objects/batch/delete-custom-objects"}]},{"group":"Rechercher","pages":[{"title":"Search for CRM objects of a specified type.","openapi":"specs/2026-09/crm-custom-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/search","href":"/api-reference/latest/crm/objects/custom-objects/search/search-custom-objects"}]}]},{"group":"Répartitions de transactions","pages":[{"title":"Deal Splits API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/deal-splits","href":"/api-reference/latest/crm/objects/deal-splits/guide"},{"title":"Retrieve deal splits","openapi":"specs/2026-09/crm-deal-splits-v2026-09.json POST /deal-splits/2026-09/batch/read","href":"/api-reference/latest/crm/objects/deal-splits/get-deal-splits"},{"title":"Upsert deal splits","openapi":"specs/2026-09/crm-deal-splits-v2026-09.json POST /deal-splits/2026-09/batch/upsert","href":"/api-reference/latest/crm/objects/deal-splits/upsert-deal-splits"}]},{"group":"Transactions","pages":[{"title":"API du CRM | Transactions","sidebarTitle":"Deals","href":"/api-reference/latest/crm/objects/deals/guide"},{"title":"Deal object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/deals/object-definition","href":"/api-reference/latest/crm/objects/deals/object-definition"},{"title":"Create","openapi":"specs/2026-09/crm-deals-v2026-09.json POST /crm/objects/2026-09/0-3","href":"/api-reference/latest/crm/objects/deals/create-deal"},{"title":"Read","openapi":"specs/2026-09/crm-deals-v2026-09.json GET /crm/objects/2026-09/0-3/{dealId}","href":"/api-reference/latest/crm/objects/deals/get-deal"},{"title":"List","openapi":"specs/2026-09/crm-deals-v2026-09.json GET /crm/objects/2026-09/0-3","href":"/api-reference/latest/crm/objects/deals/get-deals"},{"title":"Merge two deals with same type","openapi":"specs/2026-09/crm-deals-v2026-09.json POST /crm/objects/2026-09/0-3/merge","href":"/api-reference/latest/crm/objects/deals/merge-deals"},{"title":"Search for deals using various filters and criteria to retrieve specific records.","openapi":"specs/2026-09/crm-deals-v2026-09.json POST /crm/objects/2026-09/0-3/search","href":"/api-reference/latest/crm/objects/deals/search-deals"},{"title":"Update","openapi":"specs/2026-09/crm-deals-v2026-09.json PATCH /crm/objects/2026-09/0-3/{dealId}","href":"/api-reference/latest/crm/objects/deals/update-deal"},{"title":"Archive","openapi":"specs/2026-09/crm-deals-v2026-09.json DELETE /crm/objects/2026-09/0-3/{dealId}","href":"/api-reference/latest/crm/objects/deals/delete-deal"},{"group":"Lot","pages":[{"title":"Create a batch of deals","openapi":"specs/2026-09/crm-deals-v2026-09.json POST /crm/objects/2026-09/0-3/batch/create","href":"/api-reference/latest/crm/objects/deals/batch/create-deals"},{"title":"Read a batch of deals by internal ID, or unique property values","openapi":"specs/2026-09/crm-deals-v2026-09.json POST /crm/objects/2026-09/0-3/batch/read","href":"/api-reference/latest/crm/objects/deals/batch/get-deals"},{"title":"Update a batch of deals by internal ID, or unique property values","openapi":"specs/2026-09/crm-deals-v2026-09.json POST /crm/objects/2026-09/0-3/batch/update","href":"/api-reference/latest/crm/objects/deals/batch/update-deals"},{"title":"Create or update a batch of deals by unique property values","openapi":"specs/2026-09/crm-deals-v2026-09.json POST /crm/objects/2026-09/0-3/batch/upsert","href":"/api-reference/latest/crm/objects/deals/batch/upsert-deals"},{"title":"Archive a batch of deals by ID","openapi":"specs/2026-09/crm-deals-v2026-09.json POST /crm/objects/2026-09/0-3/batch/archive","href":"/api-reference/latest/crm/objects/deals/batch/delete-deals"}]}]},{"group":"Remises","pages":[{"title":"Discounts API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/discounts","href":"/api-reference/latest/crm/objects/discounts/guide"},{"title":"Discount object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/discounts/object-definition","href":"/api-reference/latest/crm/objects/discounts/object-definition"},{"title":"Create a discount","openapi":"specs/2026-09/crm-discounts-v2026-09.json POST /crm/objects/2026-09/discounts","href":"/api-reference/latest/crm/objects/discounts/create-discount"},{"title":"Retrieve a discount","openapi":"specs/2026-09/crm-discounts-v2026-09.json GET /crm/objects/2026-09/discounts/{discountId}","href":"/api-reference/latest/crm/objects/discounts/get-discount"},{"title":"Retrieve discounts","openapi":"specs/2026-09/crm-discounts-v2026-09.json GET /crm/objects/2026-09/discounts","href":"/api-reference/latest/crm/objects/discounts/get-discounts"},{"title":"Update a discount","openapi":"specs/2026-09/crm-discounts-v2026-09.json PATCH /crm/objects/2026-09/discounts/{discountId}","href":"/api-reference/latest/crm/objects/discounts/update-discount"},{"title":"Delete a discount","openapi":"specs/2026-09/crm-discounts-v2026-09.json DELETE /crm/objects/2026-09/discounts/{discountId}","href":"/api-reference/latest/crm/objects/discounts/delete-discount"},{"group":"Lot","pages":[{"title":"Create discounts","openapi":"specs/2026-09/crm-discounts-v2026-09.json POST /crm/objects/2026-09/discounts/batch/create","href":"/api-reference/latest/crm/objects/discounts/batch/create-discounts"},{"title":"Retrieve discounts","openapi":"specs/2026-09/crm-discounts-v2026-09.json POST /crm/objects/2026-09/discounts/batch/read","href":"/api-reference/latest/crm/objects/discounts/batch/get-discounts"},{"title":"Update discounts","openapi":"specs/2026-09/crm-discounts-v2026-09.json POST /crm/objects/2026-09/discounts/batch/update","href":"/api-reference/latest/crm/objects/discounts/batch/update-discounts"},{"title":"Upsert discounts","openapi":"specs/2026-09/crm-discounts-v2026-09.json POST /crm/objects/2026-09/discounts/batch/upsert","href":"/api-reference/latest/crm/objects/discounts/batch/upsert-discounts"},{"title":"Delete discounts","openapi":"specs/2026-09/crm-discounts-v2026-09.json POST /crm/objects/2026-09/discounts/batch/archive","href":"/api-reference/latest/crm/objects/discounts/batch/delete-discounts"}]},{"group":"Rechercher","pages":[{"title":"Search for a discount","openapi":"specs/2026-09/crm-discounts-v2026-09.json POST /crm/objects/2026-09/discounts/search","href":"/api-reference/latest/crm/objects/discounts/search/search-discounts"}]}]},{"group":"Soumissions d'avis","pages":[{"title":"Survey Responses API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/feedback-submissions","href":"/api-reference/latest/crm/objects/feedback-submissions/guide"},{"title":"Feedback submission object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/feedback-submissions/object-definition","href":"/api-reference/latest/crm/objects/feedback-submissions/object-definition"},{"title":"Read","openapi":"specs/2026-09/crm-feedback-submissions-v2026-09.json GET /crm/objects/2026-09/feedback_submissions/{feedbackSubmissionId}","href":"/api-reference/latest/crm/objects/feedback-submissions/get-feedback-submission"},{"title":"List","openapi":"specs/2026-09/crm-feedback-submissions-v2026-09.json GET /crm/objects/2026-09/feedback_submissions","href":"/api-reference/latest/crm/objects/feedback-submissions/get-feedback-submissions"},{"group":"Lot","pages":[{"title":"Read a batch of feedback submissions by internal ID, or unique property values","openapi":"specs/2026-09/crm-feedback-submissions-v2026-09.json POST /crm/objects/2026-09/feedback_submissions/batch/read","href":"/api-reference/latest/crm/objects/feedback-submissions/batch/get-feedback-submissions"}]},{"group":"Rechercher","pages":[{"title":"Search for feedback submissions using specified criteria.","openapi":"specs/2026-09/crm-feedback-submissions-v2026-09.json POST /crm/objects/2026-09/feedback_submissions/search","href":"/api-reference/latest/crm/objects/feedback-submissions/search/search-feedback-submissions"}]}]},{"group":"Frais","pages":[{"title":"Fees API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/fees","href":"/api-reference/latest/crm/objects/fees/guide"},{"title":"Fee object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/fees/object-definition","href":"/api-reference/latest/crm/objects/fees/object-definition"},{"title":"Create a fee","openapi":"specs/2026-09/crm-fees-v2026-09.json POST /crm/objects/2026-09/fees","href":"/api-reference/latest/crm/objects/fees/create-fee"},{"title":"Retrieve a fee","openapi":"specs/2026-09/crm-fees-v2026-09.json GET /crm/objects/2026-09/fees/{feeId}","href":"/api-reference/latest/crm/objects/fees/get-fee"},{"title":"Retrieve fees","openapi":"specs/2026-09/crm-fees-v2026-09.json GET /crm/objects/2026-09/fees","href":"/api-reference/latest/crm/objects/fees/get-fees"},{"title":"Update a fee","openapi":"specs/2026-09/crm-fees-v2026-09.json PATCH /crm/objects/2026-09/fees/{feeId}","href":"/api-reference/latest/crm/objects/fees/update-fee"},{"title":"Delete a fee","openapi":"specs/2026-09/crm-fees-v2026-09.json DELETE /crm/objects/2026-09/fees/{feeId}","href":"/api-reference/latest/crm/objects/fees/delete-fee"},{"group":"Lot","pages":[{"title":"Create fees","openapi":"specs/2026-09/crm-fees-v2026-09.json POST /crm/objects/2026-09/fees/batch/create","href":"/api-reference/latest/crm/objects/fees/batch/create-fees"},{"title":"Retrieve fees","openapi":"specs/2026-09/crm-fees-v2026-09.json POST /crm/objects/2026-09/fees/batch/read","href":"/api-reference/latest/crm/objects/fees/batch/get-fees"},{"title":"Update fees","openapi":"specs/2026-09/crm-fees-v2026-09.json POST /crm/objects/2026-09/fees/batch/update","href":"/api-reference/latest/crm/objects/fees/batch/update-fees"},{"title":"Upsert fees","openapi":"specs/2026-09/crm-fees-v2026-09.json POST /crm/objects/2026-09/fees/batch/upsert","href":"/api-reference/latest/crm/objects/fees/batch/upsert-fees"},{"title":"Delete fees","openapi":"specs/2026-09/crm-fees-v2026-09.json POST /crm/objects/2026-09/fees/batch/archive","href":"/api-reference/latest/crm/objects/fees/batch/delete-fees"}]},{"group":"Rechercher","pages":[{"title":"Search for fees","openapi":"specs/2026-09/crm-fees-v2026-09.json POST /crm/objects/2026-09/fees/search","href":"/api-reference/latest/crm/objects/fees/search/search-fees"}]}]},{"group":"Prévisions","pages":[{"title":"Forecasts API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/forecasts","href":"/api-reference/latest/crm/objects/forecasts/guide"},{"group":"Types de prévisions","pages":[{"title":"Retrieve a forecast type","openapi":"specs/2026-09/crm-forecast-types-v2026-09.json GET /forecast-settings/2026-09/forecast-types/{forecastTypeId}","href":"/api-reference/latest/crm/objects/forecasts/forecast-types/get-forecast-type"},{"title":"Retrieve forecast types","openapi":"specs/2026-09/crm-forecast-types-v2026-09.json GET /forecast-settings/2026-09/forecast-types","href":"/api-reference/latest/crm/objects/forecasts/forecast-types/get-forecast-types"}]},{"group":"Rechercher","pages":[{"title":"Search for forecasts","openapi":"specs/2026-09/crm-forecasts-v2026-09.json POST /crm/objects/2026-09/{objectType}/search","href":"/api-reference/latest/crm/objects/forecasts/search/search-forecasts"}]}]},{"group":"Objectifs","pages":[{"title":"Goals API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/goals","href":"/api-reference/latest/crm/objects/goals/guide"},{"title":"Goal object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/goals/object-definition","href":"/api-reference/latest/crm/objects/goals/object-definition"},{"title":"Create a goal target","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json POST /crm/objects/2026-09/goal_targets","href":"/api-reference/latest/crm/objects/goals/create-goal-target"},{"title":"Retrieve goal target","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json GET /crm/objects/2026-09/goal_targets/{goalTargetId}","href":"/api-reference/latest/crm/objects/goals/get-goal-target"},{"title":"Retrieve goal targets","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json GET /crm/objects/2026-09/goal_targets","href":"/api-reference/latest/crm/objects/goals/get-goal-targets"},{"title":"Update","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json PATCH /crm/objects/2026-09/goal_targets/{goalTargetId}","href":"/api-reference/latest/crm/objects/goals/update-goal-target-objectId"},{"title":"Update a goal target","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json PATCH /crm/objects/2026-09/goal_targets/{goalTargetId}","href":"/api-reference/latest/crm/objects/goals/update-goal-target"},{"title":"Delete a goal target","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json DELETE /crm/objects/2026-09/goal_targets/{goalTargetId}","href":"/api-reference/latest/crm/objects/goals/delete-goal-target"},{"group":"Lot","pages":[{"title":"Create goal targets","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json POST /crm/objects/2026-09/goal_targets/batch/create","href":"/api-reference/latest/crm/objects/goals/batch/create-goal-targets"},{"title":"Retrieve goal targets","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json POST /crm/objects/2026-09/goal_targets/batch/read","href":"/api-reference/latest/crm/objects/goals/batch/get-goal-targets"},{"title":"Update goal targets","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json POST /crm/objects/2026-09/goal_targets/batch/update","href":"/api-reference/latest/crm/objects/goals/batch/update-goal-targets"},{"title":"Create or update a batch of goal targets by unique property values","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json POST /crm/objects/2026-09/goal_targets/batch/upsert","href":"/api-reference/latest/crm/objects/goals/batch/upsert-goal-targets"},{"title":"Delete goal targets","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json POST /crm/objects/2026-09/goal_targets/batch/archive","href":"/api-reference/latest/crm/objects/goals/batch/delete-goal-targets"}]},{"group":"Rechercher","pages":[{"title":"Search for goal targets","openapi":"specs/2026-09/crm-goal-targets-v2026-09.json POST /crm/objects/2026-09/goal_targets/search","href":"/api-reference/latest/crm/objects/goals/search/search-goal-targets"}]}]},{"group":"Factures","pages":[{"title":"Invoices API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/invoices","href":"/api-reference/latest/crm/objects/invoices/guide"},{"title":"Invoice object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/invoices/object-definition","href":"/api-reference/latest/crm/objects/invoices/object-definition"},{"title":"Create","openapi":"specs/2026-09/crm-invoices-v2026-09.json POST /crm/objects/2026-09/invoices","href":"/api-reference/latest/crm/objects/invoices/create-invoice"},{"title":"Read","openapi":"specs/2026-09/crm-invoices-v2026-09.json GET /crm/objects/2026-09/invoices/{invoiceId}","href":"/api-reference/latest/crm/objects/invoices/get-invoice"},{"title":"List","openapi":"specs/2026-09/crm-invoices-v2026-09.json GET /crm/objects/2026-09/invoices","href":"/api-reference/latest/crm/objects/invoices/get-invoices"},{"title":"Update","openapi":"specs/2026-09/crm-invoices-v2026-09.json PATCH /crm/objects/2026-09/invoices/{invoiceId}","href":"/api-reference/latest/crm/objects/invoices/update-invoice-objectId"},{"title":"Update","openapi":"specs/2026-09/crm-invoices-v2026-09.json PATCH /crm/objects/2026-09/invoices/{invoiceId}","href":"/api-reference/latest/crm/objects/invoices/update-invoice"},{"title":"Archive","openapi":"specs/2026-09/crm-invoices-v2026-09.json DELETE /crm/objects/2026-09/invoices/{invoiceId}","href":"/api-reference/latest/crm/objects/invoices/delete-invoice"},{"group":"Lot","pages":[{"title":"Create a batch of invoices","openapi":"specs/2026-09/crm-invoices-v2026-09.json POST /crm/objects/2026-09/invoices/batch/create","href":"/api-reference/latest/crm/objects/invoices/batch/create-invoices"},{"title":"Read a batch of invoices by internal ID, or unique property values","openapi":"specs/2026-09/crm-invoices-v2026-09.json POST /crm/objects/2026-09/invoices/batch/read","href":"/api-reference/latest/crm/objects/invoices/batch/get-invoices"},{"title":"Update a batch of invoices by internal ID, or unique property values","openapi":"specs/2026-09/crm-invoices-v2026-09.json POST /crm/objects/2026-09/invoices/batch/update","href":"/api-reference/latest/crm/objects/invoices/batch/update-invoices"},{"title":"Create or update a batch of invoices by unique property values","openapi":"specs/2026-09/crm-invoices-v2026-09.json POST /crm/objects/2026-09/invoices/batch/upsert","href":"/api-reference/latest/crm/objects/invoices/batch/upsert-invoices"},{"title":"Archive a batch of invoices by ID","openapi":"specs/2026-09/crm-invoices-v2026-09.json POST /crm/objects/2026-09/invoices/batch/archive","href":"/api-reference/latest/crm/objects/invoices/batch/delete-invoices"}]},{"group":"Rechercher","pages":[{"title":"Search for invoices using specified criteria.","openapi":"specs/2026-09/crm-invoices-v2026-09.json POST /crm/objects/2026-09/invoices/search","href":"/api-reference/latest/crm/objects/invoices/search/search-invoices"}]}]},{"group":"Leads","pages":[{"title":"Leads API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/leads","href":"/api-reference/latest/crm/objects/leads/guide"},{"title":"Lead object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/leads/object-definition","href":"/api-reference/latest/crm/objects/leads/object-definition"},{"title":"Create","openapi":"specs/2026-09/crm-leads-v2026-09.json POST /crm/objects/2026-09/leads","href":"/api-reference/latest/crm/objects/leads/create-lead"},{"title":"Read","openapi":"specs/2026-09/crm-leads-v2026-09.json GET /crm/objects/2026-09/leads/{leadsId}","href":"/api-reference/latest/crm/objects/leads/get-lead"},{"title":"List","openapi":"specs/2026-09/crm-leads-v2026-09.json GET /crm/objects/2026-09/leads","href":"/api-reference/latest/crm/objects/leads/get-leads"},{"title":"Update","openapi":"specs/2026-09/crm-leads-v2026-09.json PATCH /crm/objects/2026-09/leads/{leadsId}","href":"/api-reference/latest/crm/objects/leads/update-lead"},{"title":"Archive","openapi":"specs/2026-09/crm-leads-v2026-09.json DELETE /crm/objects/2026-09/leads/{leadsId}","href":"/api-reference/latest/crm/objects/leads/delete-lead"},{"group":"Lot","pages":[{"title":"Create a batch of leads","openapi":"specs/2026-09/crm-leads-v2026-09.json POST /crm/objects/2026-09/leads/batch/create","href":"/api-reference/latest/crm/objects/leads/batch/create-leads"},{"title":"Read a batch of leads by internal ID, or unique property values","openapi":"specs/2026-09/crm-leads-v2026-09.json POST /crm/objects/2026-09/leads/batch/read","href":"/api-reference/latest/crm/objects/leads/batch/get-leads"},{"title":"Update a batch of leads by internal ID, or unique property values","openapi":"specs/2026-09/crm-leads-v2026-09.json POST /crm/objects/2026-09/leads/batch/update","href":"/api-reference/latest/crm/objects/leads/batch/update-leads"},{"title":"Create or update a batch of leads by unique property values","openapi":"specs/2026-09/crm-leads-v2026-09.json POST /crm/objects/2026-09/leads/batch/upsert","href":"/api-reference/latest/crm/objects/leads/batch/upsert-leads"},{"title":"Archive a batch of leads by ID","openapi":"specs/2026-09/crm-leads-v2026-09.json POST /crm/objects/2026-09/leads/batch/archive","href":"/api-reference/latest/crm/objects/leads/batch/delete-leads"}]},{"group":"Rechercher","pages":[{"title":"Search for leads","openapi":"specs/2026-09/crm-leads-v2026-09.json POST /crm/objects/2026-09/leads/search","href":"/api-reference/latest/crm/objects/leads/search/search-leads"}]}]},{"group":"Lignes de produits","pages":[{"title":"API du CRM | Lignes de produit","sidebarTitle":"Line items","href":"/api-reference/latest/crm/objects/line-items/guide"},{"title":"Line item object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/line-items/object-definition","href":"/api-reference/latest/crm/objects/line-items/object-definition"},{"title":"Create","openapi":"specs/2026-09/crm-line-items-v2026-09.json POST /crm/objects/2026-09/line_items","href":"/api-reference/latest/crm/objects/line-items/create-line-item"},{"title":"Read","openapi":"specs/2026-09/crm-line-items-v2026-09.json GET /crm/objects/2026-09/line_items/{lineItemId}","href":"/api-reference/latest/crm/objects/line-items/get-line-item"},{"title":"List","openapi":"specs/2026-09/crm-line-items-v2026-09.json GET /crm/objects/2026-09/line_items","href":"/api-reference/latest/crm/objects/line-items/get-line-items"},{"title":"Update","openapi":"specs/2026-09/crm-line-items-v2026-09.json PATCH /crm/objects/2026-09/line_items/{lineItemId}","href":"/api-reference/latest/crm/objects/line-items/update-line-item"},{"title":"Archive","openapi":"specs/2026-09/crm-line-items-v2026-09.json DELETE /crm/objects/2026-09/line_items/{lineItemId}","href":"/api-reference/latest/crm/objects/line-items/delete-line-item"},{"group":"Lot","pages":[{"title":"Create a batch of line items","openapi":"specs/2026-09/crm-line-items-v2026-09.json POST /crm/objects/2026-09/line_items/batch/create","href":"/api-reference/latest/crm/objects/line-items/batch/create-line-items"},{"title":"Read a batch of line items by internal ID, or unique property values","openapi":"specs/2026-09/crm-line-items-v2026-09.json POST /crm/objects/2026-09/line_items/batch/read","href":"/api-reference/latest/crm/objects/line-items/batch/get-line-items"},{"title":"Update a batch of line items by internal ID, or unique property values","openapi":"specs/2026-09/crm-line-items-v2026-09.json POST /crm/objects/2026-09/line_items/batch/update","href":"/api-reference/latest/crm/objects/line-items/batch/update-line-items"},{"title":"Create or update a batch of line items by unique property values","openapi":"specs/2026-09/crm-line-items-v2026-09.json POST /crm/objects/2026-09/line_items/batch/upsert","href":"/api-reference/latest/crm/objects/line-items/batch/upsert-line-items"},{"title":"Archive a batch of line items by ID","openapi":"specs/2026-09/crm-line-items-v2026-09.json POST /crm/objects/2026-09/line_items/batch/archive","href":"/api-reference/latest/crm/objects/line-items/batch/delete-line-items"}]},{"group":"Rechercher","pages":[{"title":"Search for line items using specified criteria.","openapi":"specs/2026-09/crm-line-items-v2026-09.json POST /crm/objects/2026-09/line_items/search","href":"/api-reference/latest/crm/objects/line-items/search/search-line-items"}]}]},{"group":"Listings","pages":[{"title":"Listings API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/listings","href":"/api-reference/latest/crm/objects/listings/guide"},{"title":"Create","openapi":"specs/2026-09/crm-listings-v2026-09.json POST /crm/objects/2026-09/0-420","href":"/api-reference/latest/crm/objects/listings/create-listing"},{"title":"Read","openapi":"specs/2026-09/crm-listings-v2026-09.json GET /crm/objects/2026-09/0-420/{listingId}","href":"/api-reference/latest/crm/objects/listings/get-listing"},{"title":"List","openapi":"specs/2026-09/crm-listings-v2026-09.json GET /crm/objects/2026-09/0-420","href":"/api-reference/latest/crm/objects/listings/get-listings"},{"title":"Update","openapi":"specs/2026-09/crm-listings-v2026-09.json PATCH /crm/objects/2026-09/0-420/{listingId}","href":"/api-reference/latest/crm/objects/listings/update-listing-objectId"},{"title":"Update","openapi":"specs/2026-09/crm-listings-v2026-09.json PATCH /crm/objects/2026-09/0-420/{listingId}","href":"/api-reference/latest/crm/objects/listings/update-listing"},{"title":"Archive","openapi":"specs/2026-09/crm-listings-v2026-09.json DELETE /crm/objects/2026-09/0-420/{listingId}","href":"/api-reference/latest/crm/objects/listings/delete-listing"},{"group":"Lot","pages":[{"title":"Create a batch of listings","openapi":"specs/2026-09/crm-listings-v2026-09.json POST /crm/objects/2026-09/0-420/batch/create","href":"/api-reference/latest/crm/objects/listings/batch/create-listings"},{"title":"Read a batch of listings by internal ID, or unique property values","openapi":"specs/2026-09/crm-listings-v2026-09.json POST /crm/objects/2026-09/0-420/batch/read","href":"/api-reference/latest/crm/objects/listings/batch/get-listings"},{"title":"Update a batch of listings by internal ID, or unique property values","openapi":"specs/2026-09/crm-listings-v2026-09.json POST /crm/objects/2026-09/0-420/batch/update","href":"/api-reference/latest/crm/objects/listings/batch/update-listings"},{"title":"Create or update a batch of listings by unique property values","openapi":"specs/2026-09/crm-listings-v2026-09.json POST /crm/objects/2026-09/0-420/batch/upsert","href":"/api-reference/latest/crm/objects/listings/batch/upsert-listings"},{"title":"Archive a batch of listings by ID","openapi":"specs/2026-09/crm-listings-v2026-09.json POST /crm/objects/2026-09/0-420/batch/archive","href":"/api-reference/latest/crm/objects/listings/batch/delete-listings"}]},{"group":"Rechercher","pages":[{"title":"Search for listings using various criteria and filters.","openapi":"specs/2026-09/crm-listings-v2026-09.json POST /crm/objects/2026-09/0-420/search","href":"/api-reference/latest/crm/objects/listings/search/search-listings"}]}]},{"group":"Balises d'objet","pages":[{"title":"Object Tags API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/object-tags","href":"/api-reference/latest/crm/objects/object-tags/guide"},{"title":"Create tag","openapi":"specs/2026-09/crm-object-tags-v2026-09.json POST /crm/object-tags/2026-09/{objectTypeId}","href":"/api-reference/latest/crm/objects/object-tags/create-object-tag"},{"title":"Retrieve Tag","openapi":"specs/2026-09/crm-object-tags-v2026-09.json GET /crm/object-tags/2026-09/{objectTypeId}/{tagId}","href":"/api-reference/latest/crm/objects/object-tags/get-object-tag"},{"title":"Retrieve tags","openapi":"specs/2026-09/crm-object-tags-v2026-09.json GET /crm/object-tags/2026-09/{objectTypeId}","href":"/api-reference/latest/crm/objects/object-tags/get-object-tags"},{"title":"Update tag (Partial)","openapi":"specs/2026-09/crm-object-tags-v2026-09.json PATCH /crm/object-tags/2026-09/{objectTypeId}/{tagId}","href":"/api-reference/latest/crm/objects/object-tags/partially-update-object-tag"},{"title":"Update tag (Replace)","openapi":"specs/2026-09/crm-object-tags-v2026-09.json PUT /crm/object-tags/2026-09/{objectTypeId}/{tagId}","href":"/api-reference/latest/crm/objects/object-tags/update-object-tag"},{"title":"Delete","openapi":"specs/2026-09/crm-object-tags-v2026-09.json DELETE /crm/object-tags/2026-09/{objectTypeId}/{tagId}","href":"/api-reference/latest/crm/objects/object-tags/delete-object-tag"}]},{"group":"Objets","pages":[{"title":"Create","openapi":"specs/2026-09/crm-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}","href":"/api-reference/latest/crm/objects/objects/create-object"},{"title":"Read","openapi":"specs/2026-09/crm-objects-v2026-09.json GET /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/objects/get-object"},{"title":"List","openapi":"specs/2026-09/crm-objects-v2026-09.json GET /crm/objects/2026-09/{objectType}","href":"/api-reference/latest/crm/objects/objects/get-objects"},{"title":"Update","openapi":"specs/2026-09/crm-objects-v2026-09.json PATCH /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/objects/update-object"},{"title":"Archive","openapi":"specs/2026-09/crm-objects-v2026-09.json DELETE /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/objects/delete-object"},{"group":"Lot","pages":[{"title":"Create a batch of objects","openapi":"specs/2026-09/crm-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/create","href":"/api-reference/latest/crm/objects/objects/batch/create-objects"},{"title":"Read a batch of objects by internal ID, or unique property values","openapi":"specs/2026-09/crm-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/read","href":"/api-reference/latest/crm/objects/objects/batch/get-objects"},{"title":"Update a batch of objects by internal ID, or unique property values","openapi":"specs/2026-09/crm-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/update","href":"/api-reference/latest/crm/objects/objects/batch/update-objects"},{"title":"Create or update a batch of objects by unique property values","openapi":"specs/2026-09/crm-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/upsert","href":"/api-reference/latest/crm/objects/objects/batch/upsert-objects"},{"title":"Archive a batch of objects by ID","openapi":"specs/2026-09/crm-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/archive","href":"/api-reference/latest/crm/objects/objects/batch/delete-objects"}]},{"group":"Rechercher","pages":[{"title":"Search records","openapi":"specs/2026-09/crm-objects-v2026-09.json POST /crm/objects/2026-09/{objectType}/search","href":"/api-reference/latest/crm/objects/objects/search/search-objects"}]}]},{"group":"Commandes","pages":[{"title":"Orders API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/orders","href":"/api-reference/latest/crm/objects/orders/guide"},{"title":"Order object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/orders/object-definition","href":"/api-reference/latest/crm/objects/orders/object-definition"},{"title":"Create","openapi":"specs/2026-09/crm-orders-v2026-09.json POST /crm/objects/2026-09/orders","href":"/api-reference/latest/crm/objects/orders/create-order"},{"title":"Read","openapi":"specs/2026-09/crm-orders-v2026-09.json GET /crm/objects/2026-09/orders/{orderId}","href":"/api-reference/latest/crm/objects/orders/get-order"},{"title":"List","openapi":"specs/2026-09/crm-orders-v2026-09.json GET /crm/objects/2026-09/orders","href":"/api-reference/latest/crm/objects/orders/get-orders"},{"title":"Update","openapi":"specs/2026-09/crm-orders-v2026-09.json PATCH /crm/objects/2026-09/orders/{orderId}","href":"/api-reference/latest/crm/objects/orders/update-order-objectId"},{"title":"Update","openapi":"specs/2026-09/crm-orders-v2026-09.json PATCH /crm/objects/2026-09/orders/{orderId}","href":"/api-reference/latest/crm/objects/orders/update-order"},{"title":"Archive","openapi":"specs/2026-09/crm-orders-v2026-09.json DELETE /crm/objects/2026-09/orders/{orderId}","href":"/api-reference/latest/crm/objects/orders/delete-order"},{"group":"Lot","pages":[{"title":"Create a batch of orders","openapi":"specs/2026-09/crm-orders-v2026-09.json POST /crm/objects/2026-09/orders/batch/create","href":"/api-reference/latest/crm/objects/orders/batch/create-orders"},{"title":"Read a batch of orders by internal ID, or unique property values","openapi":"specs/2026-09/crm-orders-v2026-09.json POST /crm/objects/2026-09/orders/batch/read","href":"/api-reference/latest/crm/objects/orders/batch/get-orders"},{"title":"Update a batch of orders by internal ID, or unique property values","openapi":"specs/2026-09/crm-orders-v2026-09.json POST /crm/objects/2026-09/orders/batch/update","href":"/api-reference/latest/crm/objects/orders/batch/update-orders"},{"title":"Create or update a batch of orders by unique property values","openapi":"specs/2026-09/crm-orders-v2026-09.json POST /crm/objects/2026-09/orders/batch/upsert","href":"/api-reference/latest/crm/objects/orders/batch/upsert-orders"},{"title":"Archive a batch of orders by ID","openapi":"specs/2026-09/crm-orders-v2026-09.json POST /crm/objects/2026-09/orders/batch/archive","href":"/api-reference/latest/crm/objects/orders/batch/delete-orders"}]},{"group":"Fusionner","pages":[{"title":"Merge two orders","openapi":"specs/2026-09/crm-orders-v2026-09.json POST /crm/objects/2026-09/orders/merge","href":"/api-reference/latest/crm/objects/orders/merge/merge-orders"}]},{"group":"Rechercher","pages":[{"title":"Search for orders in the CRM using various filters and sorting options to retrieve specific order data.","openapi":"specs/2026-09/crm-orders-v2026-09.json POST /crm/objects/2026-09/orders/search","href":"/api-reference/latest/crm/objects/orders/search/search-orders"}]}]},{"group":"Clients partenaires","pages":[{"title":"Retrieve a partner client","openapi":"specs/2026-09/crm-partner-clients-v2026-09.json GET /crm/objects/2026-09/partner_clients/{partnerClientId}","href":"/api-reference/latest/crm/objects/partner-clients/get-partner-client"},{"title":"Retrieve partner clients","openapi":"specs/2026-09/crm-partner-clients-v2026-09.json GET /crm/objects/2026-09/partner_clients","href":"/api-reference/latest/crm/objects/partner-clients/get-partner-clients"},{"title":"Update properties of a specific partner client.","openapi":"specs/2026-09/crm-partner-clients-v2026-09.json PATCH /crm/objects/2026-09/partner_clients/{partnerClientId}","href":"/api-reference/latest/crm/objects/partner-clients/update-partner-client-objectId"},{"title":"Update a partner client","openapi":"specs/2026-09/crm-partner-clients-v2026-09.json PATCH /crm/objects/2026-09/partner_clients/{partnerClientId}","href":"/api-reference/latest/crm/objects/partner-clients/update-partner-client"},{"group":"Lot","pages":[{"title":"Retrieve a batch of partner client objects.","openapi":"specs/2026-09/crm-partner-clients-v2026-09.json POST /crm/objects/2026-09/partner_clients/batch/read","href":"/api-reference/latest/crm/objects/partner-clients/batch/get-partner-clients"}]},{"group":"Rechercher","pages":[{"title":"Search for partner clients","openapi":"specs/2026-09/crm-partner-clients-v2026-09.json POST /crm/objects/2026-09/partner_clients/search","href":"/api-reference/latest/crm/objects/partner-clients/search/search-partner-clients"}]}]},{"group":"Services partenaire","pages":[{"title":"Read","openapi":"specs/2026-09/crm-partner-services-v2026-09.json GET /crm/objects/2026-09/partner_services/{partnerServiceId}","href":"/api-reference/latest/crm/objects/partner-services/get-partner-service"},{"title":"List","openapi":"specs/2026-09/crm-partner-services-v2026-09.json GET /crm/objects/2026-09/partner_services","href":"/api-reference/latest/crm/objects/partner-services/get-partner-services"},{"title":"Update","openapi":"specs/2026-09/crm-partner-services-v2026-09.json PATCH /crm/objects/2026-09/partner_services/{partnerServiceId}","href":"/api-reference/latest/crm/objects/partner-services/update-partner-service-objectId"},{"title":"Update","openapi":"specs/2026-09/crm-partner-services-v2026-09.json PATCH /crm/objects/2026-09/partner_services/{partnerServiceId}","href":"/api-reference/latest/crm/objects/partner-services/update-partner-service"},{"group":"Lot","pages":[{"title":"Read a batch of partner services by internal ID, or unique property values","openapi":"specs/2026-09/crm-partner-services-v2026-09.json POST /crm/objects/2026-09/partner_services/batch/read","href":"/api-reference/latest/crm/objects/partner-services/batch/get-partner-services"},{"title":"Update a batch of partner services by internal ID, or unique property values","openapi":"specs/2026-09/crm-partner-services-v2026-09.json POST /crm/objects/2026-09/partner_services/batch/update","href":"/api-reference/latest/crm/objects/partner-services/batch/update-partner-services"}]},{"group":"Rechercher","pages":[{"title":"Search for partner services using specified criteria.","openapi":"specs/2026-09/crm-partner-services-v2026-09.json POST /crm/objects/2026-09/partner_services/search","href":"/api-reference/latest/crm/objects/partner-services/search/search-partner-services"}]}]},{"group":"Articles du catalogue des prix","pages":[{"title":"Retrieve a price book item","openapi":"specs/2026-09/crm-price-book-items-crm-reads-api-v2026-09.json GET /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/price-book-items/get-price-book-item"},{"title":"Retrieve price book items","openapi":"specs/2026-09/crm-price-book-items-crm-reads-api-v2026-09.json GET /crm/objects/2026-09/{objectType}","href":"/api-reference/latest/crm/objects/price-book-items/get-price-book-items"},{"group":"Lot","pages":[{"title":"Batch retrieve price book items","openapi":"specs/2026-09/crm-price-book-items-crm-reads-api-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/read","href":"/api-reference/latest/crm/objects/price-book-items/batch/get-price-book-items"}]}]},{"group":"Catalogues de prix","pages":[{"title":"CRM API | Price books","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/price-books","href":"/api-reference/latest/crm/objects/price-books/guide"},{"title":"Retrieve a price book","openapi":"specs/2026-09/crm-price-books-crm-reads-api-v2026-09.json GET /crm/objects/2026-09/{objectType}/{objectId}","href":"/api-reference/latest/crm/objects/price-books/get-price-book"},{"title":"Retrieve price books","openapi":"specs/2026-09/crm-price-books-crm-reads-api-v2026-09.json GET /crm/objects/2026-09/{objectType}","href":"/api-reference/latest/crm/objects/price-books/get-price-books"},{"group":"Lot","pages":[{"title":"Batch retrieve price books","openapi":"specs/2026-09/crm-price-books-crm-reads-api-v2026-09.json POST /crm/objects/2026-09/{objectType}/batch/read","href":"/api-reference/latest/crm/objects/price-books/batch/get-price-books"}]}]},{"group":"Produits","pages":[{"title":"API du CRM | Produits","sidebarTitle":"Products","href":"/api-reference/latest/crm/objects/products/guide"},{"title":"Product object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/products/object-definition","href":"/api-reference/latest/crm/objects/products/object-definition"},{"title":"Create","openapi":"specs/2026-09/crm-products-v2026-09.json POST /crm/objects/2026-09/products","href":"/api-reference/latest/crm/objects/products/create-product"},{"title":"Read","openapi":"specs/2026-09/crm-products-v2026-09.json GET /crm/objects/2026-09/products/{productId}","href":"/api-reference/latest/crm/objects/products/get-product"},{"title":"List","openapi":"specs/2026-09/crm-products-v2026-09.json GET /crm/objects/2026-09/products","href":"/api-reference/latest/crm/objects/products/get-products"},{"title":"Update","openapi":"specs/2026-09/crm-products-v2026-09.json PATCH /crm/objects/2026-09/products/{productId}","href":"/api-reference/latest/crm/objects/products/update-product"},{"title":"Archive","openapi":"specs/2026-09/crm-products-v2026-09.json DELETE /crm/objects/2026-09/products/{productId}","href":"/api-reference/latest/crm/objects/products/delete-product"},{"group":"Lot","pages":[{"title":"Create a batch of products","openapi":"specs/2026-09/crm-products-v2026-09.json POST /crm/objects/2026-09/products/batch/create","href":"/api-reference/latest/crm/objects/products/batch/create-products"},{"title":"Read a batch of products by internal ID, or unique property values","openapi":"specs/2026-09/crm-products-v2026-09.json POST /crm/objects/2026-09/products/batch/read","href":"/api-reference/latest/crm/objects/products/batch/get-products"},{"title":"Update a batch of products by internal ID, or unique property values","openapi":"specs/2026-09/crm-products-v2026-09.json POST /crm/objects/2026-09/products/batch/update","href":"/api-reference/latest/crm/objects/products/batch/update-products"},{"title":"Create or update a batch of products by unique property values","openapi":"specs/2026-09/crm-products-v2026-09.json POST /crm/objects/2026-09/products/batch/upsert","href":"/api-reference/latest/crm/objects/products/batch/upsert-products"},{"title":"Archive a batch of products by ID","openapi":"specs/2026-09/crm-products-v2026-09.json POST /crm/objects/2026-09/products/batch/archive","href":"/api-reference/latest/crm/objects/products/batch/delete-products"}]},{"group":"Rechercher","pages":[{"title":"Search for products using specified criteria.","openapi":"specs/2026-09/crm-products-v2026-09.json POST /crm/objects/2026-09/products/search","href":"/api-reference/latest/crm/objects/products/search/search-products"}]}]},{"group":"Projets","pages":[{"title":"Projects API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/projects","href":"/api-reference/latest/crm/objects/projects/guide"},{"title":"Create","openapi":"specs/2026-09/crm-projects-v2026-09.json POST /crm/objects/2026-09/projects","href":"/api-reference/latest/crm/objects/projects/create-project"},{"title":"Read","openapi":"specs/2026-09/crm-projects-v2026-09.json GET /crm/objects/2026-09/projects/{projectId}","href":"/api-reference/latest/crm/objects/projects/get-project"},{"title":"List","openapi":"specs/2026-09/crm-projects-v2026-09.json GET /crm/objects/2026-09/projects","href":"/api-reference/latest/crm/objects/projects/get-projects"},{"title":"Merge two projects","openapi":"specs/2026-09/crm-projects-v2026-09.json POST /crm/objects/2026-09/projects/merge","href":"/api-reference/latest/crm/objects/projects/merge-projects"},{"title":"Update","openapi":"specs/2026-09/crm-projects-v2026-09.json PATCH /crm/objects/2026-09/projects/{projectId}","href":"/api-reference/latest/crm/objects/projects/update-project"},{"title":"Archive","openapi":"specs/2026-09/crm-projects-v2026-09.json DELETE /crm/objects/2026-09/projects/{projectId}","href":"/api-reference/latest/crm/objects/projects/delete-project"},{"group":"Lot","pages":[{"title":"Create a batch of projects","openapi":"specs/2026-09/crm-projects-v2026-09.json POST /crm/objects/2026-09/projects/batch/create","href":"/api-reference/latest/crm/objects/projects/batch/create-projects"},{"title":"Read a batch of projects","openapi":"specs/2026-09/crm-projects-v2026-09.json POST /crm/objects/2026-09/projects/batch/read","href":"/api-reference/latest/crm/objects/projects/batch/get-projects"},{"title":"Update a batch of projects","openapi":"specs/2026-09/crm-projects-v2026-09.json POST /crm/objects/2026-09/projects/batch/update","href":"/api-reference/latest/crm/objects/projects/batch/update-projects"},{"title":"Create or update a batch of projects","openapi":"specs/2026-09/crm-projects-v2026-09.json POST /crm/objects/2026-09/projects/batch/upsert","href":"/api-reference/latest/crm/objects/projects/batch/upsert-projects"},{"title":"Archive a batch of projects","openapi":"specs/2026-09/crm-projects-v2026-09.json POST /crm/objects/2026-09/projects/batch/archive","href":"/api-reference/latest/crm/objects/projects/batch/delete-projects"}]},{"group":"Rechercher","pages":[{"title":"Search for projects","openapi":"specs/2026-09/crm-projects-v2026-09.json POST /crm/objects/2026-09/projects/search","href":"/api-reference/latest/crm/objects/projects/search/search-projects"}]}]},{"group":"Devis","pages":[{"title":"API du CRM | Devis","sidebarTitle":"Quotes","href":"/api-reference/latest/crm/objects/quotes/guide"},{"title":"Create","openapi":"specs/2026-09/crm-quotes-v2026-09.json POST /crm/objects/2026-09/quotes","href":"/api-reference/latest/crm/objects/quotes/create-quote"},{"title":"Read","openapi":"specs/2026-09/crm-quotes-v2026-09.json GET /crm/objects/2026-09/quotes/{quoteId}","href":"/api-reference/latest/crm/objects/quotes/get-quote"},{"title":"List","openapi":"specs/2026-09/crm-quotes-v2026-09.json GET /crm/objects/2026-09/quotes","href":"/api-reference/latest/crm/objects/quotes/get-quotes"},{"title":"Quote rules syntax","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/quotes/quote-rules-syntax","href":"/api-reference/latest/crm/objects/quotes/quote-rules-syntax"},{"title":"Update a quote","openapi":"specs/2026-09/crm-quotes-v2026-09.json PATCH /crm/objects/2026-09/quotes/{quoteId}","href":"/api-reference/latest/crm/objects/quotes/update-quote-objectId"},{"title":"Partially update a quote","openapi":"specs/2026-09/crm-quotes-v2026-09.json PATCH /crm/objects/2026-09/quotes/{quoteId}","href":"/api-reference/latest/crm/objects/quotes/update-quote"},{"title":"Archive","openapi":"specs/2026-09/crm-quotes-v2026-09.json DELETE /crm/objects/2026-09/quotes/{quoteId}","href":"/api-reference/latest/crm/objects/quotes/delete-quote"},{"group":"Lot","pages":[{"title":"Create a batch of quotes","openapi":"specs/2026-09/crm-quotes-v2026-09.json POST /crm/objects/2026-09/quotes/batch/create","href":"/api-reference/latest/crm/objects/quotes/batch/create-quotes"},{"title":"Read a batch of quotes by internal ID, or unique property values","openapi":"specs/2026-09/crm-quotes-v2026-09.json POST /crm/objects/2026-09/quotes/batch/read","href":"/api-reference/latest/crm/objects/quotes/batch/get-quotes"},{"title":"Update a batch of quotes by internal ID, or unique property values","openapi":"specs/2026-09/crm-quotes-v2026-09.json POST /crm/objects/2026-09/quotes/batch/update","href":"/api-reference/latest/crm/objects/quotes/batch/update-quotes"},{"title":"Create or update a batch of quotes by unique property values","openapi":"specs/2026-09/crm-quotes-v2026-09.json POST /crm/objects/2026-09/quotes/batch/upsert","href":"/api-reference/latest/crm/objects/quotes/batch/upsert-quotes"},{"title":"Archive a batch of quotes by ID","openapi":"specs/2026-09/crm-quotes-v2026-09.json POST /crm/objects/2026-09/quotes/batch/archive","href":"/api-reference/latest/crm/objects/quotes/batch/delete-quotes"}]},{"group":"Rechercher","pages":[{"title":"Search for quotes using specified criteria.","openapi":"specs/2026-09/crm-quotes-v2026-09.json POST /crm/objects/2026-09/quotes/search","href":"/api-reference/latest/crm/objects/quotes/search/search-quotes"}]}]},{"group":"Schémas","pages":[{"title":"Schemas API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/schemas","href":"/api-reference/latest/crm/objects/schemas/guide"},{"title":"Create a new custom object schema.","openapi":"specs/2026-09/crm-schemas-v2026-09.json POST /crm-object-schemas/2026-09/schemas","href":"/api-reference/latest/crm/objects/schemas/create-schema"},{"title":"Retrieve the schema of a specified custom object.","openapi":"specs/2026-09/crm-schemas-v2026-09.json GET /crm-object-schemas/2026-09/schemas/{objectType}","href":"/api-reference/latest/crm/objects/schemas/get-schema"},{"title":"Retrieve all custom object schemas.","openapi":"specs/2026-09/crm-schemas-v2026-09.json GET /crm-object-schemas/2026-09/schemas","href":"/api-reference/latest/crm/objects/schemas/get-schemas"},{"title":"Update the schema of a specified custom object.","openapi":"specs/2026-09/crm-schemas-v2026-09.json PATCH /crm-object-schemas/2026-09/schemas/{objectType}","href":"/api-reference/latest/crm/objects/schemas/update-schema"},{"title":"Delete the schema of a specified custom object.","openapi":"specs/2026-09/crm-schemas-v2026-09.json DELETE /crm-object-schemas/2026-09/schemas/{objectType}","href":"/api-reference/latest/crm/objects/schemas/delete-schema"},{"group":"Lot","pages":[{"title":"Retrieve multiple custom object schemas in a batch request.","openapi":"specs/2026-09/crm-schemas-v2026-09.json POST /crm-object-schemas/2026-09/schemas/batch/read","href":"/api-reference/latest/crm/objects/schemas/batch/get-schemas"}]}]},{"group":"Services","pages":[{"title":"Services API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/services","href":"/api-reference/latest/crm/objects/services/guide"},{"title":"Create","openapi":"specs/2026-09/crm-services-v2026-09.json POST /crm/objects/2026-09/0-162","href":"/api-reference/latest/crm/objects/services/create-service"},{"title":"Read","openapi":"specs/2026-09/crm-services-v2026-09.json GET /crm/objects/2026-09/0-162/{serviceId}","href":"/api-reference/latest/crm/objects/services/get-service"},{"title":"List","openapi":"specs/2026-09/crm-services-v2026-09.json GET /crm/objects/2026-09/0-162","href":"/api-reference/latest/crm/objects/services/get-services"},{"title":"Update","openapi":"specs/2026-09/crm-services-v2026-09.json PATCH /crm/objects/2026-09/0-162/{serviceId}","href":"/api-reference/latest/crm/objects/services/update-service-objectId"},{"title":"Update","openapi":"specs/2026-09/crm-services-v2026-09.json PATCH /crm/objects/2026-09/0-162/{serviceId}","href":"/api-reference/latest/crm/objects/services/update-service"},{"title":"Archive","openapi":"specs/2026-09/crm-services-v2026-09.json DELETE /crm/objects/2026-09/0-162/{serviceId}","href":"/api-reference/latest/crm/objects/services/delete-service"},{"group":"Lot","pages":[{"title":"Create a batch of services","openapi":"specs/2026-09/crm-services-v2026-09.json POST /crm/objects/2026-09/0-162/batch/create","href":"/api-reference/latest/crm/objects/services/batch/create-services"},{"title":"Read a batch of services by internal ID, or unique property values","openapi":"specs/2026-09/crm-services-v2026-09.json POST /crm/objects/2026-09/0-162/batch/read","href":"/api-reference/latest/crm/objects/services/batch/get-services"},{"title":"Update a batch of services by internal ID, or unique property values","openapi":"specs/2026-09/crm-services-v2026-09.json POST /crm/objects/2026-09/0-162/batch/update","href":"/api-reference/latest/crm/objects/services/batch/update-services"},{"title":"Create or update a batch of services by unique property values","openapi":"specs/2026-09/crm-services-v2026-09.json POST /crm/objects/2026-09/0-162/batch/upsert","href":"/api-reference/latest/crm/objects/services/batch/upsert-services"},{"title":"Archive a batch of services by ID","openapi":"specs/2026-09/crm-services-v2026-09.json POST /crm/objects/2026-09/0-162/batch/archive","href":"/api-reference/latest/crm/objects/services/batch/delete-services"}]},{"group":"Fusionner","pages":[{"title":"Merge two services","openapi":"specs/2026-09/crm-services-v2026-09.json POST /crm/objects/2026-09/services/merge","href":"/api-reference/latest/crm/objects/services/merge/merge-services"}]},{"group":"Rechercher","pages":[{"title":"Search across objects","openapi":"specs/2026-09/crm-services-v2026-09.json POST /crm/objects/2026-09/0-162/search","href":"/api-reference/latest/crm/objects/services/search/search-services"}]}]},{"group":"Taxes","pages":[{"title":"Taxes API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/taxes","href":"/api-reference/latest/crm/objects/taxes/guide"},{"title":"Create","openapi":"specs/2026-09/crm-taxes-v2026-09.json POST /crm/objects/2026-09/taxes","href":"/api-reference/latest/crm/objects/taxes/create-tax"},{"title":"Read","openapi":"specs/2026-09/crm-taxes-v2026-09.json GET /crm/objects/2026-09/taxes/{taxId}","href":"/api-reference/latest/crm/objects/taxes/get-tax"},{"title":"List","openapi":"specs/2026-09/crm-taxes-v2026-09.json GET /crm/objects/2026-09/taxes","href":"/api-reference/latest/crm/objects/taxes/get-taxes"},{"title":"Update","openapi":"specs/2026-09/crm-taxes-v2026-09.json PATCH /crm/objects/2026-09/taxes/{taxId}","href":"/api-reference/latest/crm/objects/taxes/update-tax"},{"title":"Archive","openapi":"specs/2026-09/crm-taxes-v2026-09.json DELETE /crm/objects/2026-09/taxes/{taxId}","href":"/api-reference/latest/crm/objects/taxes/delete-tax"},{"group":"Lot","pages":[{"title":"Create a batch of taxes","openapi":"specs/2026-09/crm-taxes-v2026-09.json POST /crm/objects/2026-09/taxes/batch/create","href":"/api-reference/latest/crm/objects/taxes/batch/create-taxes"},{"title":"Read a batch of taxes by internal ID, or unique property values","openapi":"specs/2026-09/crm-taxes-v2026-09.json POST /crm/objects/2026-09/taxes/batch/read","href":"/api-reference/latest/crm/objects/taxes/batch/get-taxes"},{"title":"Update a batch of taxes by internal ID, or unique property values","openapi":"specs/2026-09/crm-taxes-v2026-09.json POST /crm/objects/2026-09/taxes/batch/update","href":"/api-reference/latest/crm/objects/taxes/batch/update-taxes"},{"title":"Create or update a batch of taxes by unique property values","openapi":"specs/2026-09/crm-taxes-v2026-09.json POST /crm/objects/2026-09/taxes/batch/upsert","href":"/api-reference/latest/crm/objects/taxes/batch/upsert-taxes"},{"title":"Archive a batch of taxes by ID","openapi":"specs/2026-09/crm-taxes-v2026-09.json POST /crm/objects/2026-09/taxes/batch/archive","href":"/api-reference/latest/crm/objects/taxes/batch/delete-taxes"}]},{"group":"Rechercher","pages":[{"title":"Search for taxes using specified criteria.","openapi":"specs/2026-09/crm-taxes-v2026-09.json POST /crm/objects/2026-09/taxes/search","href":"/api-reference/latest/crm/objects/taxes/search/search-taxes"}]}]},{"group":"Tickets","pages":[{"title":"API du CRM | Tickets","sidebarTitle":"Tickets","href":"/api-reference/latest/crm/objects/tickets/guide"},{"title":"Ticket object definition","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/tickets/object-definition","href":"/api-reference/latest/crm/objects/tickets/object-definition"},{"title":"Create","openapi":"specs/2026-09/crm-tickets-v2026-09.json POST /crm/objects/2026-09/tickets","href":"/api-reference/latest/crm/objects/tickets/create-ticket"},{"title":"Read","openapi":"specs/2026-09/crm-tickets-v2026-09.json GET /crm/objects/2026-09/tickets/{ticketId}","href":"/api-reference/latest/crm/objects/tickets/get-ticket"},{"title":"List","openapi":"specs/2026-09/crm-tickets-v2026-09.json GET /crm/objects/2026-09/tickets","href":"/api-reference/latest/crm/objects/tickets/get-tickets"},{"title":"Merge two tickets","openapi":"specs/2026-09/crm-tickets-v2026-09.json POST /crm/objects/2026-09/tickets/merge","href":"/api-reference/latest/crm/objects/tickets/merge-tickets"},{"title":"Update","openapi":"specs/2026-09/crm-tickets-v2026-09.json PATCH /crm/objects/2026-09/tickets/{ticketId}","href":"/api-reference/latest/crm/objects/tickets/update-ticket-objectId"},{"title":"Update","openapi":"specs/2026-09/crm-tickets-v2026-09.json PATCH /crm/objects/2026-09/tickets/{ticketId}","href":"/api-reference/latest/crm/objects/tickets/update-ticket"},{"title":"Archive","openapi":"specs/2026-09/crm-tickets-v2026-09.json DELETE /crm/objects/2026-09/tickets/{ticketId}","href":"/api-reference/latest/crm/objects/tickets/delete-ticket"},{"group":"Lot","pages":[{"title":"Create a batch of tickets","openapi":"specs/2026-09/crm-tickets-v2026-09.json POST /crm/objects/2026-09/tickets/batch/create","href":"/api-reference/latest/crm/objects/tickets/batch/create-tickets"},{"title":"Read a batch of tickets by internal ID, or unique property values","openapi":"specs/2026-09/crm-tickets-v2026-09.json POST /crm/objects/2026-09/tickets/batch/read","href":"/api-reference/latest/crm/objects/tickets/batch/get-tickets"},{"title":"Update a batch of tickets by internal ID, or unique property values","openapi":"specs/2026-09/crm-tickets-v2026-09.json POST /crm/objects/2026-09/tickets/batch/update","href":"/api-reference/latest/crm/objects/tickets/batch/update-tickets"},{"title":"Create or update a batch of tickets by unique property values","openapi":"specs/2026-09/crm-tickets-v2026-09.json POST /crm/objects/2026-09/tickets/batch/upsert","href":"/api-reference/latest/crm/objects/tickets/batch/upsert-tickets"},{"title":"Archive a batch of tickets by ID","openapi":"specs/2026-09/crm-tickets-v2026-09.json POST /crm/objects/2026-09/tickets/batch/archive","href":"/api-reference/latest/crm/objects/tickets/batch/delete-tickets"}]},{"group":"Rechercher","pages":[{"title":"Search for tickets","openapi":"specs/2026-09/crm-tickets-v2026-09.json POST /crm/objects/2026-09/tickets/search","href":"/api-reference/latest/crm/objects/tickets/search/search-tickets"}]}]},{"group":"Utilisateurs","pages":[{"title":"Users API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/objects/users","href":"/api-reference/latest/crm/objects/users/guide"},{"title":"Create","openapi":"specs/2026-09/crm-users-v2026-09.json POST /crm/objects/2026-09/users","href":"/api-reference/latest/crm/objects/users/create-user"},{"title":"Read","openapi":"specs/2026-09/crm-users-v2026-09.json GET /crm/objects/2026-09/users/{userId}","href":"/api-reference/latest/crm/objects/users/get-user"},{"title":"List","openapi":"specs/2026-09/crm-users-v2026-09.json GET /crm/objects/2026-09/users","href":"/api-reference/latest/crm/objects/users/get-users"},{"title":"Update user","openapi":"specs/2026-09/crm-users-v2026-09.json PATCH /crm/objects/2026-09/users/{userId}","href":"/api-reference/latest/crm/objects/users/update-user"},{"title":"Archive","openapi":"specs/2026-09/crm-users-v2026-09.json DELETE /crm/objects/2026-09/users/{userId}","href":"/api-reference/latest/crm/objects/users/delete-user"},{"group":"Lot","pages":[{"title":"Create a batch of users","openapi":"specs/2026-09/crm-users-v2026-09.json POST /crm/objects/2026-09/users/batch/create","href":"/api-reference/latest/crm/objects/users/batch/create-users"},{"title":"Read a batch of users by internal ID, or unique property values","openapi":"specs/2026-09/crm-users-v2026-09.json POST /crm/objects/2026-09/users/batch/read","href":"/api-reference/latest/crm/objects/users/batch/get-users"},{"title":"Update a batch of users by internal ID, or unique property values","openapi":"specs/2026-09/crm-users-v2026-09.json POST /crm/objects/2026-09/users/batch/update","href":"/api-reference/latest/crm/objects/users/batch/update-users"},{"title":"Create or update a batch of users by unique property values","openapi":"specs/2026-09/crm-users-v2026-09.json POST /crm/objects/2026-09/users/batch/upsert","href":"/api-reference/latest/crm/objects/users/batch/upsert-users"},{"title":"Archive a batch of users by ID","openapi":"specs/2026-09/crm-users-v2026-09.json POST /crm/objects/2026-09/users/batch/archive","href":"/api-reference/latest/crm/objects/users/batch/delete-users"}]},{"group":"Rechercher","pages":[{"title":"Search for users based on specified criteria.","openapi":"specs/2026-09/crm-users-v2026-09.json POST /crm/objects/2026-09/users/search","href":"/api-reference/latest/crm/objects/users/search/search-users"}]}]}]},{"group":"Propriétaires","pages":[{"title":"API du CRM | Propriétaires","href":"/api-reference/latest/crm/owners/guide"},{"title":"Retrieve an owner","openapi":"specs/2026-09/crm-crm-owners-v2026-09.json GET /crm/owners/2026-09/{ownerId}","href":"/api-reference/latest/crm/owners/get-owner"},{"title":"Retrieve all owners","openapi":"specs/2026-09/crm-crm-owners-v2026-09.json GET /crm/owners/2026-09","href":"/api-reference/latest/crm/owners/get-owners"}]},{"group":"Pipelines","pages":[{"title":"API du CRM | Pipelines","href":"/api-reference/latest/crm/pipelines/guide"},{"title":"Create pipeline","openapi":"specs/2026-09/crm-pipelines-v2026-09.json POST /crm/pipelines/2026-09/{objectType}","href":"/api-reference/latest/crm/pipelines/create-pipeline"},{"title":"Retrieve pipeline","openapi":"specs/2026-09/crm-pipelines-v2026-09.json GET /crm/pipelines/2026-09/{objectType}/{pipelineId}","href":"/api-reference/latest/crm/pipelines/get-pipeline"},{"title":"Retrieve audit logs","openapi":"specs/2026-09/crm-pipelines-v2026-09.json GET /crm/pipelines/2026-09/{objectType}/{pipelineId}/audit","href":"/api-reference/latest/crm/pipelines/get-pipelines-audit"},{"title":"Retrieve pipelines","openapi":"specs/2026-09/crm-pipelines-v2026-09.json GET /crm/pipelines/2026-09/{objectType}","href":"/api-reference/latest/crm/pipelines/get-pipelines"},{"title":"Update pipeline (Partial)","openapi":"specs/2026-09/crm-pipelines-v2026-09.json PATCH /crm/pipelines/2026-09/{objectType}/{pipelineId}","href":"/api-reference/latest/crm/pipelines/partially-update-pipeline"},{"title":"Update pipeline (Replace)","openapi":"specs/2026-09/crm-pipelines-v2026-09.json PUT /crm/pipelines/2026-09/{objectType}/{pipelineId}","href":"/api-reference/latest/crm/pipelines/update-pipeline"},{"title":"Delete pipeline","openapi":"specs/2026-09/crm-pipelines-v2026-09.json DELETE /crm/pipelines/2026-09/{objectType}/{pipelineId}","href":"/api-reference/latest/crm/pipelines/delete-pipeline"},{"group":"Règles","pages":[{"title":"Pipeline Rules API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/pipelines/rules","href":"/api-reference/latest/crm/pipelines/rules/guide"},{"title":"Retrieve Approval","openapi":"specs/2026-09/crm-pipeline-governance-v2026-09.json GET /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}/approvals/{objectId}","href":"/api-reference/latest/crm/pipelines/rules/get-pipeline-approvals"},{"title":"Retrieve rules","openapi":"specs/2026-09/crm-pipeline-governance-v2026-09.json GET /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}","href":"/api-reference/latest/crm/pipelines/rules/get-pipeline-permissions"},{"title":"Retrieve permissions","openapi":"specs/2026-09/crm-pipeline-governance-v2026-09.json GET /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}/stage-edit-permissions","href":"/api-reference/latest/crm/pipelines/rules/get-pipeline-stage-permissions"},{"title":"Update rules (Partial)","openapi":"specs/2026-09/crm-pipeline-governance-v2026-09.json PATCH /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}","href":"/api-reference/latest/crm/pipelines/rules/partially-update-pipeline-rules"},{"title":"Start Approval","openapi":"specs/2026-09/crm-pipeline-governance-v2026-09.json POST /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}/approvals/start","href":"/api-reference/latest/crm/pipelines/rules/start-pipeline-approval"},{"title":"Update rules (Replace)","openapi":"specs/2026-09/crm-pipeline-governance-v2026-09.json PUT /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}","href":"/api-reference/latest/crm/pipelines/rules/update-pipeline-rules"},{"title":"Delete","openapi":"specs/2026-09/crm-pipeline-governance-v2026-09.json DELETE /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}","href":"/api-reference/latest/crm/pipelines/rules/delete-pipeline-rules"}]},{"group":"Phases","pages":[{"title":"Create Stage","openapi":"specs/2026-09/crm-pipelines-v2026-09.json POST /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages","href":"/api-reference/latest/crm/pipelines/stages/create-pipeline-stage"},{"title":"Retrieve stage","openapi":"specs/2026-09/crm-pipelines-v2026-09.json GET /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages/{stageId}","href":"/api-reference/latest/crm/pipelines/stages/get-pipeline-stage"},{"title":"Retrieve stage audit","openapi":"specs/2026-09/crm-pipelines-v2026-09.json GET /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages/{stageId}/audit","href":"/api-reference/latest/crm/pipelines/stages/get-pipelines-stage-audit"},{"title":"Update stage","openapi":"specs/2026-09/crm-pipelines-v2026-09.json PUT /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages/{stageId}","href":"/api-reference/latest/crm/pipelines/stages/update-pipeline-stage"},{"title":"Delete stage","openapi":"specs/2026-09/crm-pipelines-v2026-09.json DELETE /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages/{stageId}","href":"/api-reference/latest/crm/pipelines/stages/delete-pipeline-stage"}]}]},{"group":"Propriétés","pages":[{"title":"API du CRM | Propriétés","sidebarTitle":"Properties","href":"/api-reference/latest/crm/properties/guide"},{"title":"Create a property","openapi":"specs/2026-09/crm-properties-v2026-09.json POST /crm/properties/2026-09/{objectType}","href":"/api-reference/latest/crm/properties/create-property"},{"title":"Read all properties","openapi":"specs/2026-09/crm-properties-v2026-09.json GET /crm/properties/2026-09/{objectType}","href":"/api-reference/latest/crm/properties/get-properties"},{"title":"Read a property","openapi":"specs/2026-09/crm-properties-v2026-09.json GET /crm/properties/2026-09/{objectType}/{propertyName}","href":"/api-reference/latest/crm/properties/get-property"},{"title":"Access and manage Sensitive Data","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/properties/sensitive-data","href":"/api-reference/latest/crm/properties/sensitive-data"},{"title":"Update a property","openapi":"specs/2026-09/crm-properties-v2026-09.json PATCH /crm/properties/2026-09/{objectType}/{propertyName}","href":"/api-reference/latest/crm/properties/update-property"},{"title":"Archive a property","openapi":"specs/2026-09/crm-properties-v2026-09.json DELETE /crm/properties/2026-09/{objectType}/{propertyName}","href":"/api-reference/latest/crm/properties/delete-property"},{"group":"Lot","pages":[{"title":"Create a batch of properties","openapi":"specs/2026-09/crm-properties-v2026-09.json POST /crm/properties/2026-09/{objectType}/batch/create","href":"/api-reference/latest/crm/properties/batch/create-properties"},{"title":"Read a batch of properties","openapi":"specs/2026-09/crm-properties-v2026-09.json POST /crm/properties/2026-09/{objectType}/batch/read","href":"/api-reference/latest/crm/properties/batch/get-properties"},{"title":"Archive a batch of properties","openapi":"specs/2026-09/crm-properties-v2026-09.json POST /crm/properties/2026-09/{objectType}/batch/archive","href":"/api-reference/latest/crm/properties/batch/delete-properties"}]},{"group":"Groupes de propriétés","pages":[{"title":"Create a property group","openapi":"specs/2026-09/crm-properties-v2026-09.json POST /crm/properties/2026-09/{objectType}/groups","href":"/api-reference/latest/crm/properties/property-groups/create-property"},{"title":"Read all property groups","openapi":"specs/2026-09/crm-properties-v2026-09.json GET /crm/properties/2026-09/{objectType}/groups","href":"/api-reference/latest/crm/properties/property-groups/get-properties"},{"title":"Read a property group","openapi":"specs/2026-09/crm-properties-v2026-09.json GET /crm/properties/2026-09/{objectType}/groups/{groupName}","href":"/api-reference/latest/crm/properties/property-groups/get-property"},{"title":"Update a property group","openapi":"specs/2026-09/crm-properties-v2026-09.json PATCH /crm/properties/2026-09/{objectType}/groups/{groupName}","href":"/api-reference/latest/crm/properties/property-groups/update-property"},{"title":"Archive a property group","openapi":"specs/2026-09/crm-properties-v2026-09.json DELETE /crm/properties/2026-09/{objectType}/groups/{groupName}","href":"/api-reference/latest/crm/properties/property-groups/delete-property"}]}]},{"group":"Validations de propriétés","pages":[{"title":"Property Validations API","url":"https://developers.hubspot.com/docs/api-reference/latest/crm/property-validations","href":"/api-reference/latest/crm/property-validations/guide"},{"title":"Read validation rules for a property","openapi":"specs/2026-09/crm-property-validations-v2026-09.json GET /crm/property-validations/2026-09/{objectTypeId}/{propertyName}","href":"/api-reference/latest/crm/property-validations/get-property-validation"},{"title":"Retrieve a validation rule for a specific property and rule type, providing details on how property values should be formatted.","openapi":"specs/2026-09/crm-property-validations-v2026-09.json GET /crm/property-validations/2026-09/{objectTypeId}/{propertyName}/rule-type/{ruleType}","href":"/api-reference/latest/crm/property-validations/get-property-validations-ruleType"},{"title":"Read all property validation rules for an object","openapi":"specs/2026-09/crm-property-validations-v2026-09.json GET /crm/property-validations/2026-09/{objectTypeId}","href":"/api-reference/latest/crm/property-validations/get-property-validations"},{"title":"Update a validation rule for a specific property and rule type, allowing customization of property value constraints.","openapi":"specs/2026-09/crm-property-validations-v2026-09.json PUT /crm/property-validations/2026-09/{objectTypeId}/{propertyName}/rule-type/{ruleType}","href":"/api-reference/latest/crm/property-validations/update-property-validation"}]}]},{"group":"Data Studio","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/DataManagement.svg","pages":[{"group":"Ingestion de données","pages":[{"title":"Data source ingestion API","url":"https://developers.hubspot.com/docs/api-reference/latest/data-studio/datasource-ingestion","href":"/api-reference/latest/data-studio/datasource-ingestion/guide"},{"title":"Create data source","openapi":"specs/2026-09/data-studio-datasource-ingestion-v2026-09.json POST /data-studio/data-source/2026-09","href":"/api-reference/latest/data-studio/datasource-ingestion/create-datasource"},{"title":"Retrieve data source","openapi":"specs/2026-09/data-studio-datasource-ingestion-v2026-09.json GET /data-studio/data-source/2026-09/{datasourceId}","href":"/api-reference/latest/data-studio/datasource-ingestion/get-datasource"},{"title":"Update data source","openapi":"specs/2026-09/data-studio-datasource-ingestion-v2026-09.json PUT /data-studio/data-source/2026-09/{datasourceId}","href":"/api-reference/latest/data-studio/datasource-ingestion/update-datasource"},{"title":"Delete data source","openapi":"specs/2026-09/data-studio-datasource-ingestion-v2026-09.json DELETE /data-studio/data-source/2026-09/{datasourceId}","href":"/api-reference/latest/data-studio/datasource-ingestion/delete-datasource"}]}]},{"group":"Événements","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/DynamicFilter.svg","pages":[{"title":"API d'événements | Analytics d'événement","href":"/api-reference/latest/events/guide"},{"group":"Définir les événements","pages":[{"title":"Définir des événements personnalisés","sidebarTitle":"Custom event definitions","href":"/api-reference/latest/events/define-events/guide"},{"title":"Create an event definition","openapi":"specs/2026-09/events-manage-event-definitions-v2026-09.json POST /events/2026-09/event-definitions","href":"/api-reference/latest/events/define-events/create-event-definition"},{"title":"Create an event property","openapi":"specs/2026-09/events-manage-event-definitions-v2026-09.json POST /events/2026-09/event-definitions/{eventName}/property","href":"/api-reference/latest/events/define-events/create-event-property"},{"title":"Get an event definition","openapi":"specs/2026-09/events-manage-event-definitions-v2026-09.json GET /events/2026-09/event-definitions/{eventName}","href":"/api-reference/latest/events/define-events/get-event-definition"},{"title":"Get all event definitions","openapi":"specs/2026-09/events-manage-event-definitions-v2026-09.json GET /events/2026-09/event-definitions","href":"/api-reference/latest/events/define-events/get-event-definitions"},{"title":"Update an event definition","openapi":"specs/2026-09/events-manage-event-definitions-v2026-09.json PATCH /events/2026-09/event-definitions/{eventName}","href":"/api-reference/latest/events/define-events/update-event-definition"},{"title":"Update an event property","openapi":"specs/2026-09/events-manage-event-definitions-v2026-09.json PATCH /events/2026-09/event-definitions/{eventName}/property/{propertyName}","href":"/api-reference/latest/events/define-events/update-event-property"},{"title":"Delete an event definition","openapi":"specs/2026-09/events-manage-event-definitions-v2026-09.json DELETE /events/2026-09/event-definitions/{eventName}","href":"/api-reference/latest/events/define-events/delete-event-definition"},{"title":"Delete an event property","openapi":"specs/2026-09/events-manage-event-definitions-v2026-09.json DELETE /events/2026-09/event-definitions/{eventName}/property/{propertyName}","href":"/api-reference/latest/events/define-events/delete-event-property"}]},{"group":"Récupérer les événements","pages":[{"title":"Retrieve event types","openapi":"specs/2026-09/events-events-v2026-09.json GET /events/event-occurrences/2026-09/event-types","href":"/api-reference/latest/events/retrieve-events/get-event-types"},{"title":"Retrieve event occurrences","openapi":"specs/2026-09/events-events-v2026-09.json GET /events/event-occurrences/2026-09","href":"/api-reference/latest/events/retrieve-events/get-events"}]},{"group":"Envoyer les données d'événement","pages":[{"title":"Send custom event occurrences","url":"https://developers.hubspot.com/docs/api-reference/latest/events/send-event-data","href":"/api-reference/latest/events/send-event-data/guide"},{"title":"Send a batch of event occurrences","openapi":"specs/2026-09/events-send-event-completions-v2026-09.json POST /events/2026-09/send/batch","href":"/api-reference/latest/events/send-event-data/batch-send-occurrences"},{"title":"Send an event occurrence","openapi":"specs/2026-09/events-send-event-completions-v2026-09.json POST /events/2026-09/send","href":"/api-reference/latest/events/send-event-data/send-event-occurrence"}]}]},{"group":"Fichiers","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/FolderOpen.svg","pages":[{"title":"API du CMS | Gestionnaire de fichiers","sidebarTitle":"Files","href":"/api-reference/latest/files/guide"},{"group":"Fichiers","pages":[{"title":"Check import status","openapi":"specs/2026-09/files-files-v2026-09.json GET /files/2026-09/files/import-from-url/async/tasks/{taskId}/status","href":"/api-reference/latest/files/files/get-file-status"},{"title":"Import file from URL","openapi":"specs/2026-09/files-files-v2026-09.json POST /files/2026-09/files/import-from-url/async","href":"/api-reference/latest/files/files/import-from-url"},{"title":"Search files","openapi":"specs/2026-09/files-files-v2026-09.json GET /files/2026-09/files/search","href":"/api-reference/latest/files/files/search-files"}]},{"group":"Dossiers","pages":[{"title":"Check folder update status","openapi":"specs/2026-09/files-files-v2026-09.json GET /files/2026-09/folders/update/async/tasks/{taskId}/status","href":"/api-reference/latest/files/folders/get-folder-update-status"},{"title":"Search folders","openapi":"specs/2026-09/files-files-v2026-09.json GET /files/2026-09/folders/search","href":"/api-reference/latest/files/folders/search-folders"},{"title":"Update folder properties by folder ID","openapi":"specs/2026-09/files-files-v2026-09.json PATCH /files/2026-09/folders/{folderId}","href":"/api-reference/latest/files/folders/update-folder-folderId"}]}]},{"group":"Marketing","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/Marketing.svg","pages":[{"group":"Campagnes","pages":[{"title":"Campaigns API","url":"https://developers.hubspot.com/docs/api-reference/latest/marketing/campaigns","href":"/api-reference/latest/marketing/campaigns/guide"},{"title":"Clone a campaign","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json POST /marketing/campaigns/2026-09/clone","href":"/api-reference/latest/marketing/campaigns/clone-campaign"},{"title":"Create a campaign","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json POST /marketing/campaigns/2026-09","href":"/api-reference/latest/marketing/campaigns/create-campaign"},{"title":"Retrieve a campaign","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json GET /marketing/campaigns/2026-09/{campaignGuid}","href":"/api-reference/latest/marketing/campaigns/get-campaign"},{"title":"Retrieve campaigns","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json GET /marketing/campaigns/2026-09","href":"/api-reference/latest/marketing/campaigns/get-campaigns"},{"title":"Retrieve clone status","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json GET /marketing/campaigns/2026-09/clone/{campaignGuid}/status","href":"/api-reference/latest/marketing/campaigns/get-clone-status"},{"title":"Update a campaign","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json PATCH /marketing/campaigns/2026-09/{campaignGuid}","href":"/api-reference/latest/marketing/campaigns/update-campaign"},{"title":"Delete a campaign","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json DELETE /marketing/campaigns/2026-09/{campaignGuid}","href":"/api-reference/latest/marketing/campaigns/delete-campaign"},{"group":"Éléments","pages":[{"title":"Add asset","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json PUT /marketing/campaigns/2026-09/{campaignGuid}/assets/{assetType}/{assetId}","href":"/api-reference/latest/marketing/campaigns/assets/add-asset"},{"title":"Retrieve asset types","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json GET /marketing/campaigns/2026-09/asset-types","href":"/api-reference/latest/marketing/campaigns/assets/get-assets"},{"title":"Remove asset","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json DELETE /marketing/campaigns/2026-09/{campaignGuid}/assets/{assetType}/{assetId}","href":"/api-reference/latest/marketing/campaigns/assets/delete-asset"}]},{"group":"Lot","pages":[{"title":"Batch create campaigns","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json POST /marketing/campaigns/2026-09/batch/create","href":"/api-reference/latest/marketing/campaigns/batch/create-campaigns"},{"title":"Batch retrieve campaigns","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json POST /marketing/campaigns/2026-09/batch/read","href":"/api-reference/latest/marketing/campaigns/batch/get-campaigns"},{"title":"Batch update campaigns","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json POST /marketing/campaigns/2026-09/batch/update","href":"/api-reference/latest/marketing/campaigns/batch/update-campaigns"},{"title":"Batch archive campaigns","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json POST /marketing/campaigns/2026-09/batch/archive","href":"/api-reference/latest/marketing/campaigns/batch/delete-campaigns"}]},{"group":"Budget","pages":[{"title":"Add budget item","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json POST /marketing/campaigns/2026-09/{campaignGuid}/budget","href":"/api-reference/latest/marketing/campaigns/budget/create-budget-item"},{"title":"Retrieve budget item","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json GET /marketing/campaigns/2026-09/{campaignGuid}/budget/{budgetId}","href":"/api-reference/latest/marketing/campaigns/budget/get-budget-item"},{"title":"Retrieve budget details","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json GET /marketing/campaigns/2026-09/{campaignGuid}/budget/totals","href":"/api-reference/latest/marketing/campaigns/budget/get-budget-totals"},{"title":"Update budget item","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json PUT /marketing/campaigns/2026-09/{campaignGuid}/budget/{budgetId}","href":"/api-reference/latest/marketing/campaigns/budget/update-budget-item"},{"title":"Delete budget item","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json DELETE /marketing/campaigns/2026-09/{campaignGuid}/budget/{budgetId}","href":"/api-reference/latest/marketing/campaigns/budget/delete-budget-item"}]},{"group":"Rapports","pages":[{"title":"Retrieve contact IDs","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json GET /marketing/campaigns/2026-09/{campaignGuid}/reports/contacts/{contactType}","href":"/api-reference/latest/marketing/campaigns/reports/get-contact-ids"},{"title":"Retrieve metrics","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json GET /marketing/campaigns/2026-09/{campaignGuid}/reports/metrics","href":"/api-reference/latest/marketing/campaigns/reports/get-metrics"},{"title":"Retrieve revenue report","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json GET /marketing/campaigns/2026-09/{campaignGuid}/reports/revenue","href":"/api-reference/latest/marketing/campaigns/reports/get-revenue-report"}]},{"group":"Dépenses","pages":[{"title":"Create spend item","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json POST /marketing/campaigns/2026-09/{campaignGuid}/spend","href":"/api-reference/latest/marketing/campaigns/spend/create-spend-item"},{"title":"Retrieve spend Item","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json GET /marketing/campaigns/2026-09/{campaignGuid}/spend/{spendId}","href":"/api-reference/latest/marketing/campaigns/spend/get-spend-item"},{"title":"Update spend item","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json PUT /marketing/campaigns/2026-09/{campaignGuid}/spend/{spendId}","href":"/api-reference/latest/marketing/campaigns/spend/update-spend-item"},{"title":"Delete spend item","openapi":"specs/2026-09/marketing-campaigns-public-api-v2026-09.json DELETE /marketing/campaigns/2026-09/{campaignGuid}/spend/{spendId}","href":"/api-reference/latest/marketing/campaigns/spend/delete-spend-item"}]}]},{"group":"CTA","pages":[{"title":"Calls-to-action JavaScript API","url":"https://developers.hubspot.com/docs/api-reference/latest/marketing/ctas-sdk","href":"/api-reference/latest/marketing/ctas-sdk/guide"}]},{"group":"Formulaires","pages":[{"title":"Global form events","url":"https://developers.hubspot.com/docs/api-reference/latest/marketing/forms/global-form-events","href":"/api-reference/latest/marketing/forms/global-form-events"}]},{"group":"E-mails marketing","pages":[{"title":"Marketing API | Marketing Email","url":"https://developers.hubspot.com/docs/api-reference/latest/marketing/marketing-emails","href":"/api-reference/latest/marketing/marketing-emails/guide"},{"title":"Create an email","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json POST /marketing/emails/2026-09","href":"/api-reference/latest/marketing/marketing-emails/create-email"},{"title":"Retrieve emails","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json GET /marketing/emails/2026-09","href":"/api-reference/latest/marketing/marketing-emails/get-emails"},{"group":"E-mails","pages":[{"title":"Create an A/B test variation","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json POST /marketing/emails/2026-09/ab-test/create-variation","href":"/api-reference/latest/marketing/marketing-emails/emails/create-ab-variation"},{"title":"Clone a marketing email","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json POST /marketing/emails/2026-09/clone","href":"/api-reference/latest/marketing/marketing-emails/emails/create-clone"},{"title":"Get A/B test variation","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json GET /marketing/emails/2026-09/{emailId}/ab-test/get-variation","href":"/api-reference/latest/marketing/marketing-emails/emails/get-ab-variation"},{"title":"Get email draft","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json GET /marketing/emails/2026-09/{emailId}/draft","href":"/api-reference/latest/marketing/marketing-emails/emails/get-email-draft"},{"title":"Get the details of a specified marketing email","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json GET /marketing/emails/2026-09/{emailId}","href":"/api-reference/latest/marketing/marketing-emails/emails/get-email"},{"title":"Update a marketing email","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json PATCH /marketing/emails/2026-09/{emailId}","href":"/api-reference/latest/marketing/marketing-emails/emails/update-email"},{"title":"Delete a marketing email","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json DELETE /marketing/emails/2026-09/{emailId}","href":"/api-reference/latest/marketing/marketing-emails/emails/delete-email"}]},{"group":"Révisions","pages":[{"title":"Get a revision of a marketing email","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json GET /marketing/emails/2026-09/{emailId}/revisions/{revisionId}","href":"/api-reference/latest/marketing/marketing-emails/revisions/get-revision"},{"title":"Reset draft","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json POST /marketing/emails/2026-09/{emailId}/draft/reset","href":"/api-reference/latest/marketing/marketing-emails/revisions/reset-draft"},{"title":"Restore to draft","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json POST /marketing/emails/2026-09/{emailId}/revisions/{revisionId}/restore-to-draft","href":"/api-reference/latest/marketing/marketing-emails/revisions/reset-to-draft"},{"title":"Restore from revision","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json POST /marketing/emails/2026-09/{emailId}/revisions/{revisionId}/restore","href":"/api-reference/latest/marketing/marketing-emails/revisions/restore-from-revision"},{"title":"Update draft","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json PATCH /marketing/emails/2026-09/{emailId}/draft","href":"/api-reference/latest/marketing/marketing-emails/revisions/update-draft"}]},{"group":"Statistiques","pages":[{"title":"Get statistics histogram","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json GET /marketing/emails/2026-09/statistics/histogram","href":"/api-reference/latest/marketing/marketing-emails/statistics/get-histogram"},{"title":"Get aggregated statistics","openapi":"specs/2026-09/marketing-marketing-emails-v2026-09.json GET /marketing/emails/2026-09/statistics/list","href":"/api-reference/latest/marketing/marketing-emails/statistics/get-statistics"}]}]},{"group":"Événements marketing","pages":[{"title":"API marketing | Événements marketing","sidebarTitle":"Marketing events","href":"/api-reference/latest/marketing/marketing-events/guide"},{"title":"Create an event","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/events","href":"/api-reference/latest/marketing/marketing-events/create-event"},{"title":"Retrieve event by HubSpot ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json GET /marketing/marketing-events/2026-09/{objectId}","href":"/api-reference/latest/marketing/marketing-events/get-marketing-event-objectId"},{"title":"Retrieve event by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json GET /marketing/marketing-events/2026-09/events/{externalEventId}","href":"/api-reference/latest/marketing/marketing-events/get-marketing-event"},{"title":"Retrieve all events","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json GET /marketing/marketing-events/2026-09","href":"/api-reference/latest/marketing/marketing-events/get-marketing-events"},{"title":"Partially update event by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json PATCH /marketing/marketing-events/2026-09/events/{externalEventId}","href":"/api-reference/latest/marketing/marketing-events/update-event-externalId"},{"title":"Update event by HubSpot ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json PATCH /marketing/marketing-events/2026-09/{objectId}","href":"/api-reference/latest/marketing/marketing-events/update-event"},{"title":"Update event by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json PUT /marketing/marketing-events/2026-09/events/{externalEventId}","href":"/api-reference/latest/marketing/marketing-events/update-marketing-event"},{"title":"Delete event by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json DELETE /marketing/marketing-events/2026-09/events/{externalEventId}","href":"/api-reference/latest/marketing/marketing-events/delete-event-externalId"},{"title":"Delete event by HubSpot ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json DELETE /marketing/marketing-events/2026-09/{objectId}","href":"/api-reference/latest/marketing/marketing-events/delete-event"},{"group":"Présence","pages":[{"title":"Record attendance by contact ID and external event ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/attendance/{externalEventId}/{subscriberState}/create","href":"/api-reference/latest/marketing/marketing-events/attendance/set-attendance-contactId-externalId"},{"title":"Record attendance by participant email and external event ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/attendance/{externalEventId}/{subscriberState}/email-create","href":"/api-reference/latest/marketing/marketing-events/attendance/set-attendance-email-externalId"}]},{"group":"Lot","pages":[{"title":"Update events by HubSpot ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/batch/update","href":"/api-reference/latest/marketing/marketing-events/batch/update-marketing-events"},{"title":"Create or update events","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/events/upsert","href":"/api-reference/latest/marketing/marketing-events/batch/upsert-marketing-events"},{"title":"Delete events by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/events/delete","href":"/api-reference/latest/marketing/marketing-events/batch/delete-events-externalId"},{"title":"Delete events by HubSpot ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/batch/archive","href":"/api-reference/latest/marketing/marketing-events/batch/delete-marketing-events"}]},{"group":"Statut de l'événement","pages":[{"title":"Mark an event as canceled","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/events/{externalEventId}/cancel","href":"/api-reference/latest/marketing/marketing-events/event-status/set-event-canceled"}]},{"group":"Identifiants","pages":[{"title":"Get events by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json GET /marketing/marketing-events/2026-09/{externalEventId}/identifiers","href":"/api-reference/latest/marketing/marketing-events/identifiers/get-marketing-events-externalId"},{"title":"Search for events by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json GET /marketing/marketing-events/2026-09/events/search","href":"/api-reference/latest/marketing/marketing-events/identifiers/search-events"}]},{"group":"Associations de listes","pages":[{"title":"Associate a list by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json PUT /marketing/marketing-events/2026-09/associations/{externalAccountId}/{externalEventId}/lists/{listId}","href":"/api-reference/latest/marketing/marketing-events/list-associations/associate-list-externalId"},{"title":"Get associated lists by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json GET /marketing/marketing-events/2026-09/associations/{externalAccountId}/{externalEventId}/lists","href":"/api-reference/latest/marketing/marketing-events/list-associations/get-lists-externalId"},{"title":"Remove a list from an event by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json DELETE /marketing/marketing-events/2026-09/associations/{externalAccountId}/{externalEventId}/lists/{listId}","href":"/api-reference/latest/marketing/marketing-events/list-associations/remove-list-externalId"}]},{"group":"État du participant","pages":[{"title":"Retrieve participants by contact identifier","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json GET /marketing/marketing-events/2026-09/participations/contacts/{contactIdentifier}/breakdown","href":"/api-reference/latest/marketing/marketing-events/participant-state/get-participants-contactId"},{"title":"Retrieve participants by external ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json GET /marketing/marketing-events/2026-09/participations/{externalAccountId}/{externalEventId}","href":"/api-reference/latest/marketing/marketing-events/participant-state/get-participants-externalId"}]},{"group":"Paramètres","pages":[{"title":"Retrieve the application settings","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json GET /marketing/marketing-events/2026-09/{appId}/settings","href":"/api-reference/latest/marketing/marketing-events/settings/get-app-settings"},{"title":"Update the application settings","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/{appId}/settings","href":"/api-reference/latest/marketing/marketing-events/settings/update-app-settings"}]},{"group":"Changements d'état des abonnés","pages":[{"title":"Set subscriber state by contact ID","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/events/{externalEventId}/{subscriberState}/upsert","href":"/api-reference/latest/marketing/marketing-events/subscriber-state-changes/set-subscriber-state-contactId"},{"title":"Record a subscriber state by contact email","openapi":"specs/2026-09/marketing-marketing-events-v2026-09.json POST /marketing/marketing-events/2026-09/events/{externalEventId}/{subscriberState}/email-upsert","href":"/api-reference/latest/marketing/marketing-events/subscriber-state-changes/set-subscriber-state"}]}]},{"group":"E-mails transactionnels","pages":[{"title":"Transactional email API guide","url":"https://developers.hubspot.com/docs/api-reference/latest/marketing/transactional-emails","href":"/api-reference/latest/marketing/transactional-emails/guide"},{"title":"Send a transactional email","openapi":"specs/2026-09/marketing-transactional-single-send-v2026-09.json POST /marketing/transactional/2026-09/single-email/send","href":"/api-reference/latest/marketing/transactional-emails/create-transactional-email"}]}]},{"group":"Rendez-vous","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/Meetings.svg","pages":[{"group":"Outil de prise de notes","pages":[{"title":"Notetaker conversations recap API","url":"https://developers.hubspot.com/docs/api-reference/latest/meetings/notetaker","href":"/api-reference/latest/meetings/notetaker/guide"},{"title":"Retrieve conversation recap data","openapi":"specs/2026-09/crm-notetaker-conversation-recap-v2026-09.json GET /notetaker/2026-09/conversation/recap/{objectTypeId}/{objectId}","href":"/api-reference/latest/meetings/notetaker/get-conversation-recap"}]},{"group":"Planificateur","pages":[{"title":"Meetings scheduler API","url":"https://developers.hubspot.com/docs/api-reference/latest/meetings/scheduler","href":"/api-reference/latest/meetings/scheduler/guide"},{"group":"Calendrier","pages":[{"title":"Create a new calendar event for a meeting","openapi":"specs/2026-09/scheduler-meetings-v2026-09.json POST /scheduler/2026-09/meetings/calendar","href":"/api-reference/latest/meetings/scheduler/calendar/create-calendar-event"}]},{"group":"Rendez-vous","pages":[{"title":"Book Meeting","openapi":"specs/2026-09/scheduler-meetings-v2026-09.json POST /scheduler/2026-09/meetings/meeting-links/book","href":"/api-reference/latest/meetings/scheduler/meetings/create-meeting"},{"title":"Retrieve meeting links","openapi":"specs/2026-09/scheduler-meetings-v2026-09.json GET /scheduler/2026-09/meetings/meeting-links","href":"/api-reference/latest/meetings/scheduler/meetings/get-meeting-links"},{"title":"Retrieve booking info","openapi":"specs/2026-09/scheduler-meetings-v2026-09.json GET /scheduler/2026-09/meetings/meeting-links/book/{slug}","href":"/api-reference/latest/meetings/scheduler/meetings/get-meeting-slug"},{"title":"Retrieve availability","openapi":"specs/2026-09/scheduler-meetings-v2026-09.json GET /scheduler/2026-09/meetings/meeting-links/book/availability-page/{slug}","href":"/api-reference/latest/meetings/scheduler/meetings/get-availability"}]}]}]},{"group":"Chiffre d'affaires","icon":"https://www.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/Commerce.svg","pages":[{"group":"Comptes de paiement","pages":[{"title":"Payments accounts API","url":"https://developers.hubspot.com/docs/api-reference/latest/revenue/payment-accounts","href":"/api-reference/latest/revenue/payment-accounts/guide"},{"title":"Retrieve payment accounts status","openapi":"specs/2026-09/commerce-paymentsaccounts-v2026-09.json GET /commerce/payment-accounts/2026-09/status","href":"/api-reference/latest/revenue/payment-accounts/get-payment-account"}]},{"group":"Liens de paiement","pages":[{"title":"Payment links API","url":"https://developers.hubspot.com/docs/api-reference/latest/revenue/payment-links","href":"/api-reference/latest/revenue/payment-links/guide"},{"title":"Create a payment link","openapi":"specs/2026-09/commerce-payment-links-v2026-09.json POST /commerce/payment-links/2026-09/payment-links","href":"/api-reference/latest/revenue/payment-links/create-payment-link"},{"title":"Retrieve a payment link","openapi":"specs/2026-09/commerce-payment-links-v2026-09.json GET /commerce/payment-links/2026-09/payment-links/{paymentLinkId}","href":"/api-reference/latest/revenue/payment-links/get-payment-link"},{"title":"Retrieve payment links","openapi":"specs/2026-09/commerce-payment-links-v2026-09.json GET /commerce/payment-links/2026-09/payment-links","href":"/api-reference/latest/revenue/payment-links/get-payment-links"},{"title":"Update a payment link","openapi":"specs/2026-09/commerce-payment-links-v2026-09.json PATCH /commerce/payment-links/2026-09/payment-links/{paymentLinkId}","href":"/api-reference/latest/revenue/payment-links/update-payment-link"},{"title":"Delete a payment link","openapi":"specs/2026-09/commerce-payment-links-v2026-09.json DELETE /commerce/payment-links/2026-09/payment-links/{paymentLinkId}","href":"/api-reference/latest/revenue/payment-links/delete-payment-link"}]},{"group":"Catalogues de prix","pages":[{"title":"Price books API","url":"https://developers.hubspot.com/docs/api-reference/latest/revenue/price-books","href":"/api-reference/latest/revenue/price-books/guide"},{"title":"Activate a price book","openapi":"specs/2026-09/commerce-price-books-v2026-09.json POST /commerce/price-books/2026-09/price-books/{priceBookId}/activate","href":"/api-reference/latest/revenue/price-books/activate-price-book"},{"title":"Create a price book","openapi":"specs/2026-09/commerce-price-books-v2026-09.json POST /commerce/price-books/2026-09/price-books","href":"/api-reference/latest/revenue/price-books/create-price-book"},{"title":"Deactivate a price book","openapi":"specs/2026-09/commerce-price-books-v2026-09.json POST /commerce/price-books/2026-09/price-books/{priceBookId}/deactivate","href":"/api-reference/latest/revenue/price-books/deactivate-price-book"},{"title":"Retrieve a price book","openapi":"specs/2026-09/commerce-price-books-v2026-09.json GET /commerce/price-books/2026-09/price-books/{priceBookId}","href":"/api-reference/latest/revenue/price-books/get-price-book"},{"title":"Retrieve price books","openapi":"specs/2026-09/commerce-price-books-v2026-09.json GET /commerce/price-books/2026-09/price-books","href":"/api-reference/latest/revenue/price-books/get-price-books"},{"title":"Update a price book","openapi":"specs/2026-09/commerce-price-books-v2026-09.json PATCH /commerce/price-books/2026-09/price-books/{priceBookId}","href":"/api-reference/latest/revenue/price-books/update-price-book"},{"title":"Validate a price book","openapi":"specs/2026-09/commerce-price-books-v2026-09.json POST /commerce/price-books/2026-09/price-books/{priceBookId}/validate","href":"/api-reference/latest/revenue/price-books/validate-price-book"},{"title":"Delete a price book","openapi":"specs/2026-09/commerce-price-books-v2026-09.json DELETE /commerce/price-books/2026-09/price-books/{priceBookId}","href":"/api-reference/latest/revenue/price-books/delete-price-book"},{"group":"Éléments","pages":[{"title":"Add a product to a price book","openapi":"specs/2026-09/commerce-price-books-v2026-09.json POST /commerce/price-books/2026-09/price-books/{priceBookId}/items","href":"/api-reference/latest/revenue/price-books/items/add-product-to-price-book"},{"title":"Retrieve a price book item","openapi":"specs/2026-09/commerce-price-books-v2026-09.json GET /commerce/price-books/2026-09/price-books/{priceBookId}/items/{priceBookItemId}","href":"/api-reference/latest/revenue/price-books/items/get-price-book-item"},{"title":"Retrieve price book items","openapi":"specs/2026-09/commerce-price-books-v2026-09.json GET /commerce/price-books/2026-09/price-books/{priceBookId}/items","href":"/api-reference/latest/revenue/price-books/items/get-price-book-items"},{"title":"Update a price book item","openapi":"specs/2026-09/commerce-price-books-v2026-09.json PATCH /commerce/price-books/2026-09/price-books/{priceBookId}/items/{priceBookItemId}","href":"/api-reference/latest/revenue/price-books/items/update-price-book-item"},{"title":"Delete a price book item","openapi":"specs/2026-09/commerce-price-books-v2026-09.json DELETE /commerce/price-books/2026-09/price-books/{priceBookId}/items/{priceBookItemId}","href":"/api-reference/latest/revenue/price-books/items/delete-price-book-item"},{"group":"Lot","pages":[{"title":"Archive price book items","openapi":"specs/2026-09/commerce-price-books-v2026-09.json POST /commerce/price-books/2026-09/price-books/{priceBookId}/items/batch/archive","href":"/api-reference/latest/revenue/price-books/items/batch/batch-archive-price-book-items"},{"title":"Add products to a price book","openapi":"specs/2026-09/commerce-price-books-v2026-09.json POST /commerce/price-books/2026-09/price-books/{priceBookId}/items/batch/create","href":"/api-reference/latest/revenue/price-books/items/batch/batch-create-price-book-items"},{"title":"Update price book items","openapi":"specs/2026-09/commerce-price-books-v2026-09.json POST /commerce/price-books/2026-09/price-books/{priceBookId}/items/batch/update","href":"/api-reference/latest/revenue/price-books/items/batch/batch-update-price-book-items"}]}]}]}]},{"group":"Webhooks","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/SwitchDataSetField.svg","pages":[{"title":"Webhooks API guide","url":"https://developers.hubspot.com/docs/api-reference/latest/webhooks","href":"/api-reference/latest/webhooks/guide"},{"group":"Abonnements","pages":[{"title":"Create an event subscription","openapi":"specs/2026-09/webhooks-webhooks-v2026-09.json POST /app-webhooks/2026-09/{appId}/subscriptions","href":"/api-reference/latest/webhooks/subscriptions/create-webhook-appId"},{"title":"Read an event subscription","openapi":"specs/2026-09/webhooks-webhooks-v2026-09.json GET /app-webhooks/2026-09/{appId}/subscriptions/{subscriptionId}","href":"/api-reference/latest/webhooks/subscriptions/get-webhook-subscriptionId"},{"title":"Read webhook settings","openapi":"specs/2026-09/webhooks-webhooks-v2026-09.json GET /app-webhooks/2026-09/{appId}/settings","href":"/api-reference/latest/webhooks/subscriptions/get-webhooks-appId"},{"title":"Read event subscriptions","openapi":"specs/2026-09/webhooks-webhooks-v2026-09.json GET /app-webhooks/2026-09/{appId}/subscriptions","href":"/api-reference/latest/webhooks/subscriptions/get-webhooks-subscriptions"},{"title":"Update an event subscription","openapi":"specs/2026-09/webhooks-webhooks-v2026-09.json PATCH /app-webhooks/2026-09/{appId}/subscriptions/{subscriptionId}","href":"/api-reference/latest/webhooks/subscriptions/update-webhook-subscriptionId"},{"title":"Update webhook settings","openapi":"specs/2026-09/webhooks-webhooks-v2026-09.json PUT /app-webhooks/2026-09/{appId}/settings","href":"/api-reference/latest/webhooks/subscriptions/update-webhook"},{"title":"Delete webhook settings","openapi":"specs/2026-09/webhooks-webhooks-v2026-09.json DELETE /app-webhooks/2026-09/{appId}/settings","href":"/api-reference/latest/webhooks/subscriptions/delete-webhook-appId"},{"group":"Lot","pages":[{"title":"Batch create event subscriptions","openapi":"specs/2026-09/webhooks-webhooks-v2026-09.json POST /app-webhooks/2026-09/{appId}/subscriptions/batch/update","href":"/api-reference/latest/webhooks/subscriptions/batch/create-webhooks"}]}]}]},{"group":"Journal des webhooks","icon":"https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/developer/icons/webhook-journal-layers.svg","pages":[{"title":"Webhooks journal and management APIs (2026-09)","url":"https://developers.hubspot.com/docs/api-reference/latest/webhooks-journal","href":"/api-reference/latest/webhooks-journal/guide"},{"group":"Entrées au journal","pages":[{"title":"Webhook journal APIs","url":"https://developers.hubspot.com/docs/api-reference/latest/webhooks-journal/journal-entries","href":"/api-reference/latest/webhooks-journal/journal-entries/guide"},{"group":"Journal agrégé","pages":[{"title":"Get the earliest journal entry","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/journal/2026-09/earliest","href":"/api-reference/latest/webhooks-journal/journal-entries/aggregate/get-journal-earliest"},{"title":"Get journal status","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/journal/2026-09/status/{statusId}","href":"/api-reference/latest/webhooks-journal/journal-entries/aggregate/get-journal-status"},{"title":"Read journal entries in batch","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json POST /webhooks-journal/journal/2026-09/batch/read","href":"/api-reference/latest/webhooks-journal/journal-entries/aggregate/get-read"}]},{"group":"Journal local","pages":[{"title":"Get the earliest local journal entry","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/journal-local/2026-09/earliest","href":"/api-reference/latest/webhooks-journal/journal-entries/local/get-journal-local-earliest"},{"title":"Get the latest local journal entry","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/journal-local/2026-09/latest","href":"/api-reference/latest/webhooks-journal/journal-entries/local/get-journal-local-latest"},{"title":"Get the next local journal entry","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/journal-local/2026-09/offset/{offset}/next","href":"/api-reference/latest/webhooks-journal/journal-entries/local/get-journal-local-next"},{"title":"Get local journal status","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/journal-local/2026-09/status/{statusId}","href":"/api-reference/latest/webhooks-journal/journal-entries/local/get-journal-local-status"},{"group":"Lot","pages":[{"title":"Get the latest local journal entries in batch","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/journal-local/2026-09/batch/latest/{count}","href":"/api-reference/latest/webhooks-journal/journal-entries/local/batch/get-webhook-count"},{"title":"Get the earliest local journal entries in batch","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/journal-local/2026-09/batch/earliest/{count}","href":"/api-reference/latest/webhooks-journal/journal-entries/local/batch/get-webhook"},{"title":"Read local journal entries in batch","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json POST /webhooks-journal/journal-local/2026-09/batch/read","href":"/api-reference/latest/webhooks-journal/journal-entries/local/batch/get-webhooks"}]}]}]},{"group":"Instantanés","pages":[{"title":"Webhook CRM snapshots API","url":"https://developers.hubspot.com/docs/api-reference/latest/webhooks-journal/snapshots","href":"/api-reference/latest/webhooks-journal/snapshots/guide"},{"title":"Create CRM object snapshots","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json POST /webhooks-journal/snapshots/2026-09/crm","href":"/api-reference/latest/webhooks-journal/snapshots/create-webhook"}]},{"group":"Abonnements","pages":[{"title":"Webhooks journal management APIs (2026.03)","url":"https://developers.hubspot.com/docs/api-reference/latest/webhooks-journal/subscriptions","href":"/api-reference/latest/webhooks-journal/subscriptions/guide"},{"title":"Create a subscription filter","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json POST /webhooks-journal/subscriptions/2026-09/filters","href":"/api-reference/latest/webhooks-journal/subscriptions/create-filters"},{"title":"Create or update a subscription","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json POST /webhooks-journal/subscriptions/2026-09","href":"/api-reference/latest/webhooks-journal/subscriptions/create-subscription"},{"title":"Get a subscription filter","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/subscriptions/2026-09/filters/{filterId}","href":"/api-reference/latest/webhooks-journal/subscriptions/get-filter"},{"title":"Get filters for a subscription","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/subscriptions/2026-09/filters/subscription/{subscriptionId}","href":"/api-reference/latest/webhooks-journal/subscriptions/get-filters-by-subscription"},{"title":"Get all subscriptions","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json GET /webhooks-journal/subscriptions/2026-09","href":"/api-reference/latest/webhooks-journal/subscriptions/get-subscriptions"},{"title":"Update event subscriptions in batch","openapi":"specs/2026-09/webhooks-webhooks-v2026-09.json POST /app-webhooks/2026-09/{appId}/subscriptions/batch/update","href":"/api-reference/latest/webhooks-journal/subscriptions/update-webhooks"},{"title":"Delete a subscription filter","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json DELETE /webhooks-journal/subscriptions/2026-09/filters/{filterId}","href":"/api-reference/latest/webhooks-journal/subscriptions/delete-filter"},{"title":"Delete a subscription","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json DELETE /webhooks-journal/subscriptions/2026-09/{subscriptionId}","href":"/api-reference/latest/webhooks-journal/subscriptions/delete-subscription"},{"title":"Delete all subscriptions for an account","openapi":"specs/2026-09/webhooks-journal-webhooks-journal-v2026-09.json DELETE /webhooks-journal/subscriptions/2026-09/portals/{portalId}","href":"/api-reference/latest/webhooks-journal/subscriptions/delete-subscriptions-by-portal"}]}]}]},{"version":"2026-03","pages":[{"title":"2026-03","href":"/api-reference/2026-03/overview"}]},{"version":"Hérité","tag":"v1-v4","pages":[{"title":"Hérité","href":"/api-reference/legacy/overview"}]}]},{"tab":"Outils de développeur","pages":[{"title":"Outils de développeur","href":"/developer-tooling/overview"}]}]},"basePath":"","title":"Démarrer avec les fonctions sans serveur - HubSpot docs","deploymentId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","buildId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-TD6wszNR.js","lightbox-handle-r17bVUz3.js"]}