Hubspot API Not Recognizing State/ Region Attribute

31 Views Asked by At

I am trying to set the State/Region when creating a contact via the REST API. All the other fields are populated except for State/Region.

What is the correct name of this attribute?

Here is the post:

curl --location --request POST 'https://fbamembers.com/hubspot-contact/$ownerkey' --form 'first-name="Joe"' --form 'last-name="Smith"' --form 'email="[email protected]"' --form 'phone="1234567890"'--form 'state-region="NY"' --form 'liquid-capital="60000"'

Here is the response:

{"success":true}curl: (6) Could not resolve host: state-region="NY"
0

There are 0 best solutions below