Get ticket template

GET {{baseUrl}}/v1/ticketTemplates/:ticketTemplates_id

This API fetches the details of a particular ticket template.

OAuth Scope

  • Desk.settings.READ

Request Params

KeyDatatypeRequiredDescription
includestringAdditional information related to the template. Values allowed are: contacts, products, departments, team, and assignee. You can pass multiple values by separating them using commas in the API request.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"showInCustomerPortal":true,"ticketTemplateName":"temp1","id":"4000000020001","layoutId":"4000000020012","ticketTemplateValues":{"subCategory":null,"product":null,"cf":{"cf_severity_percentage":"0.0"},"productId":null,"contactId":null,"subject":null,"departmentId":"4000000007073","dueDate":null,"channel":null,"description":null,"secondaryContacts":["4000000009076","4000000009062"],"priority":null,"classification":null,"assigneeId":null,"accountId":null,"phone":"9876545645","contact":null,"assignee":null,"department":{"name":"testing department","id":"4000000007073"},"category":null,"account":null,"email":"jacks@zylker.com","status":null}}