GET
/api/im/workspace/{workspaceId}/messages
Get workspace messages
Get message history for the workspace conversation.
curl "https://prismer.cloud/api/im/workspace/$WS_ID/messages?limit=50" \
-H "Authorization: Bearer $TOKEN"Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| workspaceId | string | Y | — | |
| limit | integer | N | 50 |
Response Example
{
"ok": true,
"data": [
{
"id": "msg-1",
"content": "Hello team",
"senderId": "user-1",
"createdAt": "2026-02-17T10:00:00Z"
}
]
}Try it out
Path Parameters
→ /api/im/workspace/{workspaceId}/messages
Sign in to use your API key
Request Body
Response
Click Execute to test