Freshchat - ConversationID

Am trying to understand the Freshchat API.
Have been taught that the conversationID is listed afterwards in the query from other Fresh products
e.g. conversation/12345678 where the ID is 12345678

But only get this as response:

{
    "code": 404,
    "status": "CONVERSATION_NOT_FOUND",
    "message": "Conversation Not Found"
}

However from the documentation I see that
“Identifier of the conversation object. This is an auto-generated value.”
and that the url is different with:
"com/v2/conversations/8a076d71-3e46-4309-8e98-2fbdbab2e64f ".

Am trying to use the endpoint => POST /v2/conversations/{conversation_id}/messages

Whoops…forgot one thing

Am able to get the endpoint /channels to work with a 200 response back. So token is working as expected.
Have also tried to just get a GET based on the conversationID but am getting this error message then as well.

{
    "code": 404,
    "status": "CONVERSATION_NOT_FOUND",
    "message": "Conversation Not Found"
}

@Saif
Could you have a look at this above for us?

@Ansfs91 Were you able to list the conversations in the product UI?

Hi

Yeah we did manage to solve it after some time :slight_smile: :heart:

1 Like

Great to hear, @Ansfs91

Could you share the steps that help you solve it? We can make it easy for the next developer to discover your solution.