idMemberChat in web service

I am consuming the service api/v2/webchat/guest/conversations/{chat}/members/{idMemberChat}/message but I have the doubt if the idMemberChat that I must send is the client or the agent to whom I want to send the message.

  • When I carry out the tests and send the agentId, it returns error 403 (as indicated on the page that I do not have authorization to send “You are not authorized to perform the requested action”).
  • When I send the id of the connected client, the message arrives at the Agent but it is also received in the WebSocket so I do not know if it is correct, or I must evaluate that the message is the same as the one I sent to omit it and not take it into account.

Thank for your help!

The guest APIs are only for the guest; the customer can't send messages as the agent. Use the guest's member id.

This is working as expected.

Thanks for your help, tim.smith.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.