# I can't create appointments by API

**URL:** <https://community.hubspot.com/t/i-cant-create-appointments-by-api/135892>\
**Category:** CRM\
**Tags:** integrations\
**Created:** [July 9, 2025, 7:02am UTC](https://community.hubspot.com/t/i-cant-create-appointments-by-api/135892 "2025-07-09T07:02:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DBusch](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@DBusch](https://community.hubspot.com/u/DBusch)\
**Post date:** [July 9, 2025, 7:02am UTC](https://community.hubspot.com/t/i-cant-create-appointments-by-api/135892/1 "2025-07-09T07:02:44Z")

</div>

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](https://api.hubapi.com/crm/v3/objects/0-421) with POST

0-421 being the object type for appointments in the [doc](https://developers.hubspot.com/docs/guides/api/crm/using-object-apis)

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 ?

---

<div class="post-metadata">

**Author:** ![mohdisrarmwb](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@mohdisrarmwb](https://community.hubspot.com/u/mohdisrarmwb)\
**Post date:** [July 9, 2025, 9:11am UTC](https://community.hubspot.com/t/i-cant-create-appointments-by-api/135892/2 "2025-07-09T09:11:55Z")

</div>

Hi @DBusch,

Please check this note in above doc you mention

 ![mohdisrarmwb_0-1752052285149.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/6/664c9c35faa5e949414771389e92d2e7dfa87884.png)

---

<div class="post-metadata">

**Author:** ![DBusch](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@DBusch](https://community.hubspot.com/u/DBusch)\
**Post date:** [July 9, 2025, 9:29am UTC](https://community.hubspot.com/t/i-cant-create-appointments-by-api/135892/3 "2025-07-09T09:29:51Z")

</div>

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

 ![DBusch_0-1752053362087.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/a/2abfad313132aae6e155daad11be89b6558289fe.png)

---

<div class="post-metadata">

**Author:** ![mohdisrarmwb](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@mohdisrarmwb](https://community.hubspot.com/u/mohdisrarmwb)\
**Post date:** [July 10, 2025, 6:45am UTC](https://community.hubspot.com/t/i-cant-create-appointments-by-api/135892/4 "2025-07-10T06:45:07Z")

</div>

Can you try with just this payload?

```lia-code-sample
{
 "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.

 ![Screenshot from 2025-07-10 12-08-34_spotlight.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/664b06771121191f660029744f6bb906592d5531.png)

---

<div class="post-metadata">

**Author:** ![DBusch](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@DBusch](https://community.hubspot.com/u/DBusch)\
**Post date:** [July 10, 2025, 9:46am UTC](https://community.hubspot.com/t/i-cant-create-appointments-by-api/135892/5 "2025-07-10T09:46:04Z")

</div>

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

 ![DBusch_0-1752140704053.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/c/c3d450c98bce4876d572ed17b238a4d891b192fd.png)

 ![DBusch_1-1752140729072.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7d8cefb63fe7e9536caffef7517ad4ede7d5f0cb.png)

---

<div class="post-metadata">

**Author:** ![mohdisrarmwb](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@mohdisrarmwb](https://community.hubspot.com/u/mohdisrarmwb)\
**Post date:** [July 10, 2025, 11:37am UTC](https://community.hubspot.com/t/i-cant-create-appointments-by-api/135892/6 "2025-07-10T11:37:05Z")

</div>

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

```lia-code-sample
{
 "properties": {
 "hs_appointment_start": "2025-07-10T15:00:00Z"
 }
}

```

---

<div class="post-metadata">

**Author:** ![DBusch](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@DBusch](https://community.hubspot.com/u/DBusch)\
**Post date:** [July 11, 2025, 6:53am UTC](https://community.hubspot.com/t/i-cant-create-appointments-by-api/135892/7 "2025-07-11T06:53:54Z")

</div>

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

Thanks a lot for your help !
