Get a single message
GET/api/v1/orgs/:orgID/threads/:threadID/messages/:messageID
Retrieve a specific message by ID from a conversation thread.
Content Structure:
The content field is a JSON object that contains the message data. For text messages, it will have a text field with the message content.
Sender Types:
- user - Message sent by a user
- system - System-generated message (senderName will be "System")
Note: Deleted messages will return a 404 response. Use the list messages endpoint to see deleted messages (they will have empty content and a deletedAt timestamp).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successfully retrieved message
Bad request - Invalid organization ID, thread ID, or message ID
Unauthorized - Invalid or missing API token
Forbidden - User does not have permission to view this message
Not found - Message not found or has been deleted
Internal server error