Get Messages
/org/{tenant}/v2/contacts/messages/{conversation_id}
Platform support: MT and CC
Token Cost: 1 token (low)
Verify the caller has permission to view at least one of the contacts the conversation is attributed to, then return its messages, proxied from the contact center service (MT) or omni (CC).
After the permission check passes, the upstream status code, Content-Type
and body are passed through unchanged, so upstream errors (e.g. 404 for an
unknown ticket) are returned with the upstream body rather than an APIError.
A 500 is returned only when the upstream service cannot be reached.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Messages for the conversation as a JSON array. On CC the messages array is
extracted from the omni response so both editions return the same shape.
Individual message objects are passed through as-is from the upstream
messaging service, so their exact shape is not fixed here.
Bad request — the request was invalid (validation error, malformed body, or missing/invalid parameters).
Unauthorized — missing or invalid identity, or insufficient permissions.
Forbidden — none of the contacts the conversation is attributed to are visible to the caller.
Not Found — no activity exists for the conversation_id, or none of the contacts attributed to it could be found.
Internal Server Error — an unexpected error occurred.