List queues

Ticket queues you can open: the ready-made ones and the ones your team set up.

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

read

Lists the queues your agent user can see with their IDs and names. HappyFox ships Pending Tickets, All Tickets, Unresponded Tickets and Assigned to Me. Pass queue_id to search_tickets.

Parameters

No parameters.

Request

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

Example response

JSON

{
  "queues": [
    {
      "queue_id": 1,
      "name": "Pending Tickets"
    },
    {
      "queue_id": 2,
      "name": "All Tickets"
    },
    {
      "queue_id": 3,
      "name": "Unresponded Tickets"
    },
    {
      "queue_id": 4,
      "name": "Assigned to Me"
    }
  ]
}

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.