We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Jan 21, 2022 12:54 AM
Following the example for using the contacts API I pass in the following body:
{
"email": "bcooper@biglytics.net",
"firstname": "Bryan",
"lastname": "Cooper",
"phone": "(877) 929-0687",
"website": "biglytics.net"
}
It creates a new contact, but all details of the new contact are blank. What's going wrong there?
Jan 24, 2022 3:05 PM
Yes I did, but just noticed a phantom space was in there too, which caused it. I had expected that maybe the API would throw an error instead of creating a blank contact.
Thanks Dennis
Jan 24, 2022 10:28 AM
Did you enclose those properties in the properties object?
{
"properties": {
email....
firstname....
}
}
![]() | Make sure to subscribe to our YouTube channel where you can find the HubSpot Community Developer Show |