Developer Announcements

dennisedson
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Breaking Change for v3 Lists API Beta

The v3 Lists API beta currently accepts both integers and strings for the ID of public folders used for list segmentation and returns the ID as an integer. We will be updating the IDs to use only strings in order to conform to the HubSpot specifications.  This will go into effect on April 28th, 2025

dennisedson_0-1740497839728.gif

What’s Changing

Currently, you can format a public folder ID as either an integer (INT) or a STRING in your request body.  Going forward, only strings will be accepted.  Furthermore, when getting a response, you should expect to see a string rather than an integer.  

 

Example JSON body of a POST request:

{
"parentFolderId": "139565122",
"name": "Folder of Doom"
}

 

Example JSON body of a response:

{
   "folder": {
       "name": "Folder of Doom",
       "id": "139410347",
       "parentFolderId": "139565122",
       "childLists": [],
       "createdAt": "2025-02-12T19:36:54.021Z",
       "updatedAt": "2025-02-12T19:36:54.021Z",
       "updatedContentsAt": "2025-02-12T19:36:54.021Z",
       "userId": 11176268,
       "childNodes": []
   }
}

 

When is it happening?

This change goes into effect on April 28th, 2025.

 

0 Réponses

0 Réponses

Aucune réponse publiée pour l'instant

Personne n'a encore répondu à ce post. Revenez plus tard pour voir si une solution a été proposée, ou soumettez votre propre réponse pour aider d'autres utilisateurs.

Répondre à ce post

Si vous avez besoin d'aide pour publier une réponse, consultez la politique d'utilisation de la communauté.