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
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"
}
No one has replied to this post quite yet. Check back soon to see if someone has a solution, or submit your own reply if you know how to help! Karma is real.