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

read

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
curl https://cotlet.dev/api/v1/zammad/ticket-options \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("zammad", "list_ticket_options")
Node.js
const result = await cotlet.call('zammad', 'list_ticket_options');
CLI
cotlet call zammad list_ticket_options

Example response

JSON

{
  "groups": [
    "Users",
    "Billing",
    "Support"
  ],
  "owners": [
    "Nora Weiss",
    "Sam Okafor"
  ],
  "states": [
    "new",
    "open",
    "pending reminder",
    "pending close",
    "closed"
  ],
  "priorities": [
    "1 low",
    "2 normal",
    "3 high"
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.