List ticket templates
GET {{baseUrl}}/v1/ticketTemplates
This API lists a particular number of ticket templates, based on the limit specified.
OAuth Scope
Desk.settings.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | Index number, starting from which the templates must be fetched | |
departmentId | string | ID of the department from which templates must be fetched | |
layoutId | string | ID of the layout from which templated must be fetched for the given department ID | |
limit | string | Number of templates to list. The default value is 10 and the maximum value supported is 100 | |
showInCustomerPortal | string | Visibility of the templates in the help center | |
templateName | string | Name of the template | |
searchStr | string | String to search for ticket templates by ticket template name |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"showInCustomerPortal":true,"ticketTemplateName":"Template1","id":"4000000020001","layoutId":"4000000020121"},{"showInCustomerPortal":false,"ticketTemplateName":"Template2","id":"4000000020063","layoutId":"4000000020431"}]}