Natzar Partner API Reference - v1.0.0
    Preparing search index...

    Interface AsyncConsultMessageRejectedData

    Payload of async_consult.message_rejected — a patient message you posted (202-accepted) could not be routed because the thread closed before it processed. Surface this to your patient UI: a patient message must never go unanswered silently.

    interface AsyncConsultMessageRejectedData {
        asyncConsultId: string;
        patientId: string;
        messageId: string;
        reason: "thread_closed";
    }
    Index
    asyncConsultId: string

    The consult the message was addressed to.

    patientId: string

    Our id of the patient who authored the message.

    messageId: string

    The messageId the 202 response reported.

    reason: "thread_closed"

    Why it was rejected. Currently always the thread closing underneath.