Mihu AI icon

Mihu AI

Interact with Mihu AI contact center and voice agent platform

Conversation → List Messages

AI-generated

Summary

Fetches a page of messages for a specified Mihu conversation, optionally filtering by sender and choosing sort direction. Uses the required Mihu API credentials to request the conversation’s messages.

Inputs

  • Conversation UUID (required) — UUID of the conversation whose messages to fetch.
  • Sender Filter — Filter messages by AI, Human, or Contact. All (the default) omits the sender filter.
  • Sort Direction — Sort messages ascending or descending; defaults to ascending.
  • Page — Page number to fetch; defaults to 1.
  • Per Page — Maximum messages per page; defaults to 25.

Output shape

A single item containing a messages array and pagination metadata.

The output has the shape {messages, total, current_page}. If the response has no data array, messages is an empty array; total and current_page are taken from the API response and may be undefined.

Links

Discussion