Pachca icon

Pachca

Interact with Pachca API

Chat → Get Many

AI-generated

Summary

Retrieve multiple chat records from Pachca with filtering, sorting, pagination, and optional simplification of response data.

Inputs

  • Return All — Boolean indicating whether to return all matching chat records or limit the number of results.
  • Limit — Maximum number of chat records to return if 'Return All' is false (between 1 and 50).
  • Simplify — Boolean that determines if the response should be simplified to key fields rather than returning all fields.
  • Sort — Field to sort the chat results by, either by chat ID or last message timestamp.
  • Order — Sort direction for the results, ascending or descending.
  • Availability — Filter chats based on user membership: include only chats the user is a member of or all public chats in the workspace.
  • Last Message At After — Filter to include chats whose last message was created after the specified ISO-8601 datetime.
  • Last Message At Before — Filter to include chats whose last message was created before the specified ISO-8601 datetime.
  • Additional Fields — Optional additional filtering fields including whether to include archived chats and whether to restrict to direct and group chats (personal).

Output shape

a list of chat objects

Returns a list of chat objects filtered and sorted per the input parameters. If 'Simplify' is true, the returned chat objects are reduced to key fields. Pagination is handled internally; when 'Return All' is false, at most 'Limit' number of results are returned. The operation supports filtering by last message timestamps and availability status. Archived chats are excluded by default but can be included via additional fields.

Links

Discussion