Developer's Guide

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

Ticket types

Create

Create a new ticket type

POST https://api.deskero.com/ticketType/insert

Headers

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

Example request

$ curl https://api.deskero.com/ticketType/insert \ 
  -v \
  -H "Content-type: application/json" \
  -H "Authorization: Bearer 58cfg61g-1585-5c72-g35f-7fe76893ed2f" \
  -H "clientId: 51f01687e4b094c81d7b8bcdellef" \
  -X POST \
  -d '{
    "type": "notification",
    "labels": {
      "en": "notification",
      "it": "notifica",
      "fr": "notification",
      "es": "notificación"
    }
  }'

Example response

Created ticket type id

{
  "id": "5277c21ce4b0d3bd74d43841"
}