Hi!
I am using Freshchat API token (https://personal-70177.freshchat.com/) for creating my custom channel integration. In general everything worked well, but now…
For my custom channel incoming messages:
- Create user: POST https://api.eu.freshchat.com/v2/users and get user ID – OK.
- Send message: POST https://api.eu.freshchat.com/v2/conversations and get conversation ID (85757e8d-a254-4a92-b209-ac010fbda347) – OK.
For my custom channel outgoing messages:
- Get conversation by ID: GET https://api.eu.freshchat.com/v2/conversations/85757e8d-a254-4a92-b209-ac010fbda347/ – OK – returned ID 85757e8d-a254-4a92-b209-ac010fbda347.
- Get conversation messages: GET https://api.eu.freshchat.com/v2/conversations/85757e8d-a254-4a92-b209-ac010fbda347/messages?items_per_page=50 – FAILED – No conversation available for the given conversationId
It is important that this error only with some conversions. What is this error? Is this a bug or a feature?)
it is also interesting that I have a webhook configured and it sends me events with this conversation ID, but I can not get messages by this conversation ID.
Thank you!