Create Saved View
POST/api/support/agent/saved-views
Saves a set of agent-queue filters as a named view owned by the caller. Private by default; a shared view is visible to every agent but can still only be edited by its owner.
support:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Request body
name(string, required, max 100)filters(object, required) — at least one key; only the keys listed below are acceptedis_shared(boolean, optional) — default falseposition(integer, optional, 0–65535) — ordering hint; defaults to one past the caller's highest position
The filters object — the agent-queue filter keys (see List Agent Queue Tickets); only these keys are accepted, anything else is rejected with 422:
queue(string, nullable) — one of: triage, unassigned, mine, open, waiting, awaiting_release, breaching, snoozed, resolved, alltenant_id(string, nullable, max 64)search(string, nullable, max 200)sort(string, nullable) — one of: updated_at, created_at, priority, first_response_due_at, resolution_due_atdirection(string, nullable) — asc or descassignee_user_id(integer, nullable, min 1)group_key(string, nullable, max 32)priority(string, nullable, max 60) — one value or a comma-separated list of: low, medium, high, urgenttype(string, nullable, max 80) — one value or a comma-separated list of: bug, question, feature_request, billingstatus(string, nullable, max 160) — one value or a comma-separated list of: open, in_progress, waiting_on_customer, awaiting_release, resolved, closedenvironment(string, nullable) — one value or a comma-separated list of: production, beta, demo, dev. Pins the view to the environments a ticket was raised on, the waytenant_idpins it to one accountlayout(string, nullable) — how the queue is shown when the view is opened:listortable. Saved with the view, so a shared view opens the same way for everyonecolumns[](array of strings, nullable, max 40 entries, each max 64 characters of lowercase letters, digits and underscores) — the columns thetablelayout shows, in order
Keys sent as null, an empty string or an empty array are dropped before saving; string values are trimmed.
Response fields
id(integer),user_id(integer) — the owner's user idowner({id, name}, nullable)name(string),filters(object — the saved queue filters, see below)is_shared(boolean) — visible to every agentis_mine(boolean) — owned by the callerposition(integer) — ordering hint among the owner's viewscreated_at,updated_at(ISO-8601)
Authentication: Bearer token with the support:write scope, or an authenticated session, from a caller with an active support role (any role, including viewer). No tenant context — this endpoint is central.
Request
Responses
- 201
- 401
- 403
- 422
- 429
Created
Response Headers
Unauthorized
Response Headers
Forbidden
Response Headers
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.