# need api to create thread for messages,for specific contact?

**URL:** <https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787>\
**Category:** CRM\
**Tags:** starter\
**Created:** [November 8, 2022, 12:01pm UTC](https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787 "2022-11-08T12:01:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![TKucur](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@TKucur](https://community.hubspot.com/u/TKucur)\
**Post date:** [November 8, 2022, 12:01pm UTC](https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787/1 "2022-11-08T12:01:37Z")

</div>

hello

I could be able to create contact from hubspot api. cool.

I would like to create thread via api, belong to specific contact. so I will create messages, via api as well.

how could I create thread via api?

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [November 8, 2022, 2:16pm UTC](https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787/2 "2022-11-08T14:16:11Z")

</div>

Hi @TKucur,

Thank you for reaching out to the Community!

Just to confirm, you’d like to create messages (logged emails) on contacts’ CRM records with the help of the API?

If that’s the case, you can use the Engagements API! You’ll find detailed instructions[in this help article](https://developers.hubspot.com/docs/api/crm/email).

I hope this helps!

Cheers  
Mia, Community Team

---

<div class="post-metadata">

**Author:** ![TKucur](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@TKucur](https://community.hubspot.com/u/TKucur)\
**Post date:** [November 11, 2022, 12:06pm UTC](https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787/3 "2022-11-11T12:06:38Z")

</div>

Dear mia

I researched engagements api.

I created contact from apis and can be able to view in hubspot, ver well.

my aim is , I want to create message(s) based on that contact.

before creating message, I think, I have to create thread. after that, I have to create messages belonging that thread. but thread does not have userId(s) .

I am little bit confused with the architecture.

could you tell me the right way to have api(s) to create the messages for the contact I have just created?

---

<div class="post-metadata">

**Author:** ![AndyTurjansky](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@AndyTurjansky](https://community.hubspot.com/u/AndyTurjansky)\
**Post date:** [December 17, 2023, 8:23pm UTC](https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787/4 "2023-12-17T20:23:40Z")

</div>

How do you solve this?

---

<div class="post-metadata">

**Author:** ![TKucur](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@TKucur](https://community.hubspot.com/u/TKucur)\
**Post date:** [November 10, 2022, 1:40pm UTC](https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787/5 "2022-11-10T13:40:16Z")

</div>

Dear Mia,

actualy, email messages, whatsapp messages, facebook messenger messages, linkedin messages, chat messages, not problem.

I would like to be shown the messages of the contact I have just created, in the hubspot.

okay, I will try engagements api.

by the way, you are beautiful!

---

<div class="post-metadata">

**Author:** ![TKucur](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@TKucur](https://community.hubspot.com/u/TKucur)\
**Post date:** [November 15, 2022, 6:17am UTC](https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787/6 "2022-11-15T06:17:14Z")

</div>

anybody answering?

---

<div class="post-metadata">

**Author:** ![TKucur](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@TKucur](https://community.hubspot.com/u/TKucur)\
**Post date:** [November 15, 2022, 12:47pm UTC](https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787/7 "2022-11-15T12:47:22Z")

</div>

I am waiting

---

<div class="post-metadata">

**Author:** ![TKucur](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@TKucur](https://community.hubspot.com/u/TKucur)\
**Post date:** [November 15, 2022, 12:48pm UTC](https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787/8 "2022-11-15T12:48:05Z")

</div>

I am waiting

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [November 15, 2022, 1:51pm UTC](https://community.hubspot.com/t/need-api-to-create-thread-for-messages-for-specific-contact/68787/9 "2022-11-15T13:51:06Z")

</div>

Hi @TKucur,

I apologize for the late reply!

I’ve noticed that you[created a new post](https://community.hubspot.com/t5/CRM/how-to-create-messages-via-api-belonging-the-contact-just/m-p/718035) – I’ve tagged a couple of API experts there and asked them for advice as I’m not very familiar with APIs. I hope that’s alright!

Have a great day

Mia, Community team
