How to send reply in Tickets as Contact?

How to send reply in Tickets as Contact?

Hi,

I've successfully created a Tickets by POST https://desk.zoho.com/api/v1/tickets and included contactId and set the channel to EMAIL in the payload. Then I get a ticketsId from successful response.

When I tried to send reply to the created Tickets as contact (customer@email.com) by POST https://desk.zoho.com/api/v1/tickets/{ticketsId}/sendReply and included all these fields :
{
  "channel" : "EMAIL",
  "fromEmailAddress" : "customer@email.com",
  "contentType" : "plainText",
  "content" : "We have identified the root cause and fixed it.",
  "isForward" : "true"
}

I've got an error :
{
    "errorCode": "UNPROCESSABLE_ENTITY",
    "message": "The value passed for the 'fromEmailAddress' parameter is invalid."
}

Then I re-read the API documentation, it says :

Send Email Reply

This API sends an email reply. The from address in the email must be a from address configured in your help desk portal.


So then I changed the fromEmailAddress from customer@email.com to support@my.zohodesk.com
 and then it returned a successful response.

But that was not my goal here - what I was trying to achieve is sending a reply from a contact email address (who created the tickets - as customer@email.com) to the created tickets. How do I achieve that? I've searched through the API Documentation and can't find something which capable to do that.

Regards,
Mahdi

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now