Desk

Every conversation, most recently active first

A thread carries the channel it came in on, whether a reply is owed on our side (status, dueBy), and a rolling aiSummary so a long exchange is readable without opening it. One page at a time: total says how many threads there are and offset reaches all of them, while unread is counted over the whole inbox rather than the page.

get/api/v1/messages

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/messages
  • Auth: API key in cookie better-auth.session_token

Query parameters

limitinteger

How many threads to return, most recently active first. Default 50, and a page is never more than 200 rows however many are asked for, so read the limit that comes back rather than the one you sent.

offsetinteger

How many of the most recently active threads to skip. Default 0. Page with offset = offset + limit until it reaches total.

Response

One page of threads.

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.