customer reply to agent using freshdesk

Viewed 36

I want a customer-agent conversion in my app using freshdesk. I am calling /api/v2/tickets/[id]/reply api but this only allows agents to reply to customers

how can a customer give a reply to agent ? Below is my code but everytime the reply is given on behalf of agent. I could not find a way to make a reply by customer.

               url: `https://domian.com/api/v2/tickets/${id}/reply`,
               body: JSON.stringify({
                   body: editorMessage,
                   from_email: 'user123@yopmail.com',
                   to_emails:'support@something.com'
               }),```
0 Answers
Related