Add a reply or internal notes on the tickets.





Name Data Type Required / Optional Description
content String Required The body of your reply
is_internal_note boolean Optional 1 if you want to add response as internal note else it will be added as reply
attachment[] file Optional Media attachment
inline[] file Optional Inline image attachments
to[] array Optional an array containing integer ids of users to whom reply will be sent
cc[] array Optional an array containing strings of valid email addresses

Example request

curl -X POST -H "Authorization: Bearer {token}" -i -F ticket_id=1 -F is_internal_note=1 -F "content=This is a reply" -F "attachment[]=@/Users/mverma16/Desktop/test.js"

API Response

Example success response

    "success": true,
    "message": "Successfully replied",
    "data": {
        "ticket_id": 1,
        "body": "testing requester",
        "updated_at": "2020-05-18 07:43:16",
        "created_at": "2020-05-18 07:43:16"


Example error response

If the user tries to reply on any arbitrary ticket or a requester tries to add an internal note on the ticket.
{"success": false,"message": "You are not authorized to reply on the ticket."}




Leave a Reply

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