{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reamaze/json-schema/reamaze-post-conversations-slug-messages-request-schema.json",
  "title": "PostConversationsSlugMessagesRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/reamaze-openapi-generated.yml#/components/schemas/PostConversationsSlugMessagesRequest",
  "type": "object",
  "properties": {
    "body": {
      "type": "string"
    },
    "visibility": {
      "type": "string",
      "description": "The visibility value can be the following values: 0 (Regular) or 1 (Internal Note)"
    },
    "user": {
      "type": "string",
      "description": "You may optionally pass in a user attribute hash with email and name inside message to specify the sender"
    },
    "origin_id": {
      "type": "string",
      "description": "You may optionally pass in a origin_id attribute inside message to specify a unique identifier of the message"
    },
    "suppress_notifications": {
      "type": "string",
      "description": "You can optionally pass in a suppress_notifications attribute with a value of true to prevent Reamaze from sending any email (or integration) notifications related to this message"
    },
    "suppress_autoresolve": {
      "type": "string",
      "description": "You can optionally pass in a suppress_autoresolve boolean attribute with a value of true to prevent Reamaze from marking the conversation as done when message[user] is a staff user"
    },
    "suppress_surveys": {
      "type": "string",
      "description": "You can optionally pass in a suppress_surveys attribute with a value of true to prevent Reamaze from sending a satisfaction survey"
    },
    "attachment": {
      "type": "string",
      "description": "You can optionally pass in an attachment string attribute with a URL to attach a file to the message"
    },
    "recipients": {
      "type": "string",
      "description": "You can optionally pass in a recipients array attribute to specify who will receive the message"
    }
  },
  "required": [
    "body"
  ]
}