read
cs

The CS inbox list exactly as /cs/inbox shows it: a rail view (open = the Inbox, every customer conversation; mine, unass

Changed on

The CS inbox list exactly as /cs/inbox shows it: a rail view (open = the Inbox, every customer conversation; mine, unassigned, attention, escalated, drafts, followups, snoozed, closed, spam, trash, non_customer, sent, agent_sent, all), a saved view (view_id), a server mail folder, or a search (q, across every status), refined by inbox_status, assignee, tags, priorities, categories, starred_only, unread_only and has_pending_draft. Newest activity first; each row has its status, assignee, tags, priority, unread (for the connection's user), awaiting_reply, needs_human_response, follow-up and what the AI does next. Paged with a cursor.

post/api/v1/tools/cs_inbox_list

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopescs:read

Request body

object required
view, 'open' | 'mine' | 'unassigned' | 'attention' | 'agent_sent' | 'escalated' | 'drafts' | 'followups' | 'snoozed' | 'closed' | 'spam' | 'trash' | 'all' | 'non_customer' | 'sent'

A view of the inbox rail. Default open.

view_id, string uuid

A saved view; its filters replace the rail view's.

folder, string

A server mail folder (imap_folder): everything in it, across statuses.

q, string

Search, as the inbox search box.

inbox_status, 'open' | 'customer' | 'pending' | 'snoozed' | 'closed' | 'spam' | 'trash' | 'non_customer' | 'all'

Overrides the view's status.

assignee, 'me' | 'unassigned' | 'all'

me = the connection's user.

tags, string[]

Threads carrying ANY of these tags.

priorities, string[]
categories, string[]
starred_only, boolean
unread_only, boolean

Unread for the connection's user.

has_pending_draft, boolean

Only threads with an agent draft waiting for review.

cursor, string

next_cursor from the previous page; omit for the first page.

limit, integer

Page size, default 25.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision