# How to make a PUT/PATCH API call via Conversations API

**URL:** <https://community.hubspot.com/t/how-to-make-a-put-patch-api-call-via-conversations-api/95270>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [December 3, 2023, 5:22pm UTC](https://community.hubspot.com/t/how-to-make-a-put-patch-api-call-via-conversations-api/95270 "2023-12-03T17:22:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stractest](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@stractest](https://community.hubspot.com/u/stractest)\
**Post date:** [December 3, 2023, 5:22pm UTC](https://community.hubspot.com/t/how-to-make-a-put-patch-api-call-via-conversations-api/95270/1 "2023-12-03T17:22:13Z")

</div>

Hi,  
I have a use case to update a message content within a conversation thread via the Conversations API so that certain sensitive texts/attachments could be masked.

From the developer documentation, I don’t see any endpoints to make a PUT/PATCH call. Is this feature in the pipeline for release? When would it be public?  
If not, is there any recommendations on how one could address the use case to update a message content within a conversation thread via the Conversations API? Maybe thread deletion and recreation after masking but there’s no API for that either.

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [December 4, 2023, 12:25pm UTC](https://community.hubspot.com/t/how-to-make-a-put-patch-api-call-via-conversations-api/95270/2 "2023-12-04T12:25:09Z")

</div>

Hi @stractest

Yes, as you have mentioned this is in pipeline, but you test your query with this curl:

curl --request PATCH \  
--url [https://api.hubapi.com/conversations/v3/conversations/threads/](https://api.hubapi.com/conversations/v3/conversations/threads/) \  
--header ‘authorization: Bearer YOUR\_ACCESS\_TOKEN’ \  
--header ‘content-type: application/json’ \  
--data ‘{  
“archived”: true,  
“status”: “OPEN”  
}’

And you can refer to the screenshot attached

 ![GRajput_0-1701692650245.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/4/e40595c2eb6dd3d7e5fb52442a42bca7a8b83b30.jpeg)

Hope this will helps you out. Please mark it as **Solution Accepted & Upvote** to help other Community member.  
Thanks!
