This API has been deprecated we recommend to use this new API instead.

Description

Add a reply or internal notes on the tickets.

URL

v3/thread/reply

Parameters

 

Name Data Type Required / Optional Description
content string Required Messages to be added as reply or note
ticket_id integer Required Id of the ticket on which you want to add reply or note
is_internal_note boolean optional 1 if you want to add response as internal note else it will be added as reply
attachment An array of file objects optional Files to be added in reply or note

Example request

curl -X POST -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjBkZjhmYmExNmVmYmE4OTBjZjAzYmYwYTYxNTRhMDQ2YTY2Y2ZhMWM0ZWU1NGQ5YzZlZDA0NDllM2EzNzZmMTAwY2U3MmUxMGQ2OTI4Y2ZiIn0.eyJhdWQiOiIxIiwianRpIjoiMGRmOGZiYTE2ZWZiYTg5MGNmMDNiZjBhNjE1NGEwNDZhNjZjZmExYzRlZTU0ZDljNmVkMDQ0OWUzYTM3NmYxMDBjZTcyZTEwZDY5MjhjZmIiLCJpYXQiOjE1ODQ1MTc4MjEsIm5iZiI6MTU4NDUxNzgyMSwiZXhwIjoxNjE2MDUzODIxLCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.uAZHUNLl-mNk6mdA0ohSXLZiXqshqTa1eNoiD7QrKs6knfPtqHgNJEUJ9ZwbRrylKSd9-a6RsjbThp73W4lsO-FRJVa6Vw6VBwIqOGE_Y0bS275vua84d4x4Wda89K3xfSYhuDRXm15JdkOZYimtNyYwIFfAM9nmxjnRqU9vBCmXcva1WfXxJWFNEvXoDyEm7CykMaJq9KU8xLl69fZxmG3UCv19BREYXqP1o8BqVEBGoB_2a1kIUVQFNVE-jfVpKp4X9QdS8LLJ0KFUPMIcHZofKW8pgedWK1kwlO9FKARDD3oN-adsWEWQDdaq31das123fsax-fkxjAOgw5EOxTMJbfP0wKZZb5EF1WhTLQWv_e2eF-jb8IMo35EcJYKtvunt-tR58QR8SCRmG9LRTIqJZNBH3xhJ5ETmpauoJzwWBNKqx6cyGygxlVB9l9gV2KlIfWAcZSJaP1nX13ryrEXtYsTXg559ZAGRW8gAWTUfE3qgRWq9LBWcagAsqqlSoeq5uIzX1bK1QfDpSmCks6swlq-UFkvFiLRpIiIQGWDqObKmrzwDO1di8N4LpCDt1Da4vOawVomwQu6QCkmvHih0X--3z-36yrixuOrkydXLgbY7_AjQsCFnE0oklXZ9HohTjbebL-w-1vNl70qw8n15Ule8bQRfAjg" -i -F ticket_id=1 -F is_internal_note=1 -F "content=This is a reply" -F "attachment[]=@/Users/mverma16/Desktop/test.js" www.faveo.pro/v3/thread/reply

API Response

Example success response

{"result":{"success":"Replied successfully"}}

Example error response

{"content":["Reply Content Required"]}

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *