Customer.io · Schema

archivedMessageObject

An archived message, including a complete message body.

Behavioral DataBroadcastCampaignsCDPCustomer DataCustomer Data PlatformData IngestionEmailEvent TrackingMarketing AutomationMessagingPush NotificationsSegmentsSMSTransactional EmailA2A

Properties

Name Type Description
id object
body string The body of the variant. You cannot modify the body if you created it with our drag-and-drop editor.
from object
reply_to object
recipient string The recipient address for an action.
subject object
cc object
bcc object
fake_bcc object
preheader_text object
url object
request_method object
headers object
forgotten object
View JSON Schema on GitHub

JSON Schema

customer-io-archived-message-object-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-archived-message-object-schema.json",
  "title": "archivedMessageObject",
  "description": "An archived message, including a complete message body.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customer-io-messages-api-openapi.yml#/components/schemas/archivedMessageObject",
  "x-scalar-ignore": true,
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/$defs/message_id"
    },
    "body": {
      "type": "string",
      "description": "The body of the variant. You cannot modify the body if you created it with our drag-and-drop editor."
    },
    "from": {
      "$ref": "#/$defs/from"
    },
    "reply_to": {
      "$ref": "#/$defs/reply_to"
    },
    "recipient": {
      "description": "The recipient address for an action.",
      "type": "string"
    },
    "subject": {
      "$ref": "#/$defs/subject"
    },
    "cc": {
      "$ref": "#/$defs/cc"
    },
    "bcc": {
      "$ref": "#/$defs/bcc"
    },
    "fake_bcc": {
      "$ref": "#/$defs/fake_bcc"
    },
    "preheader_text": {
      "$ref": "#/$defs/preheader_text"
    },
    "url": {
      "$ref": "#/$defs/url"
    },
    "request_method": {
      "$ref": "#/$defs/request_method"
    },
    "headers": {
      "$ref": "#/$defs/headers"
    },
    "forgotten": {
      "$ref": "#/$defs/forgotten"
    }
  },
  "$defs": {
    "bcc": {
      "x-scalar-ignore": true,
      "readOnly": true,
      "description": "The blind-copy address(es) for this action.",
      "type": "string"
    },
    "cc": {
      "x-scalar-ignore": true,
      "readOnly": true,
      "description": "The carbon-copy address(es) for this action.",
      "type": "string"
    },
    "fake_bcc": {
      "x-scalar-ignore": true,
      "readOnly": true,
      "type": "boolean",
      "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
    },
    "forgotten": {
      "x-scalar-ignore": true,
      "type": "boolean",
      "description": "If true, Customer.io does not retain the message content."
    },
    "from": {
      "x-scalar-ignore": true,
      "type": "string",
      "description": "The address that the message is from, relevant if the action `type` is `email`.",
      "readOnly": true
    },
    "headers": {
      "x-scalar-ignore": true,
      "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
      "type": "string",
      "format": "json"
    },
    "message_id": {
      "x-scalar-ignore": true,
      "description": "The identifier for a delivery—the instance of a message intended for an individual recipient.",
      "type": "string",
      "readOnly": true
    },
    "preheader_text": {
      "x-scalar-ignore": true,
      "type": "string",
      "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
    },
    "reply_to": {
      "x-scalar-ignore": true,
      "type": "string",
      "description": "The address that receives replies for the message, if applicable.",
      "readOnly": true
    },
    "request_method": {
      "x-scalar-ignore": true,
      "type": "string",
      "description": "The method used in conjunction with a webhook `url`.",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "DELETE",
        "PATCH"
      ]
    },
    "subject": {
      "x-scalar-ignore": true,
      "type": "string",
      "description": "The subject line for an `email` action."
    },
    "url": {
      "x-scalar-ignore": true,
      "type": "string",
      "description": "The URL of a webhook or action."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/customer-io-archived-message-object"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.