List messages with the care team
GET/api/patient/provider-chat/messages
The messages between the person and their care team: the newest page first, each page in the order to show it (oldest to newest).
Response 200: { messages: [...], hasMore: boolean, nextCursor: string|null }. Each message: { id, roomId, senderType: 'patient'|'provider', senderId, senderName, body, clientMsgId, createdAt }.
Request
Responses
- 200
- 401
- 403
- 429
- 500
Success
Unauthorized (X-Api-Key missing, malformed, unknown or disabled)
Forbidden (the key cannot reach this person, IP not allowed, or a read-only key on a write)
Too Many Requests (rate limit exceeded)
Internal Server Error