APIs & Integrations

DlKayman
Participant

My contacts are being created without the sent properties

SOLVE

Hi,

I'm trying to create some contacts using this endpoint:

/crm/v3/objects/contacts

I got a success message, however any property sent is being registered, when I check the contacts, they are there, but wihout any information, just an empty contact:

property.png

Any idea what I'm doing wrong here ?

Thanks!

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

My contacts are being created without the sent properties

SOLVE

@DlKayman, I believe you need to wrap the properties into a properties object

eg:

{
  "properties": {
    "company": "Biglytics",
    "email": "bcooper@biglytics.net",
    "firstname": "Bryan",
    "lastname": "Cooper",
    "phone": "(877) 929-0687",
    "website": "biglytics.net"
  }
}

View solution in original post

2 Replies 2
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

My contacts are being created without the sent properties

SOLVE

@DlKayman, I believe you need to wrap the properties into a properties object

eg:

{
  "properties": {
    "company": "Biglytics",
    "email": "bcooper@biglytics.net",
    "firstname": "Bryan",
    "lastname": "Cooper",
    "phone": "(877) 929-0687",
    "website": "biglytics.net"
  }
}
DlKayman
Participant

My contacts are being created without the sent properties

SOLVE

Thank you very much, @dennisedson !