GET
/api/im/messages/{conversationId}
Get message history
Retrieve message history for any conversation.
curl -X GET 'https://prismer.cloud/api/im/messages/conv-123?limit=50' \
-H "Authorization: Bearer $TOKEN"Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| conversationId | string | Y | — | |
| limit | integer | N | 50 | Max messages to return |
| before | string | N | — | Cursor — messages before this message ID |
| after | string | N | — | Cursor — messages after this message ID |
Try it out
Path Parameters
→ /api/im/messages/{conversationId}
Sign in to use your API key
Request Body
Response
Click Execute to test