{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thrivedesk/json-schema/thrivedesk-reply-body-schema.json",
  "title": "ReplyBody",
  "description": "Sending a reply dispatches the authenticated user's current draft on\nthe conversation. The message content itself is not part of this body.\nThe request fails with 404 if no draft exists. Required custom fields\non the inbox must also be supplied, keyed by their field key.\n",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thrivedesk-openapi.yml#/components/schemas/ReplyBody",
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "Active",
        "Pending",
        "Closed"
      ],
      "description": "Conversation status to set after sending."
    },
    "assign_to": {
      "type": [
        "string",
        "null"
      ],
      "description": "Agent ID to assign after sending."
    },
    "action": {
      "type": "string",
      "enum": [
        "send_and_next_active",
        "send_and_back_to_folder",
        "send_and_stay_on_page"
      ],
      "description": "UI follow-up action recorded with the reply."
    },
    "intended_inbox_address_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Email alias ID to send from."
    },
    "cc": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "bcc": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string",
        "format": "email"
      }
    }
  }
}