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 https://cotlet.dev/api/v1/zendesk/views \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("zendesk", "list_views") const result = await cotlet.call('zendesk', 'list_views'); cotlet call zendesk list_views Example response
{
"views": [
{
"view_id": 7790214,
"title": "New tickets to triage",
"shared": true
},
{
"view_id": 7790288,
"title": "My pending tickets",
"shared": false
}
]
}