List ticket options
The groups, owners, states and priorities your account can set on a ticket.
GET https://cotlet.dev/api/v1/zammad/ticket-options
Returns the values the ticket sidebar offers your account: groups, agents who can be owner, states and priorities with their names exactly as Zammad shows them. Zammad ships the states new, open, pending reminder, pending close, closed and merged, and the priorities 1 low, 2 normal and 3 high; admins can add more. Call it before update_ticket so a name from your rule is checked first.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/zammad/ticket-options \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("zammad", "list_ticket_options") const result = await cotlet.call('zammad', 'list_ticket_options'); cotlet call zammad list_ticket_options Example response
{
"groups": [
"Users",
"Billing",
"Support"
],
"owners": [
"Nora Weiss",
"Sam Okafor"
],
"states": [
"new",
"open",
"pending reminder",
"pending close",
"closed"
],
"priorities": [
"1 low",
"2 normal",
"3 high"
]
}