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

    Interface PostAgentMessageResponse

    202 response of POST /v1/agent/messages. The turn is enqueued, not yet answered — poll GET /v1/agent/messages for the agent's reply (typically a few seconds; longer when the patient sent a file to read).

    interface PostAgentMessageResponse {
        accepted: true;
        messageId: string;
    }
    Index
    accepted: true

    Always true: validation passed and the turn was enqueued.

    messageId: string

    Your handle on this submission. It comes back as the stored message's MessageResource.clientRef (NOT its id, which we assign) — match on it to reconcile an optimistically rendered message. It is also the idempotency key: retrying a timed-out POST with the same body will not enqueue the turn twice.