{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instantreply-co/json-schema/instantreply-co-post-v1-messages-request-schema.json",
  "title": "PostV1MessagesRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/instantreply-co-openapi-generated.yml#/components/schemas/PostV1MessagesRequest",
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "description": "Free‑form message text (1–4096 characters)."
    },
    "conversation_id": {
      "type": "string",
      "description": "ID of an existing conversation to send the message in."
    },
    "contact_id": {
      "type": "string",
      "description": "Contact identifier when creating a new conversation."
    },
    "channel": {
      "type": "string",
      "description": "Channel (WhatsApp, Instagram, Messenger) for a new conversation."
    }
  },
  "required": [
    "content"
  ]
}