Retrieves a list of chats, with support for filtering and pagination. Can be used for both admin management and user chat lists.
Permission | Description |
---|---|
chats.view | View your own chats |
GET /api/v1/chats
Authorization: Bearer {token}
Returns a paginated list of chat resources.
{
"data": [ { /* chat resource */ }, ... ],
"links": { /* pagination data */ },
"meta": { /* pagination data */ }
}
For a full schema, see Chat Resource and Pagination Data (per page: 50).
Status | Description | Reference |
---|---|---|
401 | Unauthorized | Authentication error |
403 | Forbidden (no permission) | Permission error |
404 | Not found | Not-found error |