Take a chat off Today's Reached out
conversation:update, and the conversation must be one the caller may see. Dismisses the chat's interest check as of `messageId`, the message the Reached out row named: a newer message from the patient has re-armed it and answers 409 INTEREST_MESSAGE_CHANGED (refresh and decide again), so a stale screen never hides a newer message. Idempotent for the same message. 404 when there is no check for the chat.
Loading the API reference…
Save my draft for a conversation PUT
Compare-and-swap on `expected` ({generation, revision}): it must name the draft's current version, `{0, 0}` when none was ever saved. A stale version answers 409 VERSION_CONFLICT with `details.current`. The body holds at most 64 KiB and the subject 2 KiB (UTF-8).
Create a lead from a conversation POST
Creates a patient and a journey for the chosen treatment and links this unlinked conversation to both, in one step; the creator takes the chat when their role can hold chats. Phone and email are optional here: the conversation is the way to reach this person. Needs conversation:update, patient:create and journey:create. 402 LEAD_LIMIT_REACHED on a full free plan; 409 CONVERSATION_ALREADY_LINKED when the conversation is linked, CONTACT_PARTY_SUBJECT_CONFLICT when its contact already represents a patient — link that patient instead; and DUPLICATE_CONTACT when the email or mobile already belongs to a patient — link them instead.