Developer's Guide

Learn how to configure and use our open APIs, to
freely integrate Deskero with any other software solution!

Tickets

Reply

Add a reply to the current ticket

PUT https://api.deskero.com/ticket/reply/{{ticketId}}

Headers

Header Value
Authorization Bearer {{bearer}}
Content-Type application/json
clientId {{clientId}}

Example request

$ curl https://api.deskero.com/ticket/reply/5277c21ce4b0d3bd74d43841 \ 
  -v \
  -H "Content-type: application/json" \
  -H "Authorization: Bearer 58cfg61g-1585-5c72-g35f-7fe76893ed2f" \
  -H "clientId: 51f01687e4b094c81d7b8bcdellef" \
  -X PUT \
  -d '{ 
    "text": "Problem solved!",
    "replyFromOperator": {
      "id": "52132fffe4b006e6048bd013"
    },
    "attachedDocuments": [ 
      { 
        "documentName": "doc.txt",
        "documentType": "text/plain",
        "documentBlob":"70726F7661"
      }
    ]
  }'

Example response

Reply id

{
  "id": "51e56642e4b0f36e576a8f74"
}