There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API keys are no longer a supported authentication method for accessing HubSpot APIs. Instead, you should use a private app access token or OAuth to authenticate API calls. Learn more about this change and how to migrate an API key integration to use a private app instead.

How do I set multiple values for checkbox properties?

When setting multiple values for a checkox property, the values should be separated with a semicolon (;).
'value1;value2;value5'

When updating a record through the Contacts API, the property value should be a single string with all of the values separated by semicolons:

{
    "property": "property_name",
    "value": "value1;value3;value4"
},

 

For the Forms API, make sure that the semicolons are also URL encoded:

...&property_name=value1%3Bvalue2%3Bvalue4