List views

Ticket views you can open: shared views and your personal ones.

GET https://cotlet.dev/api/v1/zendesk/views

read

Lists the active views your agent user can see, both shared views and personal views, with their IDs and titles. Pass view_id to list_view_tickets to read the tickets in one.

Parameters

No parameters.

Request

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

Example response

JSON

{
  "views": [
    {
      "view_id": 7790214,
      "title": "New tickets to triage",
      "shared": true
    },
    {
      "view_id": 7790288,
      "title": "My pending tickets",
      "shared": false
    }
  ]
}

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.