Platform icon

Platform

Interact with Platform API

Messaging → Get Messages

AI-generated

Summary

Retrieve all messages from a specified conversation in the Platform messaging system.

Inputs

  • Conversation ID (required) — The ID of the conversation whose messages you want to fetch.

Output shape

a list of message objects from the specified conversation

Returns an array of messages corresponding to the given conversation ID. Errors for individual items are returned if continueOnFail is enabled; otherwise, they throw.

Examples

Example 1: Fetch messages in conversation 12345

Set 'Conversation ID' to '12345' to get all messages in that conversation.

Discussion