Klaviyo · Schema

EmailMarketing

MarketingEmailSMSCustomer DataE-CommerceAutomation

Properties

Name Type Description
can_receive_email_marketing boolean Whether or not this profile has implicit consent to receive email marketing. True if it does profile does not have any global suppressions.
consent string The consent status for email marketing.
consent_timestamp string The timestamp when consent was recorded or updated for email marketing, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).
last_updated string The timestamp when a field on the email marketing object was last modified.
method string The method by which the profile was subscribed to email marketing.
method_detail string Additional details about the method by which the profile was subscribed to email marketing. This may be empty if no details were provided.
custom_method_detail string Additional detail provided by the caller when the profile was subscribed. This may be empty if no details were provided.
double_optin boolean Whether the profile was subscribed to email marketing using a double opt-in.
suppression array The global email marketing suppression for this profile.
list_suppressions array The list suppressions for this profile.
View JSON Schema on GitHub

JSON Schema

klaviyo-emailmarketing-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmailMarketing",
  "title": "EmailMarketing",
  "type": "object",
  "properties": {
    "can_receive_email_marketing": {
      "description": "Whether or not this profile has implicit consent to receive email marketing. True if it does profile does not have any global suppressions.",
      "type": "boolean"
    },
    "consent": {
      "description": "The consent status for email marketing.",
      "type": "string",
      "example": "SUBSCRIBED"
    },
    "consent_timestamp": {
      "description": "The timestamp when consent was recorded or updated for email marketing, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).",
      "type": "string",
      "format": "date-time",
      "example": "2023-02-21T20:07:38+00:00",
      "nullable": true
    },
    "last_updated": {
      "description": "The timestamp when a field on the email marketing object was last modified.",
      "type": "string",
      "format": "date-time",
      "example": "2023-02-21T20:07:38+00:00",
      "nullable": true
    },
    "method": {
      "description": "The method by which the profile was subscribed to email marketing.",
      "type": "string",
      "example": "PREFERENCE_PAGE",
      "nullable": true
    },
    "method_detail": {
      "description": "Additional details about the method by which the profile was subscribed to email marketing. This may be empty if no details were provided.",
      "type": "string",
      "example": "mydomain.com/signup",
      "default": "",
      "nullable": true
    },
    "custom_method_detail": {
      "description": "Additional detail provided by the caller when the profile was subscribed. This may be empty if no details were provided.",
      "type": "string",
      "example": "marketing drive",
      "nullable": true
    },
    "double_optin": {
      "description": "Whether the profile was subscribed to email marketing using a double opt-in.",
      "type": "boolean",
      "example": true,
      "nullable": true
    },
    "suppression": {
      "description": "The global email marketing suppression for this profile.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/EmailMarketingSuppression"
      },
      "nullable": true
    },
    "list_suppressions": {
      "description": "The list suppressions for this profile.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/EmailMarketingListSuppression"
      },
      "nullable": true
    }
  },
  "required": [
    "can_receive_email_marketing",
    "consent"
  ]
}

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/klaviyo-emailmarketing"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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