I can't create appointments by API

Hi, I’m trying to create a new appointment through API with a N8N http request. The private app I use through have the right scope on that appointment object.

I’m using the endoint

https://api.hubapi.com/crm/v3/objects/0-421 with POST

0-421 being the object type for appointments in the doc

In that same doc, it says the only mandatory field is hs_appointment_start field, which is a datetime field, so Hubspot is expecting a unixms date (I pushed “1752044376394”)
Doing so I get the following error
400 - “{\“status\”:\“error\”,\“message\”:\“Error creating APPOINTMENT. Some required properties were not set.\”,\“correlationId\”:\“3e647ca4-548f-48f2-92e3-63b846642580\”,\“context\”:{\“properties\”:[\“hs_appointment_start\”]},\“category\”:\“VALIDATION_ERROR\”}”

What I understand is that HS is not happy with thehs_appointment_start format. I tried all other possible format but I get the same error.

What’s up ?

Hi @DBusch,

Please check this note in above doc you mention

Yes I did, I renamed it Intent & Signals but I dont expect to change the internal name that remains appointment

Can you try with just this payload?

{
 "properties": {
 "hs_appointment_start": "2025-07-10T15:00:00Z"
 }
}

If you still have doubts that the internal name might have changed, please verify the internal name(i.e. “0-421”) in the url bar of browser.

Yep, same, and I confirm that the type has not changed

Your body is not correct please try just copy paste with this payload

{
 "properties": {
 "hs_appointment_start": "2025-07-10T15:00:00Z"
 }
}

OK raw JSON is actually working, with both datetime format.

Thanks a lot for your help !