integer start
{
  "type": "integer",
  "format": "unix timestamp",
  "example": 1517529600,
  "description": "The unix timestamp representing the beginning of the export."
}
string subject
{
  "type": "string",
  "example": "Did you get that thing I sent you?",
  "description": "The subject line for an `email` action."
}
integer subscription_topic_id
{
  "type": "integer",
  "example": 1,
  "description": "The identifier of a subscription topic. Remember, subscription topics are assigned an incrementing number, starting at 1."
}
object textWidget
{
  "type": "object",
  "required": [
    "type",
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "example": "$person.name",
      "description": "The text you want to display."
    },
    "type": {
      "enum": [
        "textWidget"
      ],
      "type": "string",
      "description": "Defines the widget type."
    },
    "color": {
      "type": "string",
      "description": "The color you want to use for this content. You can only set values here that are defined under [**Content** > **In-App Messages**](https://fly.customer.io/env/last/in-app-messages)."
    },
    "style": {
      "type": "string",
      "description": "The style of text you want to display. You can only set values here that are defined under [**Content** > **In-App Messages**](https://fly.customer.io/env/last/in-app-messages)."
    },
    "maxLines": {
      "type": "integer",
      "description": "The maximum lines of text you want to display. Text over this limit is controlled by the `overflow` property. If unset, the message displays an unlimited number of lines."
    },
    "overflow": {
      "enum": [
        "ellipsis",
        "fade",
        "clip"
      ],
      "type": "string",
      "description": "Determines how to handle text that overflows the `maxLines` limit (if set). By default, we cut off overflowing text with ellipsis (`...`)."
    },
    "textAlign": {
      "enum": [
        "center",
        "right",
        "left",
        "start",
        "end",
        "justify"
      ],
      "type": "string",
      "description": "How you want to align this text."
    }
  },
  "description": "Displays text in your message."
}
object track-metrics
{
  "type": "object",
  "required": [
    "delivery_id"
  ],
  "properties": {
    "timestamp": {
      "type": "integer",
      "format": "unix timestamp",
      "example": 1613063089,
      "description": "The unix timestamp when the event occurred."
    },
    "delivery_id": {
      "type": "string",
      "example": "RPILAgUBcRhIBqSfeiIwdIYJKxTY",
      "description": "The CIO-Delivery-ID from the notification that you want to associate the `event` with."
    }
  },
  "description": "The base properties shared across multiple metric types."
}
boolean tracked
{
  "type": "boolean",
  "default": true,
  "description": "If true, Customer.io tracks opens and link clicks in your message."
}
object transactionalActionObject
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "example": 96,
      "nullable": true,
      "readOnly": true,
      "description": "The identifier for an action."
    },
    "bcc": {
      "type": "string",
      "readOnly": true,
      "description": "The blind-copy address(es) for this action."
    },
    "body": {
      "type": "string",
      "description": "The body of the transactional message. You cannot modify the body if you created it with our drag-and-drop editor."
    },
    "from": {
      "type": "string",
      "example": "sentFrom@example.com",
      "readOnly": true,
      "description": "The address that the message is from, relevant if the action `type` is `email`."
    },
    "name": {
      "type": "string",
      "example": "Receipt",
      "readOnly": true,
      "description": "The name of the transactional message."
    },
    "type": {
      "enum": [
        "email",
        "push"
      ],
      "type": "string",
      "readOnly": true,
      "description": "The type of message."
    },
    "created": {
      "type": "integer",
      "format": "unix timestamp",
      "example": 1552341937,
      "readOnly": true,
      "description": "The date time when the referenced ID was created."
    },
    "from_id": {
      "type": "integer",
      "example": 1,
      "description": "The identifier of the `from` address, commonly known as the \"sender\". You can [list your sender identities](https://customer.io/docs/api/app/) to match the ID to a specific address."
    },
    "headers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "X-Mailgun-Tag",
            "description": "name of header"
          },
          "value": {
            "type": "string",
            "example": "tag-name-for-tracking",
            "description": "value of header"
          }
        }
      },
      "description": "Headers must be strings and cannot contain any non-ASCII characters or empty spaces. Some headers are reserved and cannot be overwritten."
    },
    "subject": {
      "type": "string",
      "example": "Did you get that thing I sent you?",
      "description": "The subject line for an `email` action."
    },
    "updated": {
      "type": "integer",
      "format": "unix timestamp",
      "example": 1552341937,
      "readOnly": true,
      "description": "The date time when the referenced ID was last updated."
    },
    "body_amp": {
      "type": "string",
      "description": "If your message is an email, this is the AMP-enabled body of your message. If your recipient's email client doesn't support AMP, the `body` represents your fallback message."
    },
    "fake_bcc": {
      "type": "boolean",
      "readOnly": true,
      "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"
    },
    "language": {
      "type": "string",
      "example": "fr",
      "readOnly": true,
      "description": "The language variant for your message. If you don't use our [localization feature](https://customer.io/docs/api/app/), or this is the default message, this value is an empty string."
    },
    "reply_to": {
      "type": "string",
      "example": "replyto@example.com",
      "readOnly": true,
      "description": "The address that receives replies for the message, if applicable."
    },
    "recipient": {
      "type": "string",
      "example": "{{customer.email}}",
      "readOnly": true,
      "description": "The recipient address for an action."
    },
    "reply_to_id": {
      "type": "integer",
      "example": 38,
      "nullable": true,
      "description": "The identifier for the `reply_to` address, if applicable. You can [list your sender identities](https://customer.io/docs/api/app/) to match the ID to a specific address."
    },
    "preprocessor": {
      "enum": [
        "premailer"
      ],
      "type": "string",
      "readOnly": true,
      "description": "By default, we process CSS before emails leave Customer.io using Premailer. If your message included CSS and pre-processing is not disabled, this key indicates the pre-processor."
    },
    "preheader_text": {
      "type": "string",
      "description": "Also known as \"preview text\", this specifies the small block of text shown in an end-user's email inbox, next to, or underneath, the subject line."
    }
  }
}
object transactionalObject
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "example": 2,
      "description": "The identifier Customer.io assigned to the transactional message"
    },
    "name": {
      "type": "string",
      "example": "password reset",
      "description": "The name you set for the transactional message."
    },
    "created_at": {
      "type": "integer",
      "format": "unix timestamp",
      "example": 1552341937,
      "readOnly": true,
      "description": "The date time when the referenced ID was created."
    },
    "updated_at": {
      "type": "integer",
      "format": "unix timestamp",
      "example": 1552341937,
      "readOnly": true,
      "description": "The date time when the referenced ID was last updated."
    },
    "description": {
      "type": "string",
      "example": "sends a temporary password and lets the customer reset their password.",
      "description": "A description of the transactional message."
    },
    "queue_drafts": {
      "type": "boolean",
      "description": "If true, messages do not send automatically, and queue as drafts instead. You must send drafts through the *Deliveries & Drafts* page in the user interface."
    },
    "link_tracking": {
      "type": "boolean",
      "description": "If true, link tracking is enabled for this message."
    },
    "open_tracking": {
      "type": "boolean",
      "description": "If true, open-tracking is enabled for this message."
    },
    "hide_message_body": {
      "type": "boolean",
      "description": "If true, message contents are not retained in delivery history—you cannot recall the exact contents of the message."
    },
    "send_to_unsubscribed": {
      "type": "boolean",
      "description": "If true, people with an `unsubscribed` attribute set to `true` can trigger the message."
    }
  },
  "description": "Contains information about a transactional message."
}
object transactionalSharedEmailObject
{
  "type": "object",
  "properties": {
    "to": {
      "type": "string",
      "example": "cool.person@example.com",
      "description": "The message recipient(s). Supports multiple addresses separated by commas. Your request can contain up to 15 total recipients between the `to` and `bcc` keys.\n\nYou can include a display or \"friendly\" name in \"to\" address, but we recommend that you use quotation marks around the friendly name to avoid potential issues with special characters, e.g. `\\\"Person\\\" <person@example.com>`.            \n"
    },
    "bcc": {
      "type": "string",
      "example": "bcc@example.com",
      "description": "Blind copy message recipients. Supports multiple addresses separated by commas. Your request can contain up to 15 total recipients between the `to` and `bcc` keys."
    },
    "headers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "X-Mailgun-Tag",
            "description": "name of header"
          },
          "value": {
            "type": "string",
            "example": "tag-name-for-tracking",
            "description": "value of header"
          }
        }
      },
      "description": "Headers must be strings and cannot contain any non-ASCII characters or empty spaces. Some headers are reserved and cannot be overwritten."
    },
    "tracked": {
      "type": "boolean",
      "default": true,
      "description": "If true, Customer.io tracks opens and link clicks in your message."
    },
    "fake_bcc": {
      "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"
    },
    "reply_to": {
      "type": "string",
      "example": "replyto@example.com",
      "description": "The address that recipients can reply to, if different from the `from` address."
    },
    "preheader": {
      "type": "string",
      "description": "Also known as \"preview text\", this is the block block of text that users see next to, or underneath, the subject line in their inbox."
    },
    "body_plain": {
      "type": "string",
      "description": "By default, we generate a plaintext version of your message body for each delivery. Use this key to override the default plain text body."
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {
          "type": "string",
          "format": "base64",
          "x-doNotRender": true,
          "x-additionalPropertiesName": "Attachment Names"
        }
      },
      "description": "A dictionary of attachments where the filename is the key and the value is the base64-encoded contents. The total size of all attachments must be less than 2 MB. Some filetype extensions are restricted.\n"
    },
    "disable_css_preprocessing": {
      "type": "boolean",
      "default": false,
      "example": false,
      "description": "Set to `true` to disable CSS preprocessing. This setting overrides the CSS preprocessing setting on the `transactional_message_id` as set in the user interface. Transactional emails have CSS preprocessing enabled by default."
    }
  }
}
object transactionalSharedObject
{
  "type": "object",
  "required": [
    "to",
    "identifiers"
  ],
  "properties": {
    "send_at": {
      "type": "integer",
      "description": "A unix timestamp (seconds since epoch) determining when the message will be sent. The timestamp can be up to 90 days in the future. If this value is in the past, your message is sent immediately."
    },
    "identifiers": {
      "oneOf": [
        {
          "type": "object",
          "title": "id",
          "required": [
            "id"
          ],
          "properties": {
            "id": {
              "type": "string",
              "example": 12345,
              "description": "The identifier for the person represented by the transactional message. **NOTE**: If your workspace identifies people by email, use the `email` identifier instead.\n"
            }
          }
        },
        {
          "type": "object",
          "title": "email",
          "required": [
            "email"
          ],
          "properties": {
            "email": {
              "type": "string",
              "example": "cool.person@example.com",
              "description": "The identifier for the person represented by the transactional message. Use this option if your workspace identifies people by email rather than by `id`."
            }
          }
        },
        {
          "type": "object",
          "title": "cio_id",
          "required": [
            "cio_id"
          ],
          "properties": {
            "cio_id": {
              "type": "string",
              "example": 3000001,
              "description": "A unique, immutable identifier for a person, set by Customer.io when you add a person."
            }
          }
        }
      ],
      "description": "Identifies the person represented by your transactional message by one of, and only one of, `id`, `email`, or `cio_id`."
    },
    "queue_draft": {
      "type": "boolean",
      "default": false,
      "description": "If true, your transactional message is held as a draft in Customer.io and not sent directly to your audience. You must go to the Deliveries and Drafts page to send your message."
    },
    "message_data": {
      "type": "object",
      "example": {
        "account_id": "123dj",
        "password_reset_token": "abcde-12345-fghij-d888"
      },
      "description": "An object containing the key-value pairs referenced using liquid in your message.",
      "additionalProperties": {
        "description": "Insert key-values that you want to reference in your message here.",
        "x-additionalPropertiesName": "Liquid Data"
      }
    },
    "send_to_unsubscribed": {
      "type": "boolean",
      "default": true,
      "description": "If false, your message is not sent to unsubscribed recipients. Setting this value overrides the value set in the settings of your `transactional_message_id`."
    },
    "disable_message_retention": {
      "type": "boolean",
      "default": false,
      "description": "If true, the message body is not retained in delivery history. Setting this value overrides the value set in the settings of your `transactional_message_id`."
    }
  }
}
object transactionalSharedPushObject
{
  "type": "object",
  "properties": {
    "to": {
      "enum": [
        "all",
        "last_used",
        "$device_token"
      ],
      "type": "string",
      "default": "all",
      "description": "The person's device(s) you want to send this push to. One of `all`, `last_used`, or a custom device token which belongs to the profile from the Identifiers block. Defaults to 'all'. This overrides To from the transactional template (referenced by `transactional_message_id`)."
    },
    "link": {
      "type": "string",
      "description": "A deep link to open when the push is tapped. This overrides Link from the transactional template (referenced by `transactional_message_id`)."
    },
    "sound": {
      "enum": [
        "default",
        "none"
      ],
      "type": "string",
      "default": "default",
      "description": "**For iOS Only**: your notification can alert users with the device's default notification sound or play no sound at all. \n"
    },
    "title": {
      "type": "string",
      "description": "The title for your notification. This overrides the title of the transactional template (referenced by `transactional_message_id`)."
    },
    "message": {
      "type": "string",
      "description": "The message body for your notification. This overrides the notification body of the transactional template (referenced by `transactional_message_id`)."
    },
    "language": {
      "type": "string",
      "description": "Overrides language preferences for the person you want to send your transactional message to. Use one of our [supported two- or four-letter language codes](https://customer.io/docs/api/app/)."
    },
    "image_url": {
      "type": "string",
      "description": "An image URL to show in the push. This overrides Image from the transactional template (referenced by `transactional_message_id`)."
    },
    "custom_data": {
      "type": "object",
      "description": "An optional list of key/value pairs to attach to the push payload. Due to a Firebase limitation we only support sending string key value pairs. This overrides Custom Data from the transactional template (referenced by `transactional_message_id`)."
    },
    "custom_device": {
      "allOf": [
        {
          "type": "object",
          "required": [
            "token"
          ],
          "properties": {
            "token": {
              "type": "string",
              "description": "The device token."
            }
          }
        },
        {
          "type": "object",
          "required": [
            "platform"
          ],
          "properties": {
            "platform": {
              "enum": [
                "ios",
                "android"
              ],
              "type": "string",
              "description": "The device/messaging platform."
            },
            "last_used": {
              "type": "integer",
              "format": "unix timestamp",
              "description": "The `timestamp` when you last identified this device. If you don't pass a timestamp when you add or update a device, we use the time of the request itself. Our SDKs identify a device when a person launches their app."
            },
            "attributes": {
              "type": "object",
              "properties": {
                "device_os": {
                  "type": "string",
                  "description": "The operating system, including the version, on the device."
                },
                "app_version": {
                  "type": "string",
                  "description": "The version of your app that a customer uses. You might target app versions to let people know when they need to update, or expose them to new features when they do."
                },
                "_last_status": {
                  "enum": [
                    "",
                    "bounced",
                    "sent",
                    "suppressed"
                  ],
                  "type": "string",
                  "readOnly": true,
                  "description": "The delivery status of the last message sent to the device—sent, bounced, or suppressed. An empty string indicates that that the device hasn't received a push yet."
                },
                "device_model": {
                  "type": "string",
                  "description": "The model of the device a person uses."
                },
                "push_enabled": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string",
                  "description": "If `\"true\"`, the device is opted-in and can receive push notifications."
                },
                "device_locale": {
                  "type": "string",
                  "description": "The four-letter [IETF language code](https://customer.io/docs/api/app/) for the device. For example, `en-MX` (indicating an app in Spanish formatted for a user in Mexico) or `es-ES` (indicating an app in Spanish formatted for a user in Spain)."
                },
                "cio_sdk_version": {
                  "type": "string",
                  "description": "The version of the Customer.io SDK in the app."
                }
              },
              "description": "Attributes that you can reference to segment your audience—like a person's attributes, but specific to a device. These can be either the attributes defined below or custom key-value attributes.",
              "additionalProperties": {
                "type": "string",
                "description": "Custom properties that you want to associate with the device.",
                "x-additionalPropertiesName": "Custom Device Attributes"
              }
            }
          },
          "description": "Device information common to the v1 and v2 APIs."
        }
      ],
      "description": "A device to perform an upsert operation at the time of send. The device will be added/updated on the profile from the Identifiers block."
    },
    "custom_payload": {
      "type": "object",
      "properties": {
        "ios": {
          "oneOf": [
            {
              "type": "object",
              "title": "FCM",
              "required": [
                "message"
              ],
              "properties": {
                "message": {
                  "type": "object",
                  "required": [
                    "apns"
                  ],
                  "properties": {
                    "apns": {
                      "type": "object",
                      "required": [
                        "payload"
                      ],
                      "properties": {
                        "headers": {
                          "type": "object",
                          "description": "Headers defined by [Apple's payload reference](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns) that you want to pass through FCM."
                        },
                        "payload": {
                          "type": "object",
                          "properties": {
                            "CIO": {
                              "type": "object",
                              "required": [
                                "push"
                              ],
                              "properties": {
                                "push": {
                                  "type": "object",
                                  "properties": {
                                    "body": {
                                      "type": "string",
                                      "description": "The body of your push notification."
                                    },
                                    "link": {
                                      "type": "string",
                                      "description": "A deep link (to a page in your app), or a link to a web page."
                                    },
                                    "image": {
                                      "type": "string",
                                      "description": "The URL of an HTTPS image that you want to use for your message."
                                    },
                                    "title": {
                                      "type": "string",
                                      "description": "The title of your push notification."
                                    }
                                  },
                                  "description": "A push payload for the iOS SDK."
                                }
                              },
                              "description": "Contains properties interpreted by the Customer.io iOS SDK."
                            },
                            "aps": {
                              "type": "object",
                              "properties": {
                                "alert": {
                                  "oneOf": [
                                    {
                                      "type": "string",
                                      "title": "Simple alert",
                                      "description": "A simple alert message."
                                    },
                                    {
                                      "type": "object",
                                      "title": "Complex alert",
                                      "properties": {
                                        "body": {
                                          "type": "string",
                                          "description": "The body of your push notification."
                                        },
                                        "title": {
                                          "type": "string",
                                          "description": "The title of your push notification."
                                        },
                                        "loc-key": {
                                          "type": "string",
                                          "description": "The key for a localized message string in your app’s Localizable.strings file."
                                        },
                                        "loc-args": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          },
                                          "description": "An array of replacement value strings for variables in your message text. Each %@ character in the loc-key is replaced by a value from this array, in the order they appear in the message body."
                                        },
                                        "subtitle": {
                                          "type": "string",
                                          "description": "Additional information that explains the purpose of the notification."
                                        },
                                        "launch-image": {
                                          "type": "string",
                                          "description": "The name of the launch image file you want to display. When a user launches your app, they'll see this image or storyboard file rather than your app’s normal launch image."
                                        },
                                        "title-loc-key": {
                                          "type": "string",
                                          "description": "The key for a localized title string in your app’s Localizable.strings files."
                                        },
                                        "title-loc-args": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          },
                                          "description": "An array of replacement value strings for variables in your title string. Each %@ character in the title-loc-key is replaced by a value from this array, in the order they appear in the title string."
                                        },
                                        "subtitle-loc-key": {
                                          "type": "string",
                                          "description": "The key for a localized subtitle string in your app’s Localizable.strings file."
                                        },
                                        "subtitle-loc-args": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          },
                                          "description": "An array of replacement value strings for variables in your subtitle string. Each %@ character in the subtitle-loc-key is replaced by a value from this array, in the order they appear in the subtitle string."
                                        }
                                      }
                                    }
                                  ]
                                },
                                "badge": {
                                  "type": "integer",
                                  "description": "The number you want to display on your app's icon. Set to 0 to remove the current badge, if any."
                                },
                                "sound": {
                                  "oneOf": [
                                    {
                                      "type": "string",
                                      "title": "Regular alert",
                                      "description": "The name of a sound file in your app’s main bundle or in the Library/Sounds folder of your app’s container directory. Use “default” to play the system sound. For critical alerts, you'll pass an object instead."
                                    },
                                    {
                                      "type": "object",
                                      "title": "Critical alert",
                                      "properties": {
                                        "name": {
                                          "type": "string",
                                          "description": "The name of a sound file in your app’s main bundle or in the Library/Sounds folder of your app’s container directory. Use “default” to play the system sound."
                                        },
                                        "volume": {
                                          "type": "number",
                                          "description": "The volume for a critical alert between 0 and 1, where 0 is silent and 1 is full volume."
                                        },
                                        "critical": {
                                          "type": "integer",
                                          "description": "1 indicates critical. 0 is not critical."
                                        }
                                      }
                                    }
                                  ]
                                },
                                "category": {
                                  "type": "string",
                                  "description": "The notification’s type. This string must correspond to the identifier of one of the `UNNotificationCategory` objects you register at launch time."
                                },
                                "thread-id": {
                                  "type": "string",
                                  "description": "An identifier to group related notifications."
                                },
                                "mutable-content": {
                                  "type": "integer",
                                  "description": "The notification service app extension flag. If the value is 1, your notification is passed to your notification service app extension before delivery. Use your extension to modify the notification’s content."
                                },
                                "relevance-score": {
                                  "type": "number",
                                  "description": "A number between 0 and 1. The highest score is considered the \"most relevant\"  and is featured in the notification summary."
                                },
                                "content-available": {
                                  "type": "integer",
                                  "description": "The background notification flag. Use `1` without an `alert` to perform a silent update. `0` indicates a normal push notification."
                                },
                                "target-content-id": {
                                  "type": "string",
                                  "description": "The identifier of the window brought forward."
                                },
                                "interruption-level": {
                                  "enum": [
                                    "passive",
                                    "active",
                                    "time-sensitive",
                                    "critical"
                                  ],
                                  "type": "string",
                                  "description": "Indicates the importance and delivery timing of a notification."
                                }
                              },
                              "description": "A push payload intended for an iOS device."
                            }
                          },
                          "description": "Contains a push payload.",
                          "additionalProperties": {
                            "description": "Additional properties that you've set up your app to interpret outside of the Customer.io SDK.",
                            "x-additionalPropertiesName": "Custom key-value pairs"
                          }
                        }
                      },
                      "description": "Defines a payload for iOS devices sent through Firebase Cloud Messaging (FCM)."
                    }
                  },
                  "description": "The base object for all FCM payloads."
                }
              }
            },
            {
              "type": "object",
              "title": "APNS",
              "properties": {
                "CIO": {
                  "type": "object",
                  "required": [
                    "push"
                  ],
                  "properties": {
                    "push": {
                      "type": "object",
                      "properties": {
                        "link": {
                          "type": "string",
                          "description": "A deep link (to a page in your app), or a link to a web page."
                        },
                        "image": {
                          "type": "string",
                          "description": "The URL of an HTTPS image that you want to use for your message."
                        }
                      },
                      "description": "Describes push notification options supported by the CIO SDK."
                    }
                  },
                  "description": "Contains options supported by the Customer.io SDK."
                },
                "aps": {
                  "type": "object",
                  "properties": {
                    "alert": {
                      "oneOf": [
                        {
                          "type": "string",
                          "title": "Simple alert",
                          "description": "A simple alert message."
                        },
                        {
                          "type": "object",
                          "title": "Complex alert",
                          "properties": {
                            "body": {
                              "type": "string",
                              "description": "The body of your push notification."
                            },
                            "title": {
                              "type": "string",
                              "description": "The title of your push notification."
                            },
                            "loc-key": {
                              "type": "string",
                              "description": "The key for a localized message string in your app’s Localizable.strings file."
                            },
                            "loc-args": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "An array of replacement value strings for variables in your message text. Each %@ character in the loc-key is replaced by a value from this array, in the order they appear in the message body."
                            },
                            "subtitle": {
                              "type": "string",
                              "description": "Additional information that explains the purpose of the notification."
                            },
                            "launch-image": {
                              "type": "string",
                              "description": "The name of the launch image file you want to display. When a user launches your app, they'll see this image or storyboard file rather than your app’s normal launch image."
                            },
                            "title-loc-key": {
                              "type": "string",
                              "description": "The key for a localized title string in your app’s Localizable.strings files."
                            },
                            "title-loc-args": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "An array of replacement value strings for variables in your title string. Each %@ character in the title-loc-key is replaced by a value from this array, in the order they appear in the title string."
                            },
                            "subtitle-loc-key": {
                              "type": "string",
                              "description": "The key for a localized subtitle string in your app’s Localizable.strings file."
                            },
                            "subtitle-loc-args": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "An array of replacement value strings for variables in your subtitle string. Each %@ character in the subtitle-loc-key is replaced by a value from this array, in the order they appear in the subtitle string."
                            }
                          }
                        }
                      ]
                    },
                    "badge": {
                      "type": "integer",
                      "description": "The number you want to display on your app's icon. Set to 0 to remove the current badge, if any."
                    },
                    "sound": {
                      "oneOf": [
                        {
                          "type": "string",
                          "title": "Regular alert",
                          "description": "The name of a sound file in your app’s main bundle or in the Library/Sounds folder of your app’s container directory. Use “default” to play the system sound. For critical alerts, you'll pass an object instead."
                        },
                        {
                          "type": "object",
                          "title": "Critical alert",
                          "properties": {
                            "name": {
                              "type": "string",
                              "description": "The name of a sound file in your app’s main bundle or in the Library/Sounds folder of your app’s container directory. Use “default” to play the system sound."
                            },
                            "volume": {
                              "type": "number",
                              "description": "The volume for a critical alert between 0 and 1, where 0 is silent and 1 is full volume."
                            },
                            "critical": {
                              "type": "integer",
                              "description": "1 indicates critical. 0 is not critical."
                            }
                          }
                        }
                      ]
                    },
                    "category": {
                      "type": "string",
                      "description": "The notification’s type. This string must correspond to the identifier of one of the `UNNotificationCategory` objects you register at launch time."
                    },
                    "thread-id": {
                      "type": "string",
                      "description": "An identifier to group related notifications."
                    },
                    "mutable-content": {
                      "type": "integer",
                      "description": "The notification service app extension flag. If the value is 1, your notification is passed to your notification service app extension before delivery. Use your extension to modify the notification’s content."
                    },
                    "relevance-score": {
                      "type": "number",
                      "description": "A number between 0 and 1. The highest score is considered the \"most relevant\"  and is featured in the notification summary."
                    },
                    "content-available": {
                      "type": "integer",
                      "description": "The background notification flag. Use `1` without an `alert` to perform a silent update. `0` indicates a normal push notification."
                    },
                    "target-content-id": {
                      "type": "string",
                      "description": "The identifier of the window brought forward."
                    },
                    "interruption-level": {
                      "enum": [
                        "passive",
                        "active",
                        "time-sensitive",
                        "critical"
                      ],
                      "type": "string",
                      "description": "Indicates the importance and delivery timing of a notification."
                    }
                  },
                  "description": "A push payload intended for an iOS device."
                }
              }
            }
          ],
          "description": "Your payload changes depending on whether you send to iOS devices through Google's Firebase Cloud Messaging (FCM) or Apple's Push Notification service (APNs)."
        },
        "android": {
          "type": "object",
          "required": [
            "message"
          ],
          "properties": {
            "message": {
              "type": "object",
              "properties": {
                "data": {
                  "type": "object",
                  "description": "Contains key-value pairs that your app interprets.",
                  "additionalProperties": {
                    "type": "string",
                    "x-doNotRender": true,
                    "x-additionalPropertiesName": "Attachment Names"
                  }
                },
                "android": {
                  "type": "object",
                  "properties": {
                    "notification": {
                      "type": "object",
                      "properties": {
                        "tag": {
                          "type": "string",
                          "description": "Identifier to replace existing notifications in the notification drawer. If empty, each request creates a new notification.\n\nIf you specify a tag, and a notification with the same tag is already being shown, the new notification replaces the existing one in the notification drawer. \n"
                        },
                        "icon": {
                          "type": "string",
                          "description": "Sets the notification icon to `myicon` for drawable resource `myicon`. If you don't send this key, FCM displays the launcher icon from your app manifest."
                        },
                        "color": {
                          "type": "string",
                          "description": "The notification's icon color in `#rrggbb` format."
                        },
                        "sound": {
                          "type": "string",
                          "description": "The sound that plays when the device receives the notification. Supports `\"default\"` or the filename of a sound resource bundled in your app. Sound files must reside in `/res/raw/`."
                        },
                        "body_loc_arg": {
                          "type": "string",
                          "description": "Variable string values used in place of the format specifiers in `body_loc_key` to localize the body text to the user's current localization. See Formatting and Styling for more information."
                        },
                        "body_loc_key": {
                          "type": "string",
                          "description": "The key to the body string in the app's string resources that you want to use to localize the body text to the user's current localization. See [String Resources](https://developer.android.com/guide/topics/resources/string-resource/) for more information."
                        },
                        "click_action": {
                          "type": "string",
                          "description": "The action that occurs when a user taps on the notification. Launches an activity with a matching intent filter when a person taps the notification."
                        },
                        "title_loc_arg": {
                          "type": "string",
                          "description": "Variable string values used in place of the format specifiers in `title_loc_key` to localize the title text to the user's current localization. See Formatting and Styling for more information."
                        },
                        "title_loc_key": {
                          "type": "string",
                          "description": "The key to the title string in the app's string resources that you want to use to localize the title text to the user's current localization. See [String Resources](https://developer.android.com/guide/topics/resources/string-resource/) for more information."
                        }
                      },
                      "description": "Properties supported specifically by Android on FCM."
                    }
                  },
                  "description": "Contains custom push options for your notification."
                },
                "notification": {
                  "type": "object",
                  "properties": {
                    "body": {
                      "type": "string",
                      "description": "The body of your push notification."
                    },
                    "title": {
                      "type": "string",
                      "description": "The title of your push notification."
                    }
                  },
                  "description": "Contains the push body and title."
                }
              },
              "description": "The parent object for Android custom push payloads."
            }
          },
          "description": "A custom push payload for Android devices."
        }
      },
      "description": "An optional list of key/value pairs to attach to the push payload. Due to a Firebase limitation we only support sending string key value pairs. This overrides every other parameter, including any Custom Payload from the transactional template (referenced by `transactional_message_id`)."
    }
  }
}
string trigger_event_id
{
  "type": "string",
  "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
  "nullable": true,
  "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
}
integer trigger_id
{
  "type": "integer",
  "example": 1,
  "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
}
integer updated
{
  "type": "integer",
  "format": "unix timestamp",
  "example": 1552341937,
  "readOnly": true,
  "description": "The date time when the referenced ID was last updated."
}
string url
{
  "type": "string",
  "example": "http://example.com/webhook",
  "description": "The URL of a webhook or action."
}
object v1_cio_relationships
{
  "type": "object",
  "properties": {
    "action": {
      "enum": [
        "add_relationships",
        "delete_relationships"
      ],
      "type": "string",
      "description": "This determines whether the `relationships` array adds relationships to a person or removes them from a person."
    },
    "relationships": {
      "type": "array",
      "items": {
        "allOf": [
          {
            "type": "object",
            "required": [
              "identifiers"
            ],
            "properties": {
              "identifiers": {
                "type": "object",
                "required": [
                  "object_type_id",
                  "object_id"
                ],
                "properties": {
                  "object_id": {
                    "type": "string",
                    "example": "acme",
                    "nullable": false,
                    "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly."
                  },
                  "object_type_id": {
                    "type": "string",
                    "example": "1",
                    "nullable": false,
                    "description": "The object type an object belongs to—like \"Companies\" or \"Accounts\". Object type IDs are string-formatted integers that begin at `1` and increment for each new type."
                  }
                },
                "description": "Represents an individual object, where the `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object."
              }
            }
          },
          {
            "type": "object",
            "properties": {
              "relationship_attributes": {
                "type": "object",
                "example": {
                  "role": "admin"
                },
                "description": "[Coming January 2024](https://customer.io/docs/api/app/) - If we have not rolled out relationship attributes to your account yet and you send them with your request, your request will go through but we won't store your relationship attributes. The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                "additionalProperties": {
                  "x-additionalPropertiesName": "Relationship Attributes"
                }
              }
            }
          }
        ]
      },
      "description": "Each object in the array represents a relationship you want to add to, or remove from, a person."
    }
  },
  "description": "Describes relationships to an entity—a non-person object in Customer.io, like a company, educational course, job board, etc."
}
array v2_cio_relationships
{
  "type": "array",
  "items": {
    "type": "object",
    "example": {
      "identifiers": {
        "id": "42X"
      },
      "relationship_attributes": {
        "role": "admin",
        "date_created": 1702480414
      }
    },
    "properties": {
      "identifiers": {
        "oneOf": [
          {
            "type": "object",
            "title": "id",
            "properties": {
              "id": {
                "type": "string",
                "example": "42",
                "description": "The ID of a customer profile, analogous to a \"person\" in the UI."
              }
            }
          },
          {
            "type": "object",
            "title": "email",
            "properties": {
              "email": {
                "type": "string",
                "example": "test@example.com",
                "description": "The email address of the customer."
              }
            }
          },
          {
            "type": "object",
            "title": "cio_id",
            "properties": {
              "cio_id": {
                "type": "string",
                "example": "a3000001",
                "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers."
              }
            }
          }
        ]
      },
      "relationship_attributes": {
        "type": "object",
        "description": "[Coming January 2024](https://customer.io/docs/api/app/) - If we have not rolled out relationship attributes to your account yet and you send them with your request, your request will go through but we won't store your relationship attributes. The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
        "additionalProperties": {
          "x-additionalPropertiesName": "Relationship Attributes"
        }
      }
    }
  },
  "description": "The people you want to associate with an object. Each object in the array represents a person."
}
integer variant_id
{
  "type": "integer",
  "readOnly": true,
  "description": "The identifier of a newsletter variant—a language in a multi-language newsletter or a test in an A/B test."
}
object webhookMetrics
{
  "type": "object",
  "properties": {
    "2xx": {
      "type": "integer",
      "description": "The number of 2xx responses."
    },
    "3xx": {
      "type": "integer",
      "description": "The number of 3xx responses."
    },
    "4xx": {
      "type": "integer",
      "description": "The number of 4xx responses."
    },
    "5xx": {
      "type": "integer",
      "description": "The number of 5xx responses."
    }
  }
}
object webhook_attempted
{
  "allOf": [
    {
      "type": "object",
      "required": [
        "event_id",
        "object_type",
        "timestamp"
      ],
      "properties": {
        "event_id": {
          "type": "string",
          "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
          "description": "The unique ID of the reporting webhook event being sent."
        },
        "timestamp": {
          "type": "integer",
          "format": "unix timestamp",
          "example": 1613063089,
          "description": "The unix timestamp when the event occurred."
        },
        "object_type": {
          "enum": [
            "webhook"
          ],
          "type": "string",
          "description": "The event relates to a webhook."
        }
      }
    },
    {
      "type": "object",
      "required": [
        "metric",
        "data"
      ],
      "properties": {
        "data": {
          "allOf": [
            {
              "oneOf": [
                {
                  "type": "object",
                  "title": "API triggered broadcast",
                  "required": [
                    "trigger_id",
                    "broadcast_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "trigger_id": {
                      "type": "integer",
                      "example": 1,
                      "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "broadcast_id": {
                      "type": "integer",
                      "example": 2,
                      "nullable": true,
                      "description": "The identifier for a broadcast."
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Campaign",
                  "required": [
                    "campaign_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "campaign_id": {
                      "type": "integer",
                      "example": 5,
                      "nullable": true,
                      "description": "The identifier for a campaign."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    },
                    "trigger_event_id": {
                      "type": "string",
                      "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                      "nullable": true,
                      "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Newsletter",
                  "required": [
                    "newsletter_id",
                    "delivery_id",
                    "identifiers"
                  ],
                  "properties": {
                    "content_id": {
                      "type": "integer",
                      "example": 3,
                      "description": "The identifier for a newsletter variant."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "newsletter_id": {
                      "type": "integer",
                      "example": 10,
                      "nullable": true,
                      "description": "The identifier for a newsletter."
                    }
                  }
                }
              ]
            },
            {
              "type": "object",
              "required": [
                "failure_message"
              ],
              "properties": {
                "failure_message": {
                  "type": "string",
                  "example": "Something went wrong!",
                  "description": "Indicates the reason that an attempted message failed."
                }
              }
            }
          ],
          "description": "Contains information about the event, specific to the `object_type` and `metric`."
        },
        "metric": {
          "enum": [
            "attempted"
          ],
          "type": "string",
          "description": "A webhook failed to send, but will be retried."
        }
      }
    }
  ],
  "title": "attempted"
}
object webhook_clicked
{
  "allOf": [
    {
      "type": "object",
      "required": [
        "event_id",
        "object_type",
        "timestamp"
      ],
      "properties": {
        "event_id": {
          "type": "string",
          "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
          "description": "The unique ID of the reporting webhook event being sent."
        },
        "timestamp": {
          "type": "integer",
          "format": "unix timestamp",
          "example": 1613063089,
          "description": "The unix timestamp when the event occurred."
        },
        "object_type": {
          "enum": [
            "webhook"
          ],
          "type": "string",
          "description": "The event relates to a webhook."
        }
      }
    },
    {
      "type": "object",
      "required": [
        "metric",
        "data"
      ],
      "properties": {
        "data": {
          "allOf": [
            {
              "oneOf": [
                {
                  "type": "object",
                  "title": "API triggered broadcast",
                  "required": [
                    "trigger_id",
                    "broadcast_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "trigger_id": {
                      "type": "integer",
                      "example": 1,
                      "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "broadcast_id": {
                      "type": "integer",
                      "example": 2,
                      "nullable": true,
                      "description": "The identifier for a broadcast."
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Campaign",
                  "required": [
                    "campaign_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "campaign_id": {
                      "type": "integer",
                      "example": 5,
                      "nullable": true,
                      "description": "The identifier for a campaign."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    },
                    "trigger_event_id": {
                      "type": "string",
                      "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                      "nullable": true,
                      "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Newsletter",
                  "required": [
                    "newsletter_id",
                    "delivery_id",
                    "identifiers"
                  ],
                  "properties": {
                    "content_id": {
                      "type": "integer",
                      "example": 3,
                      "description": "The identifier for a newsletter variant."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "newsletter_id": {
                      "type": "integer",
                      "example": 10,
                      "nullable": true,
                      "description": "The identifier for a newsletter."
                    }
                  }
                }
              ]
            },
            {
              "type": "object",
              "required": [
                "recipient",
                "link_id",
                "href"
              ],
              "properties": {
                "href": {
                  "type": "string",
                  "example": "https://www.customer.io/docs",
                  "description": "The URL of the link that a person clicked."
                },
                "link_id": {
                  "type": "integer",
                  "example": 1,
                  "description": "The identifier for the tracked link that a person clicked or tapped."
                },
                "recipient": {
                  "type": "string",
                  "description": "The URL the webhook was sent to."
                }
              }
            }
          ],
          "description": "Contains information about the event, specific to the `object_type` and `metric`."
        },
        "metric": {
          "enum": [
            "clicked"
          ],
          "type": "string",
          "description": "The webhook recipient opened a tracked link in the webhook payload."
        }
      }
    }
  ],
  "title": "clicked"
}
string webhook_customer_id
{
  "type": "string",
  "example": "42",
  "deprecated": true,
  "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
}
object webhook_drafted
{
  "allOf": [
    {
      "type": "object",
      "required": [
        "event_id",
        "object_type",
        "timestamp"
      ],
      "properties": {
        "event_id": {
          "type": "string",
          "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
          "description": "The unique ID of the reporting webhook event being sent."
        },
        "timestamp": {
          "type": "integer",
          "format": "unix timestamp",
          "example": 1613063089,
          "description": "The unix timestamp when the event occurred."
        },
        "object_type": {
          "enum": [
            "webhook"
          ],
          "type": "string",
          "description": "The event relates to a webhook."
        }
      }
    },
    {
      "type": "object",
      "required": [
        "metric",
        "data"
      ],
      "properties": {
        "data": {
          "oneOf": [
            {
              "type": "object",
              "title": "API triggered broadcast",
              "required": [
                "trigger_id",
                "broadcast_id",
                "delivery_id",
                "action_id",
                "identifiers"
              ],
              "properties": {
                "action_id": {
                  "type": "integer",
                  "example": 96,
                  "readOnly": true,
                  "description": "The identifier for an action."
                },
                "journey_id": {
                  "type": "string",
                  "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                  "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                },
                "trigger_id": {
                  "type": "integer",
                  "example": 1,
                  "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                },
                "customer_id": {
                  "type": "string",
                  "example": "42",
                  "deprecated": true,
                  "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                },
                "delivery_id": {
                  "type": "string",
                  "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                  "description": "The instance of a message sent to a person."
                },
                "identifiers": {
                  "type": "object",
                  "required": [
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "42",
                      "nullable": true,
                      "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                    },
                    "email": {
                      "type": "string",
                      "example": "test@example.com",
                      "nullable": true,
                      "description": "The email address of the customer."
                    },
                    "cio_id": {
                      "type": "string",
                      "example": "d9c106000001",
                      "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                    }
                  },
                  "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                },
                "broadcast_id": {
                  "type": "integer",
                  "example": 2,
                  "nullable": true,
                  "description": "The identifier for a broadcast."
                },
                "parent_action_id": {
                  "type": "integer",
                  "example": 1,
                  "readOnly": true,
                  "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                }
              }
            },
            {
              "type": "object",
              "title": "Campaign",
              "required": [
                "campaign_id",
                "delivery_id",
                "action_id",
                "identifiers"
              ],
              "properties": {
                "action_id": {
                  "type": "integer",
                  "example": 96,
                  "readOnly": true,
                  "description": "The identifier for an action."
                },
                "journey_id": {
                  "type": "string",
                  "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                  "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                },
                "campaign_id": {
                  "type": "integer",
                  "example": 5,
                  "nullable": true,
                  "description": "The identifier for a campaign."
                },
                "customer_id": {
                  "type": "string",
                  "example": "42",
                  "deprecated": true,
                  "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                },
                "delivery_id": {
                  "type": "string",
                  "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                  "description": "The instance of a message sent to a person."
                },
                "identifiers": {
                  "type": "object",
                  "required": [
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "42",
                      "nullable": true,
                      "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                    },
                    "email": {
                      "type": "string",
                      "example": "test@example.com",
                      "nullable": true,
                      "description": "The email address of the customer."
                    },
                    "cio_id": {
                      "type": "string",
                      "example": "d9c106000001",
                      "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                    }
                  },
                  "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                },
                "parent_action_id": {
                  "type": "integer",
                  "example": 1,
                  "readOnly": true,
                  "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                },
                "trigger_event_id": {
                  "type": "string",
                  "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                  "nullable": true,
                  "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                }
              }
            },
            {
              "type": "object",
              "title": "Newsletter",
              "required": [
                "newsletter_id",
                "delivery_id",
                "identifiers"
              ],
              "properties": {
                "content_id": {
                  "type": "integer",
                  "example": 3,
                  "description": "The identifier for a newsletter variant."
                },
                "customer_id": {
                  "type": "string",
                  "example": "42",
                  "deprecated": true,
                  "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                },
                "delivery_id": {
                  "type": "string",
                  "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                  "description": "The instance of a message sent to a person."
                },
                "identifiers": {
                  "type": "object",
                  "required": [
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "42",
                      "nullable": true,
                      "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                    },
                    "email": {
                      "type": "string",
                      "example": "test@example.com",
                      "nullable": true,
                      "description": "The email address of the customer."
                    },
                    "cio_id": {
                      "type": "string",
                      "example": "d9c106000001",
                      "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                    }
                  },
                  "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                },
                "newsletter_id": {
                  "type": "integer",
                  "example": 10,
                  "nullable": true,
                  "description": "The identifier for a newsletter."
                }
              }
            }
          ]
        },
        "metric": {
          "enum": [
            "drafted"
          ],
          "type": "string",
          "description": "A webhook draft was created."
        }
      }
    }
  ],
  "title": "drafted"
}
object webhook_event
{
  "oneOf": [
    {
      "allOf": [
        {
          "type": "object",
          "required": [
            "event_id",
            "object_type",
            "timestamp"
          ],
          "properties": {
            "event_id": {
              "type": "string",
              "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
              "description": "The unique ID of the reporting webhook event being sent."
            },
            "timestamp": {
              "type": "integer",
              "format": "unix timestamp",
              "example": 1613063089,
              "description": "The unix timestamp when the event occurred."
            },
            "object_type": {
              "enum": [
                "webhook"
              ],
              "type": "string",
              "description": "The event relates to a webhook."
            }
          }
        },
        {
          "type": "object",
          "required": [
            "metric",
            "data"
          ],
          "properties": {
            "data": {
              "oneOf": [
                {
                  "type": "object",
                  "title": "API triggered broadcast",
                  "required": [
                    "trigger_id",
                    "broadcast_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "trigger_id": {
                      "type": "integer",
                      "example": 1,
                      "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "broadcast_id": {
                      "type": "integer",
                      "example": 2,
                      "nullable": true,
                      "description": "The identifier for a broadcast."
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Campaign",
                  "required": [
                    "campaign_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "campaign_id": {
                      "type": "integer",
                      "example": 5,
                      "nullable": true,
                      "description": "The identifier for a campaign."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    },
                    "trigger_event_id": {
                      "type": "string",
                      "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                      "nullable": true,
                      "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Newsletter",
                  "required": [
                    "newsletter_id",
                    "delivery_id",
                    "identifiers"
                  ],
                  "properties": {
                    "content_id": {
                      "type": "integer",
                      "example": 3,
                      "description": "The identifier for a newsletter variant."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "newsletter_id": {
                      "type": "integer",
                      "example": 10,
                      "nullable": true,
                      "description": "The identifier for a newsletter."
                    }
                  }
                }
              ]
            },
            "metric": {
              "enum": [
                "drafted"
              ],
              "type": "string",
              "description": "A webhook draft was created."
            }
          }
        }
      ],
      "title": "drafted"
    },
    {
      "allOf": [
        {
          "type": "object",
          "required": [
            "event_id",
            "object_type",
            "timestamp"
          ],
          "properties": {
            "event_id": {
              "type": "string",
              "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
              "description": "The unique ID of the reporting webhook event being sent."
            },
            "timestamp": {
              "type": "integer",
              "format": "unix timestamp",
              "example": 1613063089,
              "description": "The unix timestamp when the event occurred."
            },
            "object_type": {
              "enum": [
                "webhook"
              ],
              "type": "string",
              "description": "The event relates to a webhook."
            }
          }
        },
        {
          "type": "object",
          "required": [
            "metric",
            "data"
          ],
          "properties": {
            "data": {
              "allOf": [
                {
                  "oneOf": [
                    {
                      "type": "object",
                      "title": "API triggered broadcast",
                      "required": [
                        "trigger_id",
                        "broadcast_id",
                        "delivery_id",
                        "action_id",
                        "identifiers"
                      ],
                      "properties": {
                        "action_id": {
                          "type": "integer",
                          "example": 96,
                          "readOnly": true,
                          "description": "The identifier for an action."
                        },
                        "journey_id": {
                          "type": "string",
                          "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                          "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                        },
                        "trigger_id": {
                          "type": "integer",
                          "example": 1,
                          "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "broadcast_id": {
                          "type": "integer",
                          "example": 2,
                          "nullable": true,
                          "description": "The identifier for a broadcast."
                        },
                        "parent_action_id": {
                          "type": "integer",
                          "example": 1,
                          "readOnly": true,
                          "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Campaign",
                      "required": [
                        "campaign_id",
                        "delivery_id",
                        "action_id",
                        "identifiers"
                      ],
                      "properties": {
                        "action_id": {
                          "type": "integer",
                          "example": 96,
                          "readOnly": true,
                          "description": "The identifier for an action."
                        },
                        "journey_id": {
                          "type": "string",
                          "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                          "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                        },
                        "campaign_id": {
                          "type": "integer",
                          "example": 5,
                          "nullable": true,
                          "description": "The identifier for a campaign."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "parent_action_id": {
                          "type": "integer",
                          "example": 1,
                          "readOnly": true,
                          "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                        },
                        "trigger_event_id": {
                          "type": "string",
                          "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                          "nullable": true,
                          "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Newsletter",
                      "required": [
                        "newsletter_id",
                        "delivery_id",
                        "identifiers"
                      ],
                      "properties": {
                        "content_id": {
                          "type": "integer",
                          "example": 3,
                          "description": "The identifier for a newsletter variant."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "newsletter_id": {
                          "type": "integer",
                          "example": 10,
                          "nullable": true,
                          "description": "The identifier for a newsletter."
                        }
                      }
                    }
                  ]
                },
                {
                  "type": "object",
                  "required": [
                    "failure_message"
                  ],
                  "properties": {
                    "failure_message": {
                      "type": "string",
                      "example": "Something went wrong!",
                      "description": "Indicates the reason that an attempted message failed."
                    }
                  }
                }
              ],
              "description": "Contains information about the event, specific to the `object_type` and `metric`."
            },
            "metric": {
              "enum": [
                "attempted"
              ],
              "type": "string",
              "description": "A webhook failed to send, but will be retried."
            }
          }
        }
      ],
      "title": "attempted"
    },
    {
      "allOf": [
        {
          "type": "object",
          "required": [
            "event_id",
            "object_type",
            "timestamp"
          ],
          "properties": {
            "event_id": {
              "type": "string",
              "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
              "description": "The unique ID of the reporting webhook event being sent."
            },
            "timestamp": {
              "type": "integer",
              "format": "unix timestamp",
              "example": 1613063089,
              "description": "The unix timestamp when the event occurred."
            },
            "object_type": {
              "enum": [
                "webhook"
              ],
              "type": "string",
              "description": "The event relates to a webhook."
            }
          }
        },
        {
          "type": "object",
          "required": [
            "metric",
            "data"
          ],
          "properties": {
            "data": {
              "allOf": [
                {
                  "oneOf": [
                    {
                      "type": "object",
                      "title": "API triggered broadcast",
                      "required": [
                        "trigger_id",
                        "broadcast_id",
                        "delivery_id",
                        "action_id",
                        "identifiers"
                      ],
                      "properties": {
                        "action_id": {
                          "type": "integer",
                          "example": 96,
                          "readOnly": true,
                          "description": "The identifier for an action."
                        },
                        "journey_id": {
                          "type": "string",
                          "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                          "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                        },
                        "trigger_id": {
                          "type": "integer",
                          "example": 1,
                          "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "broadcast_id": {
                          "type": "integer",
                          "example": 2,
                          "nullable": true,
                          "description": "The identifier for a broadcast."
                        },
                        "parent_action_id": {
                          "type": "integer",
                          "example": 1,
                          "readOnly": true,
                          "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Campaign",
                      "required": [
                        "campaign_id",
                        "delivery_id",
                        "action_id",
                        "identifiers"
                      ],
                      "properties": {
                        "action_id": {
                          "type": "integer",
                          "example": 96,
                          "readOnly": true,
                          "description": "The identifier for an action."
                        },
                        "journey_id": {
                          "type": "string",
                          "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                          "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                        },
                        "campaign_id": {
                          "type": "integer",
                          "example": 5,
                          "nullable": true,
                          "description": "The identifier for a campaign."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "parent_action_id": {
                          "type": "integer",
                          "example": 1,
                          "readOnly": true,
                          "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                        },
                        "trigger_event_id": {
                          "type": "string",
                          "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                          "nullable": true,
                          "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Newsletter",
                      "required": [
                        "newsletter_id",
                        "delivery_id",
                        "identifiers"
                      ],
                      "properties": {
                        "content_id": {
                          "type": "integer",
                          "example": 3,
                          "description": "The identifier for a newsletter variant."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "newsletter_id": {
                          "type": "integer",
                          "example": 10,
                          "nullable": true,
                          "description": "The identifier for a newsletter."
                        }
                      }
                    }
                  ]
                },
                {
                  "type": "object",
                  "required": [
                    "recipient"
                  ],
                  "properties": {
                    "content": {
                      "type": "string",
                      "description": "The stringified payload sent to your webhook address. This key only appears if you enabled the *Body Content* option when setting up your webhook."
                    },
                    "recipient": {
                      "type": "string",
                      "description": "The URL the webhook was sent to."
                    }
                  }
                }
              ],
              "description": "Contains information about the event, specific to the `object_type` and `metric`."
            },
            "metric": {
              "enum": [
                "sent"
              ],
              "type": "string",
              "description": "A webhook was sent from Customer.io. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your webhook."
            }
          }
        }
      ],
      "title": "sent"
    },
    {
      "allOf": [
        {
          "type": "object",
          "required": [
            "event_id",
            "object_type",
            "timestamp"
          ],
          "properties": {
            "event_id": {
              "type": "string",
              "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
              "description": "The unique ID of the reporting webhook event being sent."
            },
            "timestamp": {
              "type": "integer",
              "format": "unix timestamp",
              "example": 1613063089,
              "description": "The unix timestamp when the event occurred."
            },
            "object_type": {
              "enum": [
                "webhook"
              ],
              "type": "string",
              "description": "The event relates to a webhook."
            }
          }
        },
        {
          "type": "object",
          "required": [
            "metric",
            "data"
          ],
          "properties": {
            "data": {
              "allOf": [
                {
                  "oneOf": [
                    {
                      "type": "object",
                      "title": "API triggered broadcast",
                      "required": [
                        "trigger_id",
                        "broadcast_id",
                        "delivery_id",
                        "action_id",
                        "identifiers"
                      ],
                      "properties": {
                        "action_id": {
                          "type": "integer",
                          "example": 96,
                          "readOnly": true,
                          "description": "The identifier for an action."
                        },
                        "journey_id": {
                          "type": "string",
                          "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                          "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                        },
                        "trigger_id": {
                          "type": "integer",
                          "example": 1,
                          "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "broadcast_id": {
                          "type": "integer",
                          "example": 2,
                          "nullable": true,
                          "description": "The identifier for a broadcast."
                        },
                        "parent_action_id": {
                          "type": "integer",
                          "example": 1,
                          "readOnly": true,
                          "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Campaign",
                      "required": [
                        "campaign_id",
                        "delivery_id",
                        "action_id",
                        "identifiers"
                      ],
                      "properties": {
                        "action_id": {
                          "type": "integer",
                          "example": 96,
                          "readOnly": true,
                          "description": "The identifier for an action."
                        },
                        "journey_id": {
                          "type": "string",
                          "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                          "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                        },
                        "campaign_id": {
                          "type": "integer",
                          "example": 5,
                          "nullable": true,
                          "description": "The identifier for a campaign."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "parent_action_id": {
                          "type": "integer",
                          "example": 1,
                          "readOnly": true,
                          "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                        },
                        "trigger_event_id": {
                          "type": "string",
                          "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                          "nullable": true,
                          "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Newsletter",
                      "required": [
                        "newsletter_id",
                        "delivery_id",
                        "identifiers"
                      ],
                      "properties": {
                        "content_id": {
                          "type": "integer",
                          "example": 3,
                          "description": "The identifier for a newsletter variant."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "newsletter_id": {
                          "type": "integer",
                          "example": 10,
                          "nullable": true,
                          "description": "The identifier for a newsletter."
                        }
                      }
                    }
                  ]
                },
                {
                  "type": "object",
                  "required": [
                    "recipient",
                    "link_id",
                    "href"
                  ],
                  "properties": {
                    "href": {
                      "type": "string",
                      "example": "https://www.customer.io/docs",
                      "description": "The URL of the link that a person clicked."
                    },
                    "link_id": {
                      "type": "integer",
                      "example": 1,
                      "description": "The identifier for the tracked link that a person clicked or tapped."
                    },
                    "recipient": {
                      "type": "string",
                      "description": "The URL the webhook was sent to."
                    }
                  }
                }
              ],
              "description": "Contains information about the event, specific to the `object_type` and `metric`."
            },
            "metric": {
              "enum": [
                "clicked"
              ],
              "type": "string",
              "description": "The webhook recipient opened a tracked link in the webhook payload."
            }
          }
        }
      ],
      "title": "clicked"
    },
    {
      "allOf": [
        {
          "type": "object",
          "required": [
            "event_id",
            "object_type",
            "timestamp"
          ],
          "properties": {
            "event_id": {
              "type": "string",
              "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
              "description": "The unique ID of the reporting webhook event being sent."
            },
            "timestamp": {
              "type": "integer",
              "format": "unix timestamp",
              "example": 1613063089,
              "description": "The unix timestamp when the event occurred."
            },
            "object_type": {
              "enum": [
                "webhook"
              ],
              "type": "string",
              "description": "The event relates to a webhook."
            }
          }
        },
        {
          "type": "object",
          "required": [
            "metric",
            "data"
          ],
          "properties": {
            "data": {
              "allOf": [
                {
                  "oneOf": [
                    {
                      "type": "object",
                      "title": "API triggered broadcast",
                      "required": [
                        "trigger_id",
                        "broadcast_id",
                        "delivery_id",
                        "action_id",
                        "identifiers"
                      ],
                      "properties": {
                        "action_id": {
                          "type": "integer",
                          "example": 96,
                          "readOnly": true,
                          "description": "The identifier for an action."
                        },
                        "journey_id": {
                          "type": "string",
                          "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                          "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                        },
                        "trigger_id": {
                          "type": "integer",
                          "example": 1,
                          "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "broadcast_id": {
                          "type": "integer",
                          "example": 2,
                          "nullable": true,
                          "description": "The identifier for a broadcast."
                        },
                        "parent_action_id": {
                          "type": "integer",
                          "example": 1,
                          "readOnly": true,
                          "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Campaign",
                      "required": [
                        "campaign_id",
                        "delivery_id",
                        "action_id",
                        "identifiers"
                      ],
                      "properties": {
                        "action_id": {
                          "type": "integer",
                          "example": 96,
                          "readOnly": true,
                          "description": "The identifier for an action."
                        },
                        "journey_id": {
                          "type": "string",
                          "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                          "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                        },
                        "campaign_id": {
                          "type": "integer",
                          "example": 5,
                          "nullable": true,
                          "description": "The identifier for a campaign."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "parent_action_id": {
                          "type": "integer",
                          "example": 1,
                          "readOnly": true,
                          "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                        },
                        "trigger_event_id": {
                          "type": "string",
                          "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                          "nullable": true,
                          "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Newsletter",
                      "required": [
                        "newsletter_id",
                        "delivery_id",
                        "identifiers"
                      ],
                      "properties": {
                        "content_id": {
                          "type": "integer",
                          "example": 3,
                          "description": "The identifier for a newsletter variant."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "newsletter_id": {
                          "type": "integer",
                          "example": 10,
                          "nullable": true,
                          "description": "The identifier for a newsletter."
                        }
                      }
                    }
                  ]
                },
                {
                  "type": "object",
                  "required": [
                    "failure_message"
                  ],
                  "properties": {
                    "failure_message": {
                      "type": "string",
                      "example": "Something went wrong!",
                      "description": "Indicates the reason that an attempted message failed."
                    }
                  }
                }
              ],
              "description": "Contains information about the event, specific to the `object_type` and `metric`."
            },
            "metric": {
              "enum": [
                "failed"
              ],
              "type": "string",
              "description": "A webhook failed to send."
            }
          }
        }
      ],
      "title": "failed"
    },
    {
      "allOf": [
        {
          "type": "object",
          "required": [
            "event_id",
            "object_type",
            "timestamp"
          ],
          "properties": {
            "event_id": {
              "type": "string",
              "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
              "description": "The unique ID of the reporting webhook event being sent."
            },
            "timestamp": {
              "type": "integer",
              "format": "unix timestamp",
              "example": 1613063089,
              "description": "The unix timestamp when the event occurred."
            },
            "object_type": {
              "enum": [
                "webhook"
              ],
              "type": "string",
              "description": "The event relates to a webhook."
            }
          }
        },
        {
          "type": "object",
          "required": [
            "metric",
            "data"
          ],
          "properties": {
            "data": {
              "allOf": [
                {
                  "oneOf": [
                    {
                      "type": "object",
                      "title": "API triggered broadcast",
                      "required": [
                        "trigger_id",
                        "broadcast_id",
                        "delivery_id",
                        "action_id",
                        "identifiers"
                      ],
                      "properties": {
                        "action_id": {
                          "type": "integer",
                          "example": 96,
                          "readOnly": true,
                          "description": "The identifier for an action."
                        },
                        "journey_id": {
                          "type": "string",
                          "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                          "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                        },
                        "trigger_id": {
                          "type": "integer",
                          "example": 1,
                          "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "broadcast_id": {
                          "type": "integer",
                          "example": 2,
                          "nullable": true,
                          "description": "The identifier for a broadcast."
                        },
                        "parent_action_id": {
                          "type": "integer",
                          "example": 1,
                          "readOnly": true,
                          "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Campaign",
                      "required": [
                        "campaign_id",
                        "delivery_id",
                        "action_id",
                        "identifiers"
                      ],
                      "properties": {
                        "action_id": {
                          "type": "integer",
                          "example": 96,
                          "readOnly": true,
                          "description": "The identifier for an action."
                        },
                        "journey_id": {
                          "type": "string",
                          "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                          "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                        },
                        "campaign_id": {
                          "type": "integer",
                          "example": 5,
                          "nullable": true,
                          "description": "The identifier for a campaign."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "parent_action_id": {
                          "type": "integer",
                          "example": 1,
                          "readOnly": true,
                          "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                        },
                        "trigger_event_id": {
                          "type": "string",
                          "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                          "nullable": true,
                          "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                        }
                      }
                    },
                    {
                      "type": "object",
                      "title": "Newsletter",
                      "required": [
                        "newsletter_id",
                        "delivery_id",
                        "identifiers"
                      ],
                      "properties": {
                        "content_id": {
                          "type": "integer",
                          "example": 3,
                          "description": "The identifier for a newsletter variant."
                        },
                        "customer_id": {
                          "type": "string",
                          "example": "42",
                          "deprecated": true,
                          "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                        },
                        "delivery_id": {
                          "type": "string",
                          "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                          "description": "The instance of a message sent to a person."
                        },
                        "identifiers": {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "42",
                              "nullable": true,
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                            },
                            "email": {
                              "type": "string",
                              "example": "test@example.com",
                              "nullable": true,
                              "description": "The email address of the customer."
                            },
                            "cio_id": {
                              "type": "string",
                              "example": "d9c106000001",
                              "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                            }
                          },
                          "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                        },
                        "newsletter_id": {
                          "type": "integer",
                          "example": 10,
                          "nullable": true,
                          "description": "The identifier for a newsletter."
                        }
                      }
                    }
                  ]
                },
                {
                  "type": "object",
                  "required": [
                    "failure_message"
                  ],
                  "properties": {
                    "failure_message": {
                      "type": "string",
                      "example": "Something went wrong!",
                      "description": "Indicates the reason that an attempted message failed."
                    }
                  }
                }
              ],
              "description": "Contains information about the event, specific to the `object_type` and `metric`."
            },
            "metric": {
              "enum": [
                "undeliverable"
              ],
              "type": "string",
              "description": "A webhook/message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a newsletter that was cancelled or deleted, or an environment that has delivery disabled (which is something you might do if you’re testing an integration). If you’re not using message limits, you probably won’t see this event."
            }
          }
        }
      ],
      "title": "failed"
    }
  ],
  "title": "Webhook",
  "description": "Events pertaining to webhooks.",
  "discriminator": {
    "mapping": {
      "sent": "#/components/schemas/webhook_sent",
      "failed": "#/components/schemas/webhook_failed",
      "clicked": "#/components/schemas/webhook_clicked",
      "drafted": "#/components/schemas/webhook_drafted",
      "attempted": "#/components/schemas/webhook_attempted",
      "undeliverable": "#/components/schemas/webhook_undeliverable"
    },
    "propertyName": "metric"
  }
}
object webhook_event_common
{
  "type": "object",
  "required": [
    "event_id",
    "object_type",
    "timestamp"
  ],
  "properties": {
    "event_id": {
      "type": "string",
      "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
      "description": "The unique ID of the reporting webhook event being sent."
    },
    "timestamp": {
      "type": "integer",
      "format": "unix timestamp",
      "example": 1613063089,
      "description": "The unix timestamp when the event occurred."
    },
    "object_type": {
      "enum": [
        "webhook"
      ],
      "type": "string",
      "description": "The event relates to a webhook."
    }
  }
}
object webhook_events
{
  "type": "object",
  "properties": {
    "webhook_sent": {
      "type": "boolean",
      "description": "Reports when a webhook is sent from Customer.io to the webhook URL. Set to true to report this event type."
    },
    "webhook_failed": {
      "type": "boolean",
      "description": "Reports when a webhook couldn't be sent to the webhook URL. Set to true to report this event type."
    },
    "webhook_clicked": {
      "type": "boolean",
      "description": "Reports when a tracked link in a webhook payload is opened. Set to true to report this event type."
    },
    "webhook_drafted": {
      "type": "boolean",
      "description": "A webhook draft is created. Set to true to report this event type."
    },
    "webhook_attempted": {
      "type": "boolean",
      "description": "Reports when a webhook could not be sent and will retry. Set to true to report this event type."
    }
  },
  "description": "Describes the webhook events reported from Customer.io to a webhook."
}
object webhook_failed
{
  "allOf": [
    {
      "type": "object",
      "required": [
        "event_id",
        "object_type",
        "timestamp"
      ],
      "properties": {
        "event_id": {
          "type": "string",
          "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
          "description": "The unique ID of the reporting webhook event being sent."
        },
        "timestamp": {
          "type": "integer",
          "format": "unix timestamp",
          "example": 1613063089,
          "description": "The unix timestamp when the event occurred."
        },
        "object_type": {
          "enum": [
            "webhook"
          ],
          "type": "string",
          "description": "The event relates to a webhook."
        }
      }
    },
    {
      "type": "object",
      "required": [
        "metric",
        "data"
      ],
      "properties": {
        "data": {
          "allOf": [
            {
              "oneOf": [
                {
                  "type": "object",
                  "title": "API triggered broadcast",
                  "required": [
                    "trigger_id",
                    "broadcast_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "trigger_id": {
                      "type": "integer",
                      "example": 1,
                      "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "broadcast_id": {
                      "type": "integer",
                      "example": 2,
                      "nullable": true,
                      "description": "The identifier for a broadcast."
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Campaign",
                  "required": [
                    "campaign_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "campaign_id": {
                      "type": "integer",
                      "example": 5,
                      "nullable": true,
                      "description": "The identifier for a campaign."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    },
                    "trigger_event_id": {
                      "type": "string",
                      "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                      "nullable": true,
                      "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Newsletter",
                  "required": [
                    "newsletter_id",
                    "delivery_id",
                    "identifiers"
                  ],
                  "properties": {
                    "content_id": {
                      "type": "integer",
                      "example": 3,
                      "description": "The identifier for a newsletter variant."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "newsletter_id": {
                      "type": "integer",
                      "example": 10,
                      "nullable": true,
                      "description": "The identifier for a newsletter."
                    }
                  }
                }
              ]
            },
            {
              "type": "object",
              "required": [
                "failure_message"
              ],
              "properties": {
                "failure_message": {
                  "type": "string",
                  "example": "Something went wrong!",
                  "description": "Indicates the reason that an attempted message failed."
                }
              }
            }
          ],
          "description": "Contains information about the event, specific to the `object_type` and `metric`."
        },
        "metric": {
          "enum": [
            "failed"
          ],
          "type": "string",
          "description": "A webhook failed to send."
        }
      }
    }
  ],
  "title": "failed"
}
object webhook_identifiers
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "42",
      "nullable": true,
      "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
    },
    "email": {
      "type": "string",
      "example": "test@example.com",
      "nullable": true,
      "description": "The email address of the customer."
    },
    "cio_id": {
      "type": "string",
      "example": "d9c106000001",
      "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
    }
  },
  "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
}
string webhook_identifiers_id
{
  "type": "string",
  "example": "0200102",
  "description": "The ID of the person the webhook event represents. If your workspace uses `email` as a unique key, this value was automatically generated by Customer.io."
}
object webhook_sent
{
  "allOf": [
    {
      "type": "object",
      "required": [
        "event_id",
        "object_type",
        "timestamp"
      ],
      "properties": {
        "event_id": {
          "type": "string",
          "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
          "description": "The unique ID of the reporting webhook event being sent."
        },
        "timestamp": {
          "type": "integer",
          "format": "unix timestamp",
          "example": 1613063089,
          "description": "The unix timestamp when the event occurred."
        },
        "object_type": {
          "enum": [
            "webhook"
          ],
          "type": "string",
          "description": "The event relates to a webhook."
        }
      }
    },
    {
      "type": "object",
      "required": [
        "metric",
        "data"
      ],
      "properties": {
        "data": {
          "allOf": [
            {
              "oneOf": [
                {
                  "type": "object",
                  "title": "API triggered broadcast",
                  "required": [
                    "trigger_id",
                    "broadcast_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "trigger_id": {
                      "type": "integer",
                      "example": 1,
                      "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "broadcast_id": {
                      "type": "integer",
                      "example": 2,
                      "nullable": true,
                      "description": "The identifier for a broadcast."
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Campaign",
                  "required": [
                    "campaign_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "campaign_id": {
                      "type": "integer",
                      "example": 5,
                      "nullable": true,
                      "description": "The identifier for a campaign."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    },
                    "trigger_event_id": {
                      "type": "string",
                      "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                      "nullable": true,
                      "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Newsletter",
                  "required": [
                    "newsletter_id",
                    "delivery_id",
                    "identifiers"
                  ],
                  "properties": {
                    "content_id": {
                      "type": "integer",
                      "example": 3,
                      "description": "The identifier for a newsletter variant."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "newsletter_id": {
                      "type": "integer",
                      "example": 10,
                      "nullable": true,
                      "description": "The identifier for a newsletter."
                    }
                  }
                }
              ]
            },
            {
              "type": "object",
              "required": [
                "recipient"
              ],
              "properties": {
                "content": {
                  "type": "string",
                  "description": "The stringified payload sent to your webhook address. This key only appears if you enabled the *Body Content* option when setting up your webhook."
                },
                "recipient": {
                  "type": "string",
                  "description": "The URL the webhook was sent to."
                }
              }
            }
          ],
          "description": "Contains information about the event, specific to the `object_type` and `metric`."
        },
        "metric": {
          "enum": [
            "sent"
          ],
          "type": "string",
          "description": "A webhook was sent from Customer.io. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your webhook."
        }
      }
    }
  ],
  "title": "sent"
}
integer webhook_timestamp
{
  "type": "integer",
  "format": "unix timestamp",
  "example": 1613063089,
  "description": "The unix timestamp when the event occurred."
}
object webhook_undeliverable
{
  "allOf": [
    {
      "type": "object",
      "required": [
        "event_id",
        "object_type",
        "timestamp"
      ],
      "properties": {
        "event_id": {
          "type": "string",
          "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ",
          "description": "The unique ID of the reporting webhook event being sent."
        },
        "timestamp": {
          "type": "integer",
          "format": "unix timestamp",
          "example": 1613063089,
          "description": "The unix timestamp when the event occurred."
        },
        "object_type": {
          "enum": [
            "webhook"
          ],
          "type": "string",
          "description": "The event relates to a webhook."
        }
      }
    },
    {
      "type": "object",
      "required": [
        "metric",
        "data"
      ],
      "properties": {
        "data": {
          "allOf": [
            {
              "oneOf": [
                {
                  "type": "object",
                  "title": "API triggered broadcast",
                  "required": [
                    "trigger_id",
                    "broadcast_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "trigger_id": {
                      "type": "integer",
                      "example": 1,
                      "description": "The trigger ID returned by the [Trigger Broadcast API](https://customer.io/docs/api/app/)."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "broadcast_id": {
                      "type": "integer",
                      "example": 2,
                      "nullable": true,
                      "description": "The identifier for a broadcast."
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Campaign",
                  "required": [
                    "campaign_id",
                    "delivery_id",
                    "action_id",
                    "identifiers"
                  ],
                  "properties": {
                    "action_id": {
                      "type": "integer",
                      "example": 96,
                      "readOnly": true,
                      "description": "The identifier for an action."
                    },
                    "journey_id": {
                      "type": "string",
                      "example": "01GW20GXAAXBKZD8J96M8FNV3R",
                      "description": "The ID for the path a person went through in a Campaign or API Triggered Broadcast workflow."
                    },
                    "campaign_id": {
                      "type": "integer",
                      "example": 5,
                      "nullable": true,
                      "description": "The identifier for a campaign."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "parent_action_id": {
                      "type": "integer",
                      "example": 1,
                      "readOnly": true,
                      "description": "The ID of the parent action, if the action occurred within a campaign and has a parent (like a randomized split, etc)."
                    },
                    "trigger_event_id": {
                      "type": "string",
                      "example": "21E4C3CT6YDC7Y4N7FE1GWWABC",
                      "nullable": true,
                      "description": "The id of the event that triggered an event-triggered campaign (not an API-triggered broadcast)."
                    }
                  }
                },
                {
                  "type": "object",
                  "title": "Newsletter",
                  "required": [
                    "newsletter_id",
                    "delivery_id",
                    "identifiers"
                  ],
                  "properties": {
                    "content_id": {
                      "type": "integer",
                      "example": 3,
                      "description": "The identifier for a newsletter variant."
                    },
                    "customer_id": {
                      "type": "string",
                      "example": "42",
                      "deprecated": true,
                      "description": "The ID of the person the webhook event occurred to. Blank if the person in question has been deleted.\n\nWhile webhooks may still contain this property, you should rely on the newer `identifiers` object wherever possible.\n"
                    },
                    "delivery_id": {
                      "type": "string",
                      "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                      "description": "The instance of a message sent to a person."
                    },
                    "identifiers": {
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "42",
                          "nullable": true,
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI. If your workspace supports multiple identifiers (email and ID), this value can be null."
                        },
                        "email": {
                          "type": "string",
                          "example": "test@example.com",
                          "nullable": true,
                          "description": "The email address of the customer."
                        },
                        "cio_id": {
                          "type": "string",
                          "example": "d9c106000001",
                          "description": "The canonical identifier for a person, present only if your workspace supports multiple identifiers (email and ID). This value exists to keep a record of a person in your workspace across changes to their other identifiers."
                        }
                      },
                      "description": "The person the event represents. This object contains all of the identifiers available to people in your workspace, even if they aren't set. If your workspace supports multiple identifiers (email and ID), this object contains `id`, `email` (either of which can be null), and `cio_id`. \n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n"
                    },
                    "newsletter_id": {
                      "type": "integer",
                      "example": 10,
                      "nullable": true,
                      "description": "The identifier for a newsletter."
                    }
                  }
                }
              ]
            },
            {
              "type": "object",
              "required": [
                "failure_message"
              ],
              "properties": {
                "failure_message": {
                  "type": "string",
                  "example": "Something went wrong!",
                  "description": "Indicates the reason that an attempted message failed."
                }
              }
            }
          ],
          "description": "Contains information about the event, specific to the `object_type` and `metric`."
        },
        "metric": {
          "enum": [
            "undeliverable"
          ],
          "type": "string",
          "description": "A webhook/message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a newsletter that was cancelled or deleted, or an environment that has delivery disabled (which is something you might do if you’re testing an integration). If you’re not using message limits, you probably won’t see this event."
        }
      }
    }
  ],
  "title": "failed"
}
string widgetColor
{
  "type": "string",
  "description": "The color you want to use for this content. You can only set values here that are defined under [**Content** > **In-App Messages**](https://fly.customer.io/env/last/in-app-messages)."
}
array widgetComponents
{
  "type": "array",
  "items": {
    "type": "object"
  },
  "description": "An array of child components that you want to make available inside this widget."
}
string widgetCrossAxisAlignment
{
  "enum": [
    "center",
    "start",
    "end",
    "stretch",
    "baseline"
  ],
  "type": "string",
  "description": "The crossAxisAlignment property supports the following options"
}
integer widgetHeight
{
  "type": "integer",
  "description": "The height of the component in pixels, if you want to constrain it. If you don't set a height or width, we'll scale your content to fit your message or container."
}
string widgetMainAxisAlignment
{
  "enum": [
    "start",
    "end",
    "spaceBetween",
    "spaceAround",
    "spaceEvenly"
  ],
  "type": "string",
  "description": "The mainAxisAlignment property supports the following options."
}
integer widgetRadius
{
  "type": "integer",
  "description": "Sets the radius of corners for an item in pixels, similar to the `border-radius` CSS property."
}
integer widgetWidth
{
  "type": "integer",
  "description": "The width of the component in pixels, if you want to constrain it. If you don't set a height or width, we'll scale your content to fit your message or container."
}
object workspace
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "example": 13,
      "description": "The id of the workspace."
    },
    "name": {
      "type": "string",
      "example": "Workspace 1",
      "description": "The name of the workspace."
    },
    "people": {
      "type": "integer",
      "example": 25666,
      "description": "The current count of people profiles in the workspace. Updates roughly every hour."
    },
    "objects": {
      "type": "integer",
      "example": 10,
      "description": "The current count of object profiles in the workspace. Updates roughly every hour."
    },
    "object_types": {
      "type": "integer",
      "example": 4,
      "description": "The current count of object types in the workspace. Updates roughly every hour."
    },
    "messages_sent": {
      "type": "integer",
      "example": 100202,
      "description": "The count of [messages sent](https://customer.io/docs/api/app/) via any channel (email, SMS, in-app, push, slack) in the current billing period."
    },
    "billable_messages_sent": {
      "type": "integer",
      "example": 75124,
      "description": "The count of [emails sent](https://customer.io/docs/api/app/) that are considered for billing in your current billing period. Ultimately, we only bill for the overages on your plan."
    }
  },
  "description": "Contains workspace properties including the count of messages, people, and objects. Customer.io caches these counts, so your data may be up to two hours old."
}