changedOutput schema / properties / result / allOf
Previous value: -[
- {
- "properties": {
- "meta": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "ok": {
- "enum": [
- true
- ],
- "type": "boolean"
- }
- },
- "required": [
- "ok",
- "meta"
- ],
- "type": "object"
- },
- {
- "properties": {
- "data": {
- "allOf": [
- {
- "additionalProperties": false,
- "properties": {
- "attachments": {
- "description": "Attachment metadata only. Attachment contents are not parsed by this endpoint.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "content_id": {
- "description": "Content ID for inline attachments, when present.",
- "type": [
- "string",
- "null"
- ]
- },
- "content_type": {
- "example": "application/pdf",
- "type": "string"
- },
- "disposition": {
- "example": "attachment",
- "type": [
- "string",
- "null"
- ]
- },
- "download_url": {
- "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
- "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
- "type": "string"
- },
- "filename": {
- "example": "invoice.pdf",
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "description": "Attachment blob ID.",
- "type": "string"
- },
- "size_bytes": {
- "example": 12345,
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "filename",
- "content_type",
- "size_bytes",
- "disposition",
- "content_id"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "body": {
- "additionalProperties": false,
- "properties": {
- "extracted_links": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "format": {
- "enum": [
- "text",
- "html"
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "html": {
- "description": "HTML body when requested. Returned as a JSON string and not as rendered content.",
- "type": [
- "string",
- "null"
- ]
- },
- "is_truncated": {
- "type": "boolean"
- },
- "quotes_stripped": {
- "type": "boolean"
- },
- "signature_stripped": {
- "type": "boolean"
- },
- "text": {
- "type": [
- "string",
- "null"
- ]
- },
- "truncated_at_chars": {
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "format",
- "text",
- "html",
- "is_truncated",
- "truncated_at_chars",
- "signature_stripped",
- "quotes_stripped",
- "extracted_links"
- ],
- "type": "object"
- },
- "dates": {
- "additionalProperties": false,
- "properties": {
- "received_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "sent_at": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "received_at",
- "sent_at"
- ],
- "type": "object"
- },
- "headers": {
- "additionalProperties": false,
- "properties": {
- "full": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "type": [
- "array",
- "null"
- ]
- },
- "mode": {
- "enum": [
- "none",
- "selected",
- "full"
- ],
- "type": "string"
- },
- "selected": {
- "properties": {
- "in_reply_to": {
- "type": [
- "string",
- "null"
- ]
- },
- "message_id": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "references": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "reply_to": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "email": {
- "example": "agent@example.com",
- "format": "email",
- "type": "string"
- },
- "name": {
- "example": "Support",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "email",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "message_id",
- "in_reply_to",
- "references",
- "reply_to"
- ],
- "type": [
- "object",
- "null"
- ]
- }
- },
- "required": [
- "mode",
- "selected",
- "full"
- ],
- "type": "object"
- },
- "id": {
- "description": "Message ID",
- "type": "string"
- },
- "participants": {
- "additionalProperties": false,
- "properties": {
- "bcc": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "email": {
- "example": "agent@example.com",
- "format": "email",
- "type": "string"
- },
- "name": {
- "example": "Support",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "email",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "cc": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "email": {
- "example": "agent@example.com",
- "format": "email",
- "type": "string"
- },
- "name": {
- "example": "Support",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "email",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "from": {
- "allOf": [
- {
- "additionalProperties": false,
- "properties": {
- "email": {
- "example": "agent@example.com",
- "format": "email",
- "type": "string"
- },
- "name": {
- "example": "Support",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "email",
- "name"
- ],
- "type": "object"
- },
- {
- "type": [
- "object",
- "null"
- ]
- }
- ]
- },
- "reply_to": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "email": {
- "example": "agent@example.com",
- "format": "email",
- "type": "string"
- },
- "name": {
- "example": "Support",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "email",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "to": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "email": {
- "example": "agent@example.com",
- "format": "email",
- "type": "string"
- },
- "name": {
- "example": "Support",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "email",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "from",
- "to",
- "cc",
- "bcc",
- "reply_to"
- ],
- "type": "object"
- },
- "states": {
- "additionalProperties": false,
- "properties": {
- "email_state": {
- "type": [
- "string",
- "null"
- ]
- },
- "option_hash": {
- "type": "string"
- }
- },
- "required": [
- "email_state",
- "option_hash"
- ],
- "type": "object"
- },
- "subject": {
- "type": [
- "string",
- "null"
- ]
- },
- "thread_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "thread_id",
- "subject",
- "participants",
- "dates",
- "body",
- "headers",
- "attachments",
- "states"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- {
- "type": "object"
- }
- ]
- },
- "meta": {
- "additionalProperties": false,
- "properties": {
- "request_id": {
- "example": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx",
- "type": "string"
- }
- },
- "required": [
- "request_id"
- ],
- "type": "object"
- }
- },
- "required": [
- "data"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "meta": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "ok": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "ok",
+ "meta"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "description": "Attachment metadata only. Attachment contents are not parsed by this endpoint.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "content_id": {
+ "description": "Content ID for inline attachments, when present.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "content_type": {
+ "example": "application/pdf",
+ "type": "string"
+ },
+ "disposition": {
+ "example": "attachment",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "download_url": {
+ "description": "Short-lived URL for this exact attachment. Fetch it promptly; if it expires, call the message or attachment metadata endpoint again to receive a fresh URL.",
+ "example": "https://app.sendmux.ai/api/v1/mailbox/messages/msg_123/attachment-downloads/attref_abc123?download_token=...",
+ "type": "string"
+ },
+ "filename": {
+ "example": "invoice.pdf",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Attachment blob ID.",
+ "type": "string"
+ },
+ "size_bytes": {
+ "example": 12345,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "filename",
+ "content_type",
+ "size_bytes",
+ "disposition",
+ "content_id"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "body": {
+ "additionalProperties": false,
+ "properties": {
+ "extracted_links": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "format": {
+ "enum": [
+ "text",
+ "html"
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "html": {
+ "description": "HTML body when requested. Returned as a JSON string and not as rendered content.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "is_truncated": {
+ "type": "boolean"
+ },
+ "quotes_stripped": {
+ "type": "boolean"
+ },
+ "signature_stripped": {
+ "type": "boolean"
+ },
+ "text": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "truncated_at_chars": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "format",
+ "text",
+ "html",
+ "is_truncated",
+ "truncated_at_chars",
+ "signature_stripped",
+ "quotes_stripped",
+ "extracted_links"
+ ],
+ "type": "object"
+ },
+ "dates": {
+ "additionalProperties": false,
+ "properties": {
+ "received_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sent_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "received_at",
+ "sent_at"
+ ],
+ "type": "object"
+ },
+ "headers": {
+ "additionalProperties": false,
+ "properties": {
+ "full": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "mode": {
+ "enum": [
+ "none",
+ "selected",
+ "full"
+ ],
+ "type": "string"
+ },
+ "selected": {
+ "properties": {
+ "in_reply_to": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "message_id": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "references": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reply_to": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "email": {
+ "example": "agent@example.com",
+ "format": "email",
+ "type": "string"
+ },
+ "name": {
+ "example": "Support",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "message_id",
+ "in_reply_to",
+ "references",
+ "reply_to"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "mode",
+ "selected",
+ "full"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "description": "Message ID",
+ "type": "string"
+ },
+ "participants": {
+ "additionalProperties": false,
+ "properties": {
+ "bcc": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "email": {
+ "example": "agent@example.com",
+ "format": "email",
+ "type": "string"
+ },
+ "name": {
+ "example": "Support",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "cc": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "email": {
+ "example": "agent@example.com",
+ "format": "email",
+ "type": "string"
+ },
+ "name": {
+ "example": "Support",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "from": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "email": {
+ "example": "agent@example.com",
+ "format": "email",
+ "type": "string"
+ },
+ "name": {
+ "example": "Support",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "reply_to": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "email": {
+ "example": "agent@example.com",
+ "format": "email",
+ "type": "string"
+ },
+ "name": {
+ "example": "Support",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "to": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "email": {
+ "example": "agent@example.com",
+ "format": "email",
+ "type": "string"
+ },
+ "name": {
+ "example": "Support",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "cc",
+ "bcc",
+ "reply_to"
+ ],
+ "type": "object"
+ },
+ "states": {
+ "additionalProperties": false,
+ "properties": {
+ "email_state": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "option_hash": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email_state",
+ "option_hash"
+ ],
+ "type": "object"
+ },
+ "subject": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "thread_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "thread_id",
+ "subject",
+ "participants",
+ "dates",
+ "body",
+ "headers",
+ "attachments",
+ "states"
+ ],
+ "type": "object"
+ },
+ "meta": {
+ "additionalProperties": false,
+ "properties": {
+ "request_id": {
+ "example": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx",
+ "type": "string"
+ }
+ },
+ "required": [
+ "request_id"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object"
+ }
+]