# Facing issue when use conversation api

**URL:** <https://community.hubspot.com/t/facing-issue-when-use-conversation-api/84361>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [June 29, 2023, 9:42am UTC](https://community.hubspot.com/t/facing-issue-when-use-conversation-api/84361 "2023-06-29T09:42:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![VSharma96](https://avatars.discourse-cdn.com/v4/letter/v/f05b48/32.png) [@VSharma96](https://community.hubspot.com/u/VSharma96)\
**Post date:** [June 29, 2023, 9:42am UTC](https://community.hubspot.com/t/facing-issue-when-use-conversation-api/84361/1 "2023-06-29T09:42:04Z")

</div>

I want to use hubspot conversation api . But when i use this api “[https://api.hubapi.com/conversations/v3/conversations/](https://api.hubapi.com/conversations/v3/conversations/)” Then i am getting response like this . "

\<html\>

\<head\>

```
\<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

\<title>Error 404 Not Found\</title>

```

\</head\>

\<body\>

```
\<h2>HTTP ERROR 404\</h2>

\<p>Resource not found\</p>

```

\</body\>

\</html\>

---

<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:** [June 29, 2023, 1:34pm UTC](https://community.hubspot.com/t/facing-issue-when-use-conversation-api/84361/2 "2023-06-29T13:34:08Z")

</div>

Hi @VSharma96

Here are a few things you can check to troubleshoot the issue:

**API Endpoint:** Ensure that the endpoint URL you are using is correct. Double-check the spelling and ensure that it matches the API documentation for the Conversations API.

**Authentication:** Make sure you are properly authenticated and authorized to access the Conversations API. Check that you are including the necessary authentication headers or parameters in your API request.

**Permission Settings:** Verify that the user associated with the API key or access token you are using has the appropriate permissions to access the Conversations API and retrieve the desired resource. This includes checking both the user-level and app-level permissions.

**Resource ID:** If you are trying to retrieve a specific conversation, ensure that you are including the correct conversation ID in the API endpoint URL. Without a valid ID, the API may return a 404 error.

**API Version:** Confirm that you are using the correct API version in the endpoint URL. HubSpot periodically updates their APIs, so it’s important to use the appropriate version to access the desired resources.

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

Thanks!

---

<div class="post-metadata">

**Author:** ![VSharma96](https://avatars.discourse-cdn.com/v4/letter/v/f05b48/32.png) [@VSharma96](https://community.hubspot.com/u/VSharma96)\
**Post date:** [June 30, 2023, 12:35pm UTC](https://community.hubspot.com/t/facing-issue-when-use-conversation-api/84361/3 "2023-06-30T12:35:18Z")

</div>

Thanks man for your reply.

Everything is check properly but i want to ask one thing from you that what permissions i have to give my apps before using conversation api’s . Because i don’t any type of particular permissions for conversations. If it’s possible then please describe. I think am facing issue with only this problem.

---

<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:** [June 30, 2023, 1:19pm UTC](https://community.hubspot.com/t/facing-issue-when-use-conversation-api/84361/4 "2023-06-30T13:19:18Z")

</div>

Hi @VSharma96

The 404 error indicates that the requested resource was not found on the server. To use the HubSpot Conversations API successfully, make sure you are using the correct endpoint and providing the necessary parameters. Here’s an example code snippet using the Python `requests` library to make a GET request to the Conversations API:

```python  
import requests

api\_key = ‘YOUR\_API\_KEY’  
url = ‘[https://api.hubapi.com/conversations/v3/conversations/](https://api.hubapi.com/conversations/v3/conversations/)’

headers = {  
‘Authorization’: f’Bearer {api\_key}’  
}

response = requests.get(url, headers=headers)

if response.status\_code == 200:  
# Successful request  
data = response.json()  
# Process the response data as needed  
print(data)  
else:  
# Request failed  
print(f"Error {response.status\_code}: {response.text}")  
```

Make sure to replace `‘YOUR_API_KEY’` with your actual HubSpot API key. Additionally, ensure that you have the necessary permissions and access to use the Conversations API.

I hope this would help you out

---

<div class="post-metadata">

**Author:** ![VSharma96](https://avatars.discourse-cdn.com/v4/letter/v/f05b48/32.png) [@VSharma96](https://community.hubspot.com/u/VSharma96)\
**Post date:** [June 30, 2023, 1:31pm UTC](https://community.hubspot.com/t/facing-issue-when-use-conversation-api/84361/5 "2023-06-30T13:31:38Z")

</div>

Yes . i understand your point but i tested this api in postman.

When we create app then we give permission in scope right.. So I want to know that is there any necessary permission are required to use the conversation api or not.

If it’s necessary then you please tell me what is that scope..

Actually am beginner at hubspot api

---

<div class="post-metadata">

**Author:** ![VSharma96](https://avatars.discourse-cdn.com/v4/letter/v/f05b48/32.png) [@VSharma96](https://community.hubspot.com/u/VSharma96)\
**Post date:** [July 1, 2023, 7:08am UTC](https://community.hubspot.com/t/facing-issue-when-use-conversation-api/84361/6 "2023-07-01T07:08:43Z")

</div>

Can you please provide me a solution…

---

<div class="post-metadata">

**Author:** ![TGreen35](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@TGreen35](https://community.hubspot.com/u/TGreen35)\
**Post date:** [October 25, 2023, 9:00pm UTC](https://community.hubspot.com/t/facing-issue-when-use-conversation-api/84361/7 "2023-10-25T21:00:39Z")

</div>

Hey guys, wondering if the conversations api is down right now? I am trying to hit this endpoint:  
const apiUrl = `[https://api.hubapi.com/conversations/v3/conversations/threads/${threadId}/messages\`](https://api.hubapi.com/conversations/v3/conversations/threads/$%7BthreadId%7D/messages%5C%60);  
and I’m getting a 404 not found error. I haven’t changed anything in my code, and my axios get request has been working for the past two months without fail, is the api just down temporarily? I noticed that the conversations api is still in beta.
