Hi,
I am trying to use
POST /api/v2/conversations/chats/{conversationId}/communications/{communicationId}/messages
as per the documention > https://developer.genesys.cloud/commdigital/digital/webchat/agentchat.
But I am getting a 404 not found error in the API explorer. I'm trying to find the communicationId from the GET /api/v2/conversations/{conversationId} API but none of the id's work.
These are the steps I was performing:
- Send a chat to a queue
- Received the chat message by myself as an agent
- In the API explorer (user is the same as the agent), I retrieved communicationId from this API> GET /api/v2/conversations/{conversationId}. I took the id from participant (agent) obect > "chats"
- Execute POST /api/v2/conversations/chats/{conversationId}/communications/{communicationId}/messages from the API explorer
Result was 404 NOT Found
I tried all the id's that I can get under the participant object but all resulted to 404. Can you please let me know what am I doing wrong?