List priorities

Ticket priorities with ID and name.

GET https://cotlet.dev/api/v1/happyfox/priorities

read

Lists the priorities your HappyFox uses with their IDs and names, as your admin named them. Use priority_id with update_ticket.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/happyfox/priorities \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("happyfox", "list_priorities")
Node.js
const result = await cotlet.call('happyfox', 'list_priorities');
CLI
cotlet call happyfox list_priorities

Example response

JSON

{
  "priorities": [
    {
      "priority_id": 2,
      "name": "Low"
    },
    {
      "priority_id": 3,
      "name": "Medium"
    },
    {
      "priority_id": 4,
      "name": "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.