{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/postzen-dev/json-schema/postzen-dev-inbox-reply-request-schema.json",
  "title": "InboxReplyRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postzen-dev-inbox-api-openapi.yml#/components/schemas/InboxReplyRequest",
  "type": "object",
  "required": [
    "accountId",
    "message"
  ],
  "properties": {
    "accountId": {
      "type": "string",
      "description": "PostZen account id of the connected Instagram, Facebook, or Threads account that owns the post."
    },
    "message": {
      "type": "string",
      "description": "Comment text to publish."
    },
    "commentId": {
      "type": "string",
      "description": "Reply to this comment instead of commenting on the post. On Instagram a reply to a reply is redirected to its top-level parent."
    },
    "attachmentUrl": {
      "type": "string",
      "format": "uri",
      "description": "Facebook only. Publicly reachable image URL to attach to the comment. Sending it for any other platform returns `400 attachmentUnsupported`."
    }
  }
}