Idempotency-Key, so a retry never posts it twice.
Last reviewed: 2026-11-04
Prerequisites
- A patient bearer token and
X-Brand-Slug: hi-doctor.
Operations
Boundaries and side effects
- Messages are paginated with
{count, next, previous, results}, maximumlimit200,ordering-created_at(default) orcreated_at. Listing messages does not mark them read. - Sending a message can notify the medical team. Send an
Idempotency-Keyso a retry cannot post a duplicate; without one, re-read the thread first. Starting a conversation and sending its first message are two operations and need two keys. - A message needs
content,fileor both; neither returns400. - Attachment downloads can return
404,410or503.
Related
- Pagination and Uploads and downloads
- MCP patient tools (the connector sends attachments through a protected upload)