{
  "components": {
    "schemas": {
      "anyType": {
        "x-scalar-ignore": true,
        "description": "Can be any type of value."
      },
      "anonymous_id": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "An identifier for an anonymous event, like a cookie. If set as an attribute on a person, any events bearing the same anonymous value are associated with this person. This value must be unique and is not reusable."
      },
      "cio_id": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
        "example": "a3000001"
      },
      "optoutChannels": {
        "x-scalar-ignore": true,
        "type": "array",
        "description": "The senders and channels that the person is opted out of. An entry's presence means the person is opted out of that sender on that channel.",
        "items": {
          "type": "object",
          "properties": {
            "channel": {
              "type": "string",
              "description": "The channel that the person is opted out of.",
              "enum": [
                "sms",
                "whatsapp"
              ],
              "example": "sms"
            },
            "from": {
              "type": "string",
              "description": "The sender that the person is opted out of. For SMS, this is a sender phone number (E.164), an alphanumeric sender ID, or a messaging-service SID; for WhatsApp, it's the sender phone number.",
              "example": "+15551234567"
            }
          }
        }
      },
      "collectionResponse": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "bytes": {
            "type": "integer",
            "description": "The size of the collection in bytes.",
            "example": 296
          },
          "created_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "id": {
            "type": "integer",
            "description": "The identifier for the collection. This is how you'll reference the collection from the API.",
            "example": 1
          },
          "name": {
            "type": "string",
            "description": "The name of the collection. This is how you'll reference the collection in liquid, e.g. `{{collection_name.data_property}}`.",
            "example": "upcoming events"
          },
          "rows": {
            "type": "integer",
            "description": "Represents the number of objects in the `data` array or CSV rows in your collection schema.",
            "example": 2
          },
          "schema": {
            "type": "array",
            "description": "Lists the top-level keys that you can reference within this collection. Customer.io does not enforce any of these keys as required from your `data`.",
            "items": {
              "type": "string"
            },
            "example": [
              "eventDate",
              "eventName",
              "presents"
            ]
          },
          "updated_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        }
      },
      "exportSharedProps": {
        "x-scalar-ignore": true,
        "description": "Contains properties shared by export filters.",
        "type": "object",
        "properties": {
          "attributes": {
            "description": "Recipient attributes you want to include as extra columns in your export. You can't include event or trigger properties.",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "drafts": {
            "x-scalar-ignore": true,
            "description": "If true, your request returns both drafts and active/sent messages.",
            "type": "boolean"
          },
          "end": {
            "x-scalar-ignore": true,
            "description": "The unix timestamp representing the end of the export.",
            "type": "integer",
            "format": "unix timestamp",
            "example": 1517702400
          },
          "metric": {
            "x-scalar-ignore": true,
            "description": "Determines the metric(s) you want to return.",
            "type": "string",
            "enum": [
              "created",
              "attempted",
              "sent",
              "delivered",
              "opened",
              "clicked",
              "converted",
              "bounced",
              "spammed",
              "unsubscribed",
              "dropped",
              "failed",
              "undeliverable"
            ]
          },
          "start": {
            "x-scalar-ignore": true,
            "description": "The unix timestamp representing the beginning of the export.",
            "type": "integer",
            "format": "unix timestamp",
            "example": 1517529600
          },
          "template_id": {
            "type": "integer",
            "description": "Restrict the export to a specific message template (content) within the selected automation, one-time send, or transactional message."
          }
        }
      },
      "next": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "Indicates the next page of results. Add `?start=<next_value>` to the request to get the next page of results."
      },
      "anonymousEventsRequest": {
        "x-scalar-ignore": true,
        "description": "An event attributed to an unknown person. If you provide an `anonymous_id` with the event, you can associate the event with a person later (using the anonymous ID).",
        "oneOf": [
          {
            "title": "Standard anonymous event",
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the event. This is how you'll reference the event in automations or segments."
              },
              "anonymous_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "An identifier for an anonymous event, like a cookie. If set as an attribute on a person, any events bearing the same anonymous value are associated with this person. This value must be unique and is not reusable."
              },
              "data": {
                "type": "object",
                "description": "Additional event data you can reference in Liquid or use to set customer attributes. You can include `from_address` and `reply_to`, but an event only triggers an automation if you associate it with a person within 72 hours.",
                "additionalProperties": {
                  "x-additionalPropertiesName": "liquid merge data",
                  "description": "Insert key-values that you want to reference in messages or convert to attributes if/when you associate this event with a person."
                },
                "properties": {
                  "from_address": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "format": "email",
                    "description": "The address you want to trigger messages from, overriding the `from` field in emails triggered by the event."
                  },
                  "reply_to": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The address that receives replies for the message, if applicable.",
                    "example": "replyto@example.com"
                  }
                }
              },
              "id": {
                "x-scalar-ignore": true,
                "type": "string",
                "format": "ulid",
                "description": "A [ULID](https://github.com/ulid/spec) we use to deduplicate events. If an event repeats a value we've already received, we ignore the duplicate. Our Python and Ruby libraries don't pass this ID."
              },
              "timestamp": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event took place. If you don't provide this value, we use the date-time when we receive the event.\n"
              },
              "type": {
                "type": "string",
                "description": "Sets the event type. If your event isn't a `page` or `screen` type event, we automatically set this property to `event`.",
                "enum": [
                  "event",
                  "page",
                  "screen"
                ]
              }
            },
            "example": {
              "name": "watched_video",
              "anonymous_id": "abc123",
              "data": {
                "video": "intro-to-platform"
              }
            }
          },
          {
            "title": "Page view",
            "type": "object",
            "required": [
              "name",
              "type"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the event. In general, this should be the URL of the page a person visited, making it easy to segment your audience or trigger automations using this event. Make sure you trim leading and trailing spaces from this field."
              },
              "type": {
                "type": "string",
                "description": "Indicates that the event represents a page view. See [\"page view\" events](/integrations/data-in/connections/javascript/legacy-js/events/#page-view-events), for more information.",
                "enum": [
                  "page"
                ]
              },
              "anonymous_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "An identifier for an anonymous event, like a cookie. If set as an attribute on a person, any events bearing the same anonymous value are associated with this person. This value must be unique and is not reusable."
              },
              "data": {
                "type": "object",
                "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on your customer (referenced by `customer_id`).",
                "additionalProperties": {
                  "x-additionalPropertiesName": "liquid merge data",
                  "description": "Insert key-values that you want to reference in messages or convert to attributes if/when you associate this event with a person."
                }
              },
              "id": {
                "x-scalar-ignore": true,
                "type": "string",
                "format": "ulid",
                "description": "A [ULID](https://github.com/ulid/spec) we use to deduplicate events. If an event repeats a value we've already received, we ignore the duplicate. Our Python and Ruby libraries don't pass this ID."
              },
              "timestamp": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event took place. If you don't provide this value, we use the date-time when we receive the event.\n"
              }
            },
            "example": {
              "name": "https://mysite.com/page",
              "type": "page",
              "anonymous_id": "abc123",
              "data": {
                "first_name": "Person"
              }
            }
          },
          {
            "title": "Mobile screen view",
            "type": "object",
            "required": [
              "name",
              "type"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The screen or deep link path the person viewed, so you can segment your audience or trigger automations from this event. Trim any leading and trailing spaces."
              },
              "type": {
                "type": "string",
                "description": "Indicates that the event represents a mobile screen view. You can also capture screen events directly with [our iOS SDK](/integrations/sdk/ios/track-events/#screen-view-events).",
                "enum": [
                  "screen"
                ]
              },
              "anonymous_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "An identifier for an anonymous event, like a cookie. If set as an attribute on a person, any events bearing the same anonymous value are associated with this person. This value must be unique and is not reusable."
              },
              "data": {
                "type": "object",
                "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on your customer (referenced by `customer_id`).",
                "additionalProperties": {
                  "x-additionalPropertiesName": "liquid merge data",
                  "description": "Insert key-values that you want to reference in messages or convert to attributes if/when you associate this event with a person."
                }
              },
              "id": {
                "x-scalar-ignore": true,
                "type": "string",
                "format": "ulid",
                "description": "A [ULID](https://github.com/ulid/spec) we use to deduplicate events. If an event repeats a value we've already received, we ignore the duplicate. Our Python and Ruby libraries don't pass this ID."
              },
              "timestamp": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event took place. If you don't provide this value, we use the date-time when we receive the event.\n"
              }
            },
            "example": {
              "name": "homepage",
              "type": "screen",
              "anonymous_id": "abc123"
            }
          }
        ]
      },
      "dedupe_id": {
        "x-scalar-ignore": true,
        "type": "string",
        "format": "ulid",
        "description": "A [ULID](https://github.com/ulid/spec) we use to deduplicate events. If an event repeats a value we've already received, we ignore the duplicate. Our Python and Ruby libraries don't pass this ID."
      },
      "eventsRequest": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "title": "Standard event",
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the event. This is how you'll reference the event in automations or segments."
              },
              "data": {
                "type": "object",
                "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on your customer (referenced by `customer_id`).",
                "additionalProperties": {
                  "x-additionalPropertiesName": "liquid merge data",
                  "description": "Insert key-values that you want to reference in your message here."
                },
                "properties": {
                  "from_address": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "format": "email",
                    "description": "The address you want to trigger messages from, overriding the `from` field in emails triggered by the event."
                  },
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "{{customer.email}}"
                  },
                  "reply_to": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The address that receives replies for the message, if applicable.",
                    "example": "replyto@example.com"
                  }
                }
              },
              "id": {
                "x-scalar-ignore": true,
                "type": "string",
                "format": "ulid",
                "description": "A [ULID](https://github.com/ulid/spec) we use to deduplicate events. If an event repeats a value we've already received, we ignore the duplicate. Our Python and Ruby libraries don't pass this ID."
              },
              "timestamp": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event took place. If you don't provide this value, we use the date-time when we receive the event.\n\n**NOTE**: Events with a timestamp in the past 72 hours can trigger automations.\n"
              },
              "type": {
                "type": "string",
                "description": "Sets the event type. If your event isn't a `page` or `screen` type event, we automatically set this property to `event`.",
                "enum": [
                  "event"
                ]
              }
            },
            "example": {
              "name": "purchase",
              "data": {
                "price": 23.45,
                "product": "socks"
              }
            }
          },
          {
            "title": "Page view",
            "type": "object",
            "required": [
              "name",
              "type"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the event. This is how you'll reference the event in automations or segments."
              },
              "type": {
                "type": "string",
                "description": "Indicates that the event represents a page view. See [\"page view\" events](/integrations/data-in/connections/javascript/legacy-js/events/#page-view-events), for more information.",
                "enum": [
                  "page"
                ]
              },
              "data": {
                "type": "object",
                "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on your customer (referenced by `customer_id`).",
                "additionalProperties": {
                  "x-additionalPropertiesName": "liquid merge data",
                  "description": "Insert key-values that you want to reference in messages or convert to attributes if/when you associate this event with a person."
                }
              },
              "id": {
                "x-scalar-ignore": true,
                "type": "string",
                "format": "ulid",
                "description": "A [ULID](https://github.com/ulid/spec) we use to deduplicate events. If an event repeats a value we've already received, we ignore the duplicate. Our Python and Ruby libraries don't pass this ID."
              },
              "timestamp": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event took place. If you don't provide this value, we use the date-time when we receive the event.\n"
              }
            },
            "example": {
              "name": "https://mysite.com/page",
              "type": "page",
              "data": {
                "first_name": "Cool",
                "last_name": "Person"
              }
            }
          },
          {
            "title": "Mobile screen view",
            "type": "object",
            "required": [
              "anonymous_id",
              "name",
              "type"
            ],
            "properties": {
              "anonymous_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "An identifier for an anonymous event, like a cookie. If set as an attribute on a person, any events bearing the same anonymous value are associated with this person. This value must be unique and is not reusable."
              },
              "name": {
                "type": "string",
                "description": "The screen or deep link path the person viewed, so you can segment your audience or trigger automations from this event. Trim any leading and trailing spaces."
              },
              "type": {
                "type": "string",
                "description": "Indicates that the event represents a mobile screen view. You can also capture screen events directly with [our iOS SDK](/integrations/sdk/ios/track-events/#screen-view-events).",
                "enum": [
                  "screen"
                ]
              },
              "data": {
                "type": "object",
                "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on your customer (referenced by `customer_id`).",
                "additionalProperties": {
                  "x-additionalPropertiesName": "liquid merge data",
                  "description": "Insert key-values that you want to reference in messages or convert to attributes if/when you associate this event with a person."
                }
              },
              "id": {
                "x-scalar-ignore": true,
                "type": "string",
                "format": "ulid",
                "description": "A [ULID](https://github.com/ulid/spec) we use to deduplicate events. If an event repeats a value we've already received, we ignore the duplicate. Our Python and Ruby libraries don't pass this ID."
              },
              "timestamp": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event took place. If you don't provide this value, we use the date-time when we receive the event.\n"
              }
            },
            "example": {
              "name": "homepage",
              "type": "screen",
              "data": {
                "from": "push-notification"
              }
            }
          }
        ]
      },
      "activityObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "customer_id": {
            "x-scalar-ignore": true,
            "type": [
              "string",
              "null"
            ],
            "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.",
            "example": "42"
          },
          "customer_identifiers": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "Identifiers for the person in a response—`id`, `cio_id`, and `email`. Unset `id` or `email` values are `null`. We recommend this object over the less descriptive `customer_id`. This object doesn't include `phone`, even if your workspace uses phone numbers as an identifier; look for the person's `phone` attribute instead.",
            "required": [
              "email",
              "id",
              "cio_id"
            ],
            "properties": {
              "cio_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                "example": "a3000001"
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "email",
                "description": "A person's email address, if set.",
                "example": "test@example.com"
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "A person's unique ID, if set. This is the same as the `customer_id` if present.",
                "example": 2
              }
            }
          },
          "data": {
            "oneOf": [
              {
                "title": "Message delivery",
                "type": "object",
                "properties": {
                  "delivered": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "format": "unix timestamp",
                    "description": "The date-time when the message was delivered, if applicable."
                  },
                  "delivery_id": {
                    "type": "string",
                    "description": "The message ID."
                  },
                  "opened": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "Indicates whether or not a customer opened a message, if the message was delivered."
                  }
                },
                "example": {
                  "delivered": null,
                  "delivery_id": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ==",
                  "opened": null
                }
              },
              {
                "title": "Attribute change",
                "description": "The name of the object is the attribute that changed.",
                "type": "object",
                "additionalProperties": {
                  "x-scalar-ignore": true,
                  "type": "object",
                  "properties": {
                    "from": {
                      "type": "string",
                      "description": "The old attribute value. If empty, the customer probably didn't bear the attribute before this action."
                    },
                    "to": {
                      "type": "string",
                      "description": "The new attribute value."
                    }
                  }
                },
                "example": {
                  "email": {
                    "from": "newPerson@example.com",
                    "to": "newPerson@customer.io"
                  }
                }
              }
            ]
          },
          "delivery_id": {
            "type": "string",
            "description": "The message ID.",
            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
          },
          "delivery_type": {
            "type": "string",
            "description": "The recipient device, if applicable.",
            "enum": [
              "ios",
              "android",
              "email",
              "phone"
            ],
            "example": "email"
          },
          "id": {
            "description": "The identifier for the action.",
            "type": "string",
            "example": "01AK4N8V8G8KVA4HN8Y50CCZ59"
          },
          "name": {
            "type": "string",
            "description": "The name of the event, for `event` and `screen` activities."
          },
          "timestamp": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date and time when the action occurred.",
            "example": 1397566226
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "The type of activity. Types with `_o:<object_type_id>` are for objects and types with `_r:<object_type_id>` are for relationships.",
            "type": "string",
            "enum": [
              "add_relationship",
              "anon_merge",
              "attempted_action",
              "attempted_email",
              "attempted_in_app",
              "attempted_push",
              "attempted_slack",
              "attempted_twilio",
              "attempted_webhook",
              "attempted_whatsapp",
              "attribute_change",
              "bounced_action",
              "bounced_email",
              "bounced_push",
              "bounced_twilio",
              "bounced_whatsapp",
              "clicked_action",
              "clicked_content",
              "clicked_email",
              "clicked_in_app",
              "clicked_push",
              "clicked_twilio",
              "clicked_webhook",
              "converted_action",
              "converted_content",
              "converted_email",
              "converted_in_app",
              "converted_slack",
              "converted_twilio",
              "converted_webhook",
              "converted_whatsapp",
              "deferred_action",
              "deferred_email",
              "deferred_in_app",
              "deferred_push",
              "deferred_slack",
              "deferred_twilio",
              "deferred_webhook",
              "deferred_whatsapp",
              "delete_relationship",
              "delivered_action",
              "delivered_email",
              "delivered_push",
              "delivered_twilio",
              "delivered_whatsapp",
              "device_change",
              "drafted_action",
              "drafted_email",
              "drafted_in_app",
              "drafted_push",
              "drafted_slack",
              "drafted_twilio",
              "drafted_webhook",
              "dropped_action",
              "dropped_email",
              "dropped_push",
              "dropped_twilio",
              "dropped_webhook",
              "dropped_whatasapp",
              "event",
              "failed_action",
              "failed_attribute_change",
              "failed_batch_update",
              "failed_email",
              "failed_event",
              "failed_in_app",
              "failed_object_journeys",
              "failed_push",
              "failed_query_collection",
              "failed_slack",
              "failed_twilio",
              "failed_webhook",
              "failed_whatsapp",
              "opened_action",
              "opened_email",
              "opened_in_app",
              "opened_push",
              "page",
              "profile_create",
              "profile_delete",
              "profile_merge",
              "relationship_attribute_change",
              "relationship_failed_attribute_change",
              "screen",
              "sent_action",
              "sent_email",
              "sent_in_app",
              "sent_push",
              "sent_slack",
              "sent_twilio",
              "sent_webhook",
              "sent_whatsapp",
              "skipped_update",
              "spammed_email",
              "suppressed_twilio",
              "suppressed_whatsapp",
              "topic_unsubscribed_email",
              "undeliverable_action",
              "undeliverable_email",
              "undeliverable_in_app",
              "undeliverable_push",
              "undeliverable_slack",
              "undeliverable_twilio",
              "undeliverable_webhook",
              "undeliverable_whatsapp",
              "unsubscribed_action",
              "unsubscribed_email",
              "viewed_content",
              "webhook_event",
              "_o:<object_type_id>:add_relationship",
              "_o:<object_type_id>:attribute_change",
              "_o:<object_type_id>:create",
              "_o:<object_type_id>:delete",
              "_o:<object_type_id>:delete_relationship",
              "_o:<object_type_id>:failed_attribute_change",
              "_r:<object_type_id>:attribute_change",
              "_r:<object_type_id>:failed_attribute_change"
            ],
            "example": "sent_email"
          },
          "url": {
            "type": "string",
            "description": "The page URL, for `page` activities."
          }
        }
      },
      "delivery_id": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The instance of a message sent to a person.",
        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
      },
      "activityTypes": {
        "x-scalar-ignore": true,
        "description": "The type of activity. Types with `_o:<object_type_id>` are for objects and types with `_r:<object_type_id>` are for relationships.",
        "type": "string",
        "enum": [
          "add_relationship",
          "anon_merge",
          "attempted_action",
          "attempted_email",
          "attempted_in_app",
          "attempted_push",
          "attempted_slack",
          "attempted_twilio",
          "attempted_webhook",
          "attempted_whatsapp",
          "attribute_change",
          "bounced_action",
          "bounced_email",
          "bounced_push",
          "bounced_twilio",
          "bounced_whatsapp",
          "clicked_action",
          "clicked_content",
          "clicked_email",
          "clicked_in_app",
          "clicked_push",
          "clicked_twilio",
          "clicked_webhook",
          "converted_action",
          "converted_content",
          "converted_email",
          "converted_in_app",
          "converted_slack",
          "converted_twilio",
          "converted_webhook",
          "converted_whatsapp",
          "deferred_action",
          "deferred_email",
          "deferred_in_app",
          "deferred_push",
          "deferred_slack",
          "deferred_twilio",
          "deferred_webhook",
          "deferred_whatsapp",
          "delete_relationship",
          "delivered_action",
          "delivered_email",
          "delivered_push",
          "delivered_twilio",
          "delivered_whatsapp",
          "device_change",
          "drafted_action",
          "drafted_email",
          "drafted_in_app",
          "drafted_push",
          "drafted_slack",
          "drafted_twilio",
          "drafted_webhook",
          "dropped_action",
          "dropped_email",
          "dropped_push",
          "dropped_twilio",
          "dropped_webhook",
          "dropped_whatasapp",
          "event",
          "failed_action",
          "failed_attribute_change",
          "failed_batch_update",
          "failed_email",
          "failed_event",
          "failed_in_app",
          "failed_object_journeys",
          "failed_push",
          "failed_query_collection",
          "failed_slack",
          "failed_twilio",
          "failed_webhook",
          "failed_whatsapp",
          "opened_action",
          "opened_email",
          "opened_in_app",
          "opened_push",
          "page",
          "profile_create",
          "profile_delete",
          "profile_merge",
          "relationship_attribute_change",
          "relationship_failed_attribute_change",
          "screen",
          "sent_action",
          "sent_email",
          "sent_in_app",
          "sent_push",
          "sent_slack",
          "sent_twilio",
          "sent_webhook",
          "sent_whatsapp",
          "skipped_update",
          "spammed_email",
          "suppressed_twilio",
          "suppressed_whatsapp",
          "topic_unsubscribed_email",
          "undeliverable_action",
          "undeliverable_email",
          "undeliverable_in_app",
          "undeliverable_push",
          "undeliverable_slack",
          "undeliverable_twilio",
          "undeliverable_webhook",
          "undeliverable_whatsapp",
          "unsubscribed_action",
          "unsubscribed_email",
          "viewed_content",
          "webhook_event",
          "_o:<object_type_id>:add_relationship",
          "_o:<object_type_id>:attribute_change",
          "_o:<object_type_id>:create",
          "_o:<object_type_id>:delete",
          "_o:<object_type_id>:delete_relationship",
          "_o:<object_type_id>:failed_attribute_change",
          "_r:<object_type_id>:attribute_change",
          "_r:<object_type_id>:failed_attribute_change"
        ],
        "example": "sent_email"
      },
      "attributeChangeAction": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "The old attribute value. If empty, the customer probably didn't bear the attribute before this action."
          },
          "to": {
            "type": "string",
            "description": "The new attribute value."
          }
        }
      },
      "segmentAudienceFilter": {
        "x-scalar-ignore": true,
        "title": "segment",
        "type": "object",
        "description": "Provide the `id` of a segment containing people you want to search for.",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The ID of the segment you want to return people from.",
            "example": 4
          }
        }
      },
      "attributeAudienceFilter": {
        "x-scalar-ignore": true,
        "title": "attribute",
        "description": "Filter your audience by attribute.",
        "type": "object",
        "required": [
          "field",
          "operator"
        ],
        "properties": {
          "field": {
            "type": "string",
            "description": "The name of the attribute you want to filter against.",
            "example": "first_name"
          },
          "operator": {
            "type": "string",
            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
            "enum": [
              "eq",
              "exists"
            ]
          },
          "value": {
            "type": "string",
            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
          }
        },
        "example": {
          "field": "unsubscribed",
          "operator": "eq",
          "value": true
        }
      },
      "simpleAudienceFilter": {
        "x-scalar-ignore": true,
        "anyOf": [
          {
            "title": "segment",
            "description": "Filter for people who belong to a segment.",
            "type": "object",
            "properties": {
              "segment": {
                "x-scalar-ignore": true,
                "title": "segment",
                "type": "object",
                "description": "Provide the `id` of a segment containing people you want to search for.",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "The ID of the segment you want to return people from.",
                    "example": 4
                  }
                }
              }
            }
          },
          {
            "title": "audience",
            "type": "object",
            "description": "filter for people who have an attribute or an attribute value.",
            "properties": {
              "attribute": {
                "x-scalar-ignore": true,
                "title": "attribute",
                "description": "Filter your audience by attribute.",
                "type": "object",
                "required": [
                  "field",
                  "operator"
                ],
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The name of the attribute you want to filter against.",
                    "example": "first_name"
                  },
                  "operator": {
                    "type": "string",
                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                  }
                },
                "example": {
                  "field": "unsubscribed",
                  "operator": "eq",
                  "value": true
                }
              }
            }
          }
        ]
      },
      "complexAudienceFilter": {
        "x-scalar-ignore": true,
        "title": "People Filter",
        "type": "object",
        "description": "Filter people with `and`, `or`, and `not` groups made from `segment` and `attribute` conditions.",
        "properties": {
          "and": {
            "type": "array",
            "description": "Returns results matching *all* conditions.",
            "items": {
              "x-scalar-ignore": true,
              "anyOf": [
                {
                  "title": "segment",
                  "description": "Filter for people who belong to a segment.",
                  "type": "object",
                  "properties": {
                    "segment": {
                      "x-scalar-ignore": true,
                      "title": "segment",
                      "type": "object",
                      "description": "Provide the `id` of a segment containing people you want to search for.",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "The ID of the segment you want to return people from.",
                          "example": 4
                        }
                      }
                    }
                  }
                },
                {
                  "title": "audience",
                  "type": "object",
                  "description": "filter for people who have an attribute or an attribute value.",
                  "properties": {
                    "attribute": {
                      "x-scalar-ignore": true,
                      "title": "attribute",
                      "description": "Filter your audience by attribute.",
                      "type": "object",
                      "required": [
                        "field",
                        "operator"
                      ],
                      "properties": {
                        "field": {
                          "type": "string",
                          "description": "The name of the attribute you want to filter against.",
                          "example": "first_name"
                        },
                        "operator": {
                          "type": "string",
                          "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                          "enum": [
                            "eq",
                            "exists"
                          ]
                        },
                        "value": {
                          "type": "string",
                          "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                        }
                      },
                      "example": {
                        "field": "unsubscribed",
                        "operator": "eq",
                        "value": true
                      }
                    }
                  }
                }
              ]
            }
          },
          "attribute": {
            "x-scalar-ignore": true,
            "title": "attribute",
            "description": "Filter your audience by attribute.",
            "type": "object",
            "required": [
              "field",
              "operator"
            ],
            "properties": {
              "field": {
                "type": "string",
                "description": "The name of the attribute you want to filter against.",
                "example": "first_name"
              },
              "operator": {
                "type": "string",
                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                "enum": [
                  "eq",
                  "exists"
                ]
              },
              "value": {
                "type": "string",
                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
              }
            },
            "example": {
              "field": "unsubscribed",
              "operator": "eq",
              "value": true
            }
          },
          "not": {
            "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
            "oneOf": [
              {
                "title": "and",
                "type": "object",
                "properties": {
                  "and": {
                    "type": "array",
                    "description": "Match *all* conditions to return results.",
                    "items": {
                      "x-scalar-ignore": true,
                      "anyOf": [
                        {
                          "title": "segment",
                          "description": "Filter for people who belong to a segment.",
                          "type": "object",
                          "properties": {
                            "segment": {
                              "x-scalar-ignore": true,
                              "title": "segment",
                              "type": "object",
                              "description": "Provide the `id` of a segment containing people you want to search for.",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "description": "The ID of the segment you want to return people from.",
                                  "example": 4
                                }
                              }
                            }
                          }
                        },
                        {
                          "title": "audience",
                          "type": "object",
                          "description": "filter for people who have an attribute or an attribute value.",
                          "properties": {
                            "attribute": {
                              "x-scalar-ignore": true,
                              "title": "attribute",
                              "description": "Filter your audience by attribute.",
                              "type": "object",
                              "required": [
                                "field",
                                "operator"
                              ],
                              "properties": {
                                "field": {
                                  "type": "string",
                                  "description": "The name of the attribute you want to filter against.",
                                  "example": "first_name"
                                },
                                "operator": {
                                  "type": "string",
                                  "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                  "enum": [
                                    "eq",
                                    "exists"
                                  ]
                                },
                                "value": {
                                  "type": "string",
                                  "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                }
                              },
                              "example": {
                                "field": "unsubscribed",
                                "operator": "eq",
                                "value": true
                              }
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              },
              {
                "title": "or",
                "type": "object",
                "properties": {
                  "or": {
                    "type": "array",
                    "description": "Match *any* condition to return results.",
                    "items": {
                      "x-scalar-ignore": true,
                      "anyOf": [
                        {
                          "title": "segment",
                          "description": "Filter for people who belong to a segment.",
                          "type": "object",
                          "properties": {
                            "segment": {
                              "x-scalar-ignore": true,
                              "title": "segment",
                              "type": "object",
                              "description": "Provide the `id` of a segment containing people you want to search for.",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "description": "The ID of the segment you want to return people from.",
                                  "example": 4
                                }
                              }
                            }
                          }
                        },
                        {
                          "title": "audience",
                          "type": "object",
                          "description": "filter for people who have an attribute or an attribute value.",
                          "properties": {
                            "attribute": {
                              "x-scalar-ignore": true,
                              "title": "attribute",
                              "description": "Filter your audience by attribute.",
                              "type": "object",
                              "required": [
                                "field",
                                "operator"
                              ],
                              "properties": {
                                "field": {
                                  "type": "string",
                                  "description": "The name of the attribute you want to filter against.",
                                  "example": "first_name"
                                },
                                "operator": {
                                  "type": "string",
                                  "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                  "enum": [
                                    "eq",
                                    "exists"
                                  ]
                                },
                                "value": {
                                  "type": "string",
                                  "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                }
                              },
                              "example": {
                                "field": "unsubscribed",
                                "operator": "eq",
                                "value": true
                              }
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              },
              {
                "title": "segment",
                "type": "object",
                "properties": {
                  "segment": {
                    "x-scalar-ignore": true,
                    "title": "segment",
                    "type": "object",
                    "description": "Provide the `id` of a segment containing people you want to search for.",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "The ID of the segment you want to return people from.",
                        "example": 4
                      }
                    }
                  }
                }
              },
              {
                "title": "attribute",
                "type": "object",
                "properties": {
                  "attribute": {
                    "x-scalar-ignore": true,
                    "title": "attribute",
                    "description": "Filter your audience by attribute.",
                    "type": "object",
                    "required": [
                      "field",
                      "operator"
                    ],
                    "properties": {
                      "field": {
                        "type": "string",
                        "description": "The name of the attribute you want to filter against.",
                        "example": "first_name"
                      },
                      "operator": {
                        "type": "string",
                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                        "enum": [
                          "eq",
                          "exists"
                        ]
                      },
                      "value": {
                        "type": "string",
                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                      }
                    },
                    "example": {
                      "field": "unsubscribed",
                      "operator": "eq",
                      "value": true
                    }
                  }
                }
              }
            ]
          },
          "or": {
            "type": "array",
            "description": "Returns results matching *any* conditions.",
            "items": {
              "x-scalar-ignore": true,
              "anyOf": [
                {
                  "title": "segment",
                  "description": "Filter for people who belong to a segment.",
                  "type": "object",
                  "properties": {
                    "segment": {
                      "x-scalar-ignore": true,
                      "title": "segment",
                      "type": "object",
                      "description": "Provide the `id` of a segment containing people you want to search for.",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "The ID of the segment you want to return people from.",
                          "example": 4
                        }
                      }
                    }
                  }
                },
                {
                  "title": "audience",
                  "type": "object",
                  "description": "filter for people who have an attribute or an attribute value.",
                  "properties": {
                    "attribute": {
                      "x-scalar-ignore": true,
                      "title": "attribute",
                      "description": "Filter your audience by attribute.",
                      "type": "object",
                      "required": [
                        "field",
                        "operator"
                      ],
                      "properties": {
                        "field": {
                          "type": "string",
                          "description": "The name of the attribute you want to filter against.",
                          "example": "first_name"
                        },
                        "operator": {
                          "type": "string",
                          "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                          "enum": [
                            "eq",
                            "exists"
                          ]
                        },
                        "value": {
                          "type": "string",
                          "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                        }
                      },
                      "example": {
                        "field": "unsubscribed",
                        "operator": "eq",
                        "value": true
                      }
                    }
                  }
                }
              ]
            }
          },
          "segment": {
            "x-scalar-ignore": true,
            "title": "segment",
            "type": "object",
            "description": "Provide the `id` of a segment containing people you want to search for.",
            "properties": {
              "id": {
                "type": "integer",
                "description": "The ID of the segment you want to return people from.",
                "example": 4
              }
            }
          }
        }
      },
      "andAudienceFilter": {
        "x-scalar-ignore": true,
        "title": "and",
        "type": "object",
        "properties": {
          "and": {
            "type": "array",
            "description": "Match *all* conditions to return results.",
            "items": {
              "type": "object",
              "properties": {
                "attribute": {
                  "x-scalar-ignore": true,
                  "title": "attribute",
                  "description": "Filter your audience by attribute.",
                  "type": "object",
                  "required": [
                    "field",
                    "operator"
                  ],
                  "properties": {
                    "field": {
                      "type": "string",
                      "description": "The name of the attribute you want to filter against.",
                      "example": "first_name"
                    },
                    "operator": {
                      "type": "string",
                      "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                      "enum": [
                        "eq",
                        "exists"
                      ]
                    },
                    "value": {
                      "type": "string",
                      "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                    }
                  },
                  "example": {
                    "field": "unsubscribed",
                    "operator": "eq",
                    "value": true
                  }
                },
                "not": {
                  "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                  "oneOf": [
                    {
                      "title": "and",
                      "type": "object",
                      "properties": {
                        "and": {
                          "type": "array",
                          "description": "Match *all* conditions to return results.",
                          "items": {
                            "x-scalar-ignore": true,
                            "anyOf": [
                              {
                                "title": "segment",
                                "description": "Filter for people who belong to a segment.",
                                "type": "object",
                                "properties": {
                                  "segment": {
                                    "x-scalar-ignore": true,
                                    "title": "segment",
                                    "type": "object",
                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                    "properties": {
                                      "id": {
                                        "type": "integer",
                                        "description": "The ID of the segment you want to return people from.",
                                        "example": 4
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "title": "audience",
                                "type": "object",
                                "description": "filter for people who have an attribute or an attribute value.",
                                "properties": {
                                  "attribute": {
                                    "x-scalar-ignore": true,
                                    "title": "attribute",
                                    "description": "Filter your audience by attribute.",
                                    "type": "object",
                                    "required": [
                                      "field",
                                      "operator"
                                    ],
                                    "properties": {
                                      "field": {
                                        "type": "string",
                                        "description": "The name of the attribute you want to filter against.",
                                        "example": "first_name"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                        "enum": [
                                          "eq",
                                          "exists"
                                        ]
                                      },
                                      "value": {
                                        "type": "string",
                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                      }
                                    },
                                    "example": {
                                      "field": "unsubscribed",
                                      "operator": "eq",
                                      "value": true
                                    }
                                  }
                                }
                              }
                            ]
                          }
                        }
                      }
                    },
                    {
                      "title": "or",
                      "type": "object",
                      "properties": {
                        "or": {
                          "type": "array",
                          "description": "Match *any* condition to return results.",
                          "items": {
                            "x-scalar-ignore": true,
                            "anyOf": [
                              {
                                "title": "segment",
                                "description": "Filter for people who belong to a segment.",
                                "type": "object",
                                "properties": {
                                  "segment": {
                                    "x-scalar-ignore": true,
                                    "title": "segment",
                                    "type": "object",
                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                    "properties": {
                                      "id": {
                                        "type": "integer",
                                        "description": "The ID of the segment you want to return people from.",
                                        "example": 4
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "title": "audience",
                                "type": "object",
                                "description": "filter for people who have an attribute or an attribute value.",
                                "properties": {
                                  "attribute": {
                                    "x-scalar-ignore": true,
                                    "title": "attribute",
                                    "description": "Filter your audience by attribute.",
                                    "type": "object",
                                    "required": [
                                      "field",
                                      "operator"
                                    ],
                                    "properties": {
                                      "field": {
                                        "type": "string",
                                        "description": "The name of the attribute you want to filter against.",
                                        "example": "first_name"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                        "enum": [
                                          "eq",
                                          "exists"
                                        ]
                                      },
                                      "value": {
                                        "type": "string",
                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                      }
                                    },
                                    "example": {
                                      "field": "unsubscribed",
                                      "operator": "eq",
                                      "value": true
                                    }
                                  }
                                }
                              }
                            ]
                          }
                        }
                      }
                    },
                    {
                      "title": "segment",
                      "type": "object",
                      "properties": {
                        "segment": {
                          "x-scalar-ignore": true,
                          "title": "segment",
                          "type": "object",
                          "description": "Provide the `id` of a segment containing people you want to search for.",
                          "properties": {
                            "id": {
                              "type": "integer",
                              "description": "The ID of the segment you want to return people from.",
                              "example": 4
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "attribute",
                      "type": "object",
                      "properties": {
                        "attribute": {
                          "x-scalar-ignore": true,
                          "title": "attribute",
                          "description": "Filter your audience by attribute.",
                          "type": "object",
                          "required": [
                            "field",
                            "operator"
                          ],
                          "properties": {
                            "field": {
                              "type": "string",
                              "description": "The name of the attribute you want to filter against.",
                              "example": "first_name"
                            },
                            "operator": {
                              "type": "string",
                              "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                              "enum": [
                                "eq",
                                "exists"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                            }
                          },
                          "example": {
                            "field": "unsubscribed",
                            "operator": "eq",
                            "value": true
                          }
                        }
                      }
                    }
                  ]
                },
                "or": {
                  "type": "array",
                  "description": "Returns results matching *any* conditions.",
                  "items": {
                    "x-scalar-ignore": true,
                    "anyOf": [
                      {
                        "title": "segment",
                        "description": "Filter for people who belong to a segment.",
                        "type": "object",
                        "properties": {
                          "segment": {
                            "x-scalar-ignore": true,
                            "title": "segment",
                            "type": "object",
                            "description": "Provide the `id` of a segment containing people you want to search for.",
                            "properties": {
                              "id": {
                                "type": "integer",
                                "description": "The ID of the segment you want to return people from.",
                                "example": 4
                              }
                            }
                          }
                        }
                      },
                      {
                        "title": "audience",
                        "type": "object",
                        "description": "filter for people who have an attribute or an attribute value.",
                        "properties": {
                          "attribute": {
                            "x-scalar-ignore": true,
                            "title": "attribute",
                            "description": "Filter your audience by attribute.",
                            "type": "object",
                            "required": [
                              "field",
                              "operator"
                            ],
                            "properties": {
                              "field": {
                                "type": "string",
                                "description": "The name of the attribute you want to filter against.",
                                "example": "first_name"
                              },
                              "operator": {
                                "type": "string",
                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                "enum": [
                                  "eq",
                                  "exists"
                                ]
                              },
                              "value": {
                                "type": "string",
                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                              }
                            },
                            "example": {
                              "field": "unsubscribed",
                              "operator": "eq",
                              "value": true
                            }
                          }
                        }
                      }
                    ]
                  }
                },
                "segment": {
                  "x-scalar-ignore": true,
                  "title": "segment",
                  "type": "object",
                  "description": "Provide the `id` of a segment containing people you want to search for.",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The ID of the segment you want to return people from.",
                      "example": 4
                    }
                  }
                }
              }
            }
          }
        }
      },
      "orAudienceFilter": {
        "x-scalar-ignore": true,
        "title": "or",
        "type": "object",
        "properties": {
          "or": {
            "type": "array",
            "description": "Match *any* condition to return results.",
            "items": {
              "type": "object",
              "properties": {
                "and": {
                  "type": "array",
                  "description": "Returns results matching *all* conditions.",
                  "items": {
                    "x-scalar-ignore": true,
                    "anyOf": [
                      {
                        "title": "segment",
                        "description": "Filter for people who belong to a segment.",
                        "type": "object",
                        "properties": {
                          "segment": {
                            "x-scalar-ignore": true,
                            "title": "segment",
                            "type": "object",
                            "description": "Provide the `id` of a segment containing people you want to search for.",
                            "properties": {
                              "id": {
                                "type": "integer",
                                "description": "The ID of the segment you want to return people from.",
                                "example": 4
                              }
                            }
                          }
                        }
                      },
                      {
                        "title": "audience",
                        "type": "object",
                        "description": "filter for people who have an attribute or an attribute value.",
                        "properties": {
                          "attribute": {
                            "x-scalar-ignore": true,
                            "title": "attribute",
                            "description": "Filter your audience by attribute.",
                            "type": "object",
                            "required": [
                              "field",
                              "operator"
                            ],
                            "properties": {
                              "field": {
                                "type": "string",
                                "description": "The name of the attribute you want to filter against.",
                                "example": "first_name"
                              },
                              "operator": {
                                "type": "string",
                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                "enum": [
                                  "eq",
                                  "exists"
                                ]
                              },
                              "value": {
                                "type": "string",
                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                              }
                            },
                            "example": {
                              "field": "unsubscribed",
                              "operator": "eq",
                              "value": true
                            }
                          }
                        }
                      }
                    ]
                  }
                },
                "attribute": {
                  "x-scalar-ignore": true,
                  "title": "attribute",
                  "description": "Filter your audience by attribute.",
                  "type": "object",
                  "required": [
                    "field",
                    "operator"
                  ],
                  "properties": {
                    "field": {
                      "type": "string",
                      "description": "The name of the attribute you want to filter against.",
                      "example": "first_name"
                    },
                    "operator": {
                      "type": "string",
                      "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                      "enum": [
                        "eq",
                        "exists"
                      ]
                    },
                    "value": {
                      "type": "string",
                      "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                    }
                  },
                  "example": {
                    "field": "unsubscribed",
                    "operator": "eq",
                    "value": true
                  }
                },
                "not": {
                  "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                  "oneOf": [
                    {
                      "title": "and",
                      "type": "object",
                      "properties": {
                        "and": {
                          "type": "array",
                          "description": "Match *all* conditions to return results.",
                          "items": {
                            "x-scalar-ignore": true,
                            "anyOf": [
                              {
                                "title": "segment",
                                "description": "Filter for people who belong to a segment.",
                                "type": "object",
                                "properties": {
                                  "segment": {
                                    "x-scalar-ignore": true,
                                    "title": "segment",
                                    "type": "object",
                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                    "properties": {
                                      "id": {
                                        "type": "integer",
                                        "description": "The ID of the segment you want to return people from.",
                                        "example": 4
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "title": "audience",
                                "type": "object",
                                "description": "filter for people who have an attribute or an attribute value.",
                                "properties": {
                                  "attribute": {
                                    "x-scalar-ignore": true,
                                    "title": "attribute",
                                    "description": "Filter your audience by attribute.",
                                    "type": "object",
                                    "required": [
                                      "field",
                                      "operator"
                                    ],
                                    "properties": {
                                      "field": {
                                        "type": "string",
                                        "description": "The name of the attribute you want to filter against.",
                                        "example": "first_name"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                        "enum": [
                                          "eq",
                                          "exists"
                                        ]
                                      },
                                      "value": {
                                        "type": "string",
                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                      }
                                    },
                                    "example": {
                                      "field": "unsubscribed",
                                      "operator": "eq",
                                      "value": true
                                    }
                                  }
                                }
                              }
                            ]
                          }
                        }
                      }
                    },
                    {
                      "title": "or",
                      "type": "object",
                      "properties": {
                        "or": {
                          "type": "array",
                          "description": "Match *any* condition to return results.",
                          "items": {
                            "x-scalar-ignore": true,
                            "anyOf": [
                              {
                                "title": "segment",
                                "description": "Filter for people who belong to a segment.",
                                "type": "object",
                                "properties": {
                                  "segment": {
                                    "x-scalar-ignore": true,
                                    "title": "segment",
                                    "type": "object",
                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                    "properties": {
                                      "id": {
                                        "type": "integer",
                                        "description": "The ID of the segment you want to return people from.",
                                        "example": 4
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "title": "audience",
                                "type": "object",
                                "description": "filter for people who have an attribute or an attribute value.",
                                "properties": {
                                  "attribute": {
                                    "x-scalar-ignore": true,
                                    "title": "attribute",
                                    "description": "Filter your audience by attribute.",
                                    "type": "object",
                                    "required": [
                                      "field",
                                      "operator"
                                    ],
                                    "properties": {
                                      "field": {
                                        "type": "string",
                                        "description": "The name of the attribute you want to filter against.",
                                        "example": "first_name"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                        "enum": [
                                          "eq",
                                          "exists"
                                        ]
                                      },
                                      "value": {
                                        "type": "string",
                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                      }
                                    },
                                    "example": {
                                      "field": "unsubscribed",
                                      "operator": "eq",
                                      "value": true
                                    }
                                  }
                                }
                              }
                            ]
                          }
                        }
                      }
                    },
                    {
                      "title": "segment",
                      "type": "object",
                      "properties": {
                        "segment": {
                          "x-scalar-ignore": true,
                          "title": "segment",
                          "type": "object",
                          "description": "Provide the `id` of a segment containing people you want to search for.",
                          "properties": {
                            "id": {
                              "type": "integer",
                              "description": "The ID of the segment you want to return people from.",
                              "example": 4
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "attribute",
                      "type": "object",
                      "properties": {
                        "attribute": {
                          "x-scalar-ignore": true,
                          "title": "attribute",
                          "description": "Filter your audience by attribute.",
                          "type": "object",
                          "required": [
                            "field",
                            "operator"
                          ],
                          "properties": {
                            "field": {
                              "type": "string",
                              "description": "The name of the attribute you want to filter against.",
                              "example": "first_name"
                            },
                            "operator": {
                              "type": "string",
                              "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                              "enum": [
                                "eq",
                                "exists"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                            }
                          },
                          "example": {
                            "field": "unsubscribed",
                            "operator": "eq",
                            "value": true
                          }
                        }
                      }
                    }
                  ]
                },
                "segment": {
                  "x-scalar-ignore": true,
                  "title": "segment",
                  "type": "object",
                  "description": "Provide the `id` of a segment containing people you want to search for.",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The ID of the segment you want to return people from.",
                      "example": 4
                    }
                  }
                }
              }
            }
          }
        }
      },
      "notAudienceFilter": {
        "x-scalar-ignore": true,
        "title": "not",
        "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
        "oneOf": [
          {
            "title": "and",
            "type": "object",
            "properties": {
              "and": {
                "type": "array",
                "description": "Match *all* conditions to return results.",
                "items": {
                  "x-scalar-ignore": true,
                  "title": "People Filter",
                  "type": "object",
                  "description": "Filter people with `and`, `or`, and `not` groups made from `segment` and `attribute` conditions.",
                  "properties": {
                    "and": {
                      "type": "array",
                      "description": "Returns results matching *all* conditions.",
                      "items": {
                        "x-scalar-ignore": true,
                        "anyOf": [
                          {
                            "title": "segment",
                            "description": "Filter for people who belong to a segment.",
                            "type": "object",
                            "properties": {
                              "segment": {
                                "x-scalar-ignore": true,
                                "title": "segment",
                                "type": "object",
                                "description": "Provide the `id` of a segment containing people you want to search for.",
                                "properties": {
                                  "id": {
                                    "type": "integer",
                                    "description": "The ID of the segment you want to return people from.",
                                    "example": 4
                                  }
                                }
                              }
                            }
                          },
                          {
                            "title": "audience",
                            "type": "object",
                            "description": "filter for people who have an attribute or an attribute value.",
                            "properties": {
                              "attribute": {
                                "x-scalar-ignore": true,
                                "title": "attribute",
                                "description": "Filter your audience by attribute.",
                                "type": "object",
                                "required": [
                                  "field",
                                  "operator"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "description": "The name of the attribute you want to filter against.",
                                    "example": "first_name"
                                  },
                                  "operator": {
                                    "type": "string",
                                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                    "enum": [
                                      "eq",
                                      "exists"
                                    ]
                                  },
                                  "value": {
                                    "type": "string",
                                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                  }
                                },
                                "example": {
                                  "field": "unsubscribed",
                                  "operator": "eq",
                                  "value": true
                                }
                              }
                            }
                          }
                        ]
                      }
                    },
                    "attribute": {
                      "x-scalar-ignore": true,
                      "title": "attribute",
                      "description": "Filter your audience by attribute.",
                      "type": "object",
                      "required": [
                        "field",
                        "operator"
                      ],
                      "properties": {
                        "field": {
                          "type": "string",
                          "description": "The name of the attribute you want to filter against.",
                          "example": "first_name"
                        },
                        "operator": {
                          "type": "string",
                          "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                          "enum": [
                            "eq",
                            "exists"
                          ]
                        },
                        "value": {
                          "type": "string",
                          "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                        }
                      },
                      "example": {
                        "field": "unsubscribed",
                        "operator": "eq",
                        "value": true
                      }
                    },
                    "not": {
                      "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                      "oneOf": [
                        {
                          "title": "and",
                          "type": "object",
                          "properties": {
                            "and": {
                              "type": "array",
                              "description": "Match *all* conditions to return results.",
                              "items": {
                                "x-scalar-ignore": true,
                                "anyOf": [
                                  {
                                    "title": "segment",
                                    "description": "Filter for people who belong to a segment.",
                                    "type": "object",
                                    "properties": {
                                      "segment": {
                                        "x-scalar-ignore": true,
                                        "title": "segment",
                                        "type": "object",
                                        "description": "Provide the `id` of a segment containing people you want to search for.",
                                        "properties": {
                                          "id": {
                                            "type": "integer",
                                            "description": "The ID of the segment you want to return people from.",
                                            "example": 4
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "title": "audience",
                                    "type": "object",
                                    "description": "filter for people who have an attribute or an attribute value.",
                                    "properties": {
                                      "attribute": {
                                        "x-scalar-ignore": true,
                                        "title": "attribute",
                                        "description": "Filter your audience by attribute.",
                                        "type": "object",
                                        "required": [
                                          "field",
                                          "operator"
                                        ],
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "description": "The name of the attribute you want to filter against.",
                                            "example": "first_name"
                                          },
                                          "operator": {
                                            "type": "string",
                                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                            "enum": [
                                              "eq",
                                              "exists"
                                            ]
                                          },
                                          "value": {
                                            "type": "string",
                                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                          }
                                        },
                                        "example": {
                                          "field": "unsubscribed",
                                          "operator": "eq",
                                          "value": true
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        },
                        {
                          "title": "or",
                          "type": "object",
                          "properties": {
                            "or": {
                              "type": "array",
                              "description": "Match *any* condition to return results.",
                              "items": {
                                "x-scalar-ignore": true,
                                "anyOf": [
                                  {
                                    "title": "segment",
                                    "description": "Filter for people who belong to a segment.",
                                    "type": "object",
                                    "properties": {
                                      "segment": {
                                        "x-scalar-ignore": true,
                                        "title": "segment",
                                        "type": "object",
                                        "description": "Provide the `id` of a segment containing people you want to search for.",
                                        "properties": {
                                          "id": {
                                            "type": "integer",
                                            "description": "The ID of the segment you want to return people from.",
                                            "example": 4
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "title": "audience",
                                    "type": "object",
                                    "description": "filter for people who have an attribute or an attribute value.",
                                    "properties": {
                                      "attribute": {
                                        "x-scalar-ignore": true,
                                        "title": "attribute",
                                        "description": "Filter your audience by attribute.",
                                        "type": "object",
                                        "required": [
                                          "field",
                                          "operator"
                                        ],
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "description": "The name of the attribute you want to filter against.",
                                            "example": "first_name"
                                          },
                                          "operator": {
                                            "type": "string",
                                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                            "enum": [
                                              "eq",
                                              "exists"
                                            ]
                                          },
                                          "value": {
                                            "type": "string",
                                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                          }
                                        },
                                        "example": {
                                          "field": "unsubscribed",
                                          "operator": "eq",
                                          "value": true
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        },
                        {
                          "title": "segment",
                          "type": "object",
                          "properties": {
                            "segment": {
                              "x-scalar-ignore": true,
                              "title": "segment",
                              "type": "object",
                              "description": "Provide the `id` of a segment containing people you want to search for.",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "description": "The ID of the segment you want to return people from.",
                                  "example": 4
                                }
                              }
                            }
                          }
                        },
                        {
                          "title": "attribute",
                          "type": "object",
                          "properties": {
                            "attribute": {
                              "x-scalar-ignore": true,
                              "title": "attribute",
                              "description": "Filter your audience by attribute.",
                              "type": "object",
                              "required": [
                                "field",
                                "operator"
                              ],
                              "properties": {
                                "field": {
                                  "type": "string",
                                  "description": "The name of the attribute you want to filter against.",
                                  "example": "first_name"
                                },
                                "operator": {
                                  "type": "string",
                                  "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                  "enum": [
                                    "eq",
                                    "exists"
                                  ]
                                },
                                "value": {
                                  "type": "string",
                                  "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                }
                              },
                              "example": {
                                "field": "unsubscribed",
                                "operator": "eq",
                                "value": true
                              }
                            }
                          }
                        }
                      ]
                    },
                    "or": {
                      "type": "array",
                      "description": "Returns results matching *any* conditions.",
                      "items": {
                        "x-scalar-ignore": true,
                        "anyOf": [
                          {
                            "title": "segment",
                            "description": "Filter for people who belong to a segment.",
                            "type": "object",
                            "properties": {
                              "segment": {
                                "x-scalar-ignore": true,
                                "title": "segment",
                                "type": "object",
                                "description": "Provide the `id` of a segment containing people you want to search for.",
                                "properties": {
                                  "id": {
                                    "type": "integer",
                                    "description": "The ID of the segment you want to return people from.",
                                    "example": 4
                                  }
                                }
                              }
                            }
                          },
                          {
                            "title": "audience",
                            "type": "object",
                            "description": "filter for people who have an attribute or an attribute value.",
                            "properties": {
                              "attribute": {
                                "x-scalar-ignore": true,
                                "title": "attribute",
                                "description": "Filter your audience by attribute.",
                                "type": "object",
                                "required": [
                                  "field",
                                  "operator"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "description": "The name of the attribute you want to filter against.",
                                    "example": "first_name"
                                  },
                                  "operator": {
                                    "type": "string",
                                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                    "enum": [
                                      "eq",
                                      "exists"
                                    ]
                                  },
                                  "value": {
                                    "type": "string",
                                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                  }
                                },
                                "example": {
                                  "field": "unsubscribed",
                                  "operator": "eq",
                                  "value": true
                                }
                              }
                            }
                          }
                        ]
                      }
                    },
                    "segment": {
                      "x-scalar-ignore": true,
                      "title": "segment",
                      "type": "object",
                      "description": "Provide the `id` of a segment containing people you want to search for.",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "The ID of the segment you want to return people from.",
                          "example": 4
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          {
            "title": "or",
            "type": "object",
            "properties": {
              "or": {
                "type": "array",
                "description": "Match *any* condition to return results.",
                "items": {
                  "x-scalar-ignore": true,
                  "title": "People Filter",
                  "type": "object",
                  "description": "Filter people with `and`, `or`, and `not` groups made from `segment` and `attribute` conditions.",
                  "properties": {
                    "and": {
                      "type": "array",
                      "description": "Returns results matching *all* conditions.",
                      "items": {
                        "x-scalar-ignore": true,
                        "anyOf": [
                          {
                            "title": "segment",
                            "description": "Filter for people who belong to a segment.",
                            "type": "object",
                            "properties": {
                              "segment": {
                                "x-scalar-ignore": true,
                                "title": "segment",
                                "type": "object",
                                "description": "Provide the `id` of a segment containing people you want to search for.",
                                "properties": {
                                  "id": {
                                    "type": "integer",
                                    "description": "The ID of the segment you want to return people from.",
                                    "example": 4
                                  }
                                }
                              }
                            }
                          },
                          {
                            "title": "audience",
                            "type": "object",
                            "description": "filter for people who have an attribute or an attribute value.",
                            "properties": {
                              "attribute": {
                                "x-scalar-ignore": true,
                                "title": "attribute",
                                "description": "Filter your audience by attribute.",
                                "type": "object",
                                "required": [
                                  "field",
                                  "operator"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "description": "The name of the attribute you want to filter against.",
                                    "example": "first_name"
                                  },
                                  "operator": {
                                    "type": "string",
                                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                    "enum": [
                                      "eq",
                                      "exists"
                                    ]
                                  },
                                  "value": {
                                    "type": "string",
                                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                  }
                                },
                                "example": {
                                  "field": "unsubscribed",
                                  "operator": "eq",
                                  "value": true
                                }
                              }
                            }
                          }
                        ]
                      }
                    },
                    "attribute": {
                      "x-scalar-ignore": true,
                      "title": "attribute",
                      "description": "Filter your audience by attribute.",
                      "type": "object",
                      "required": [
                        "field",
                        "operator"
                      ],
                      "properties": {
                        "field": {
                          "type": "string",
                          "description": "The name of the attribute you want to filter against.",
                          "example": "first_name"
                        },
                        "operator": {
                          "type": "string",
                          "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                          "enum": [
                            "eq",
                            "exists"
                          ]
                        },
                        "value": {
                          "type": "string",
                          "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                        }
                      },
                      "example": {
                        "field": "unsubscribed",
                        "operator": "eq",
                        "value": true
                      }
                    },
                    "not": {
                      "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                      "oneOf": [
                        {
                          "title": "and",
                          "type": "object",
                          "properties": {
                            "and": {
                              "type": "array",
                              "description": "Match *all* conditions to return results.",
                              "items": {
                                "x-scalar-ignore": true,
                                "anyOf": [
                                  {
                                    "title": "segment",
                                    "description": "Filter for people who belong to a segment.",
                                    "type": "object",
                                    "properties": {
                                      "segment": {
                                        "x-scalar-ignore": true,
                                        "title": "segment",
                                        "type": "object",
                                        "description": "Provide the `id` of a segment containing people you want to search for.",
                                        "properties": {
                                          "id": {
                                            "type": "integer",
                                            "description": "The ID of the segment you want to return people from.",
                                            "example": 4
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "title": "audience",
                                    "type": "object",
                                    "description": "filter for people who have an attribute or an attribute value.",
                                    "properties": {
                                      "attribute": {
                                        "x-scalar-ignore": true,
                                        "title": "attribute",
                                        "description": "Filter your audience by attribute.",
                                        "type": "object",
                                        "required": [
                                          "field",
                                          "operator"
                                        ],
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "description": "The name of the attribute you want to filter against.",
                                            "example": "first_name"
                                          },
                                          "operator": {
                                            "type": "string",
                                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                            "enum": [
                                              "eq",
                                              "exists"
                                            ]
                                          },
                                          "value": {
                                            "type": "string",
                                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                          }
                                        },
                                        "example": {
                                          "field": "unsubscribed",
                                          "operator": "eq",
                                          "value": true
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        },
                        {
                          "title": "or",
                          "type": "object",
                          "properties": {
                            "or": {
                              "type": "array",
                              "description": "Match *any* condition to return results.",
                              "items": {
                                "x-scalar-ignore": true,
                                "anyOf": [
                                  {
                                    "title": "segment",
                                    "description": "Filter for people who belong to a segment.",
                                    "type": "object",
                                    "properties": {
                                      "segment": {
                                        "x-scalar-ignore": true,
                                        "title": "segment",
                                        "type": "object",
                                        "description": "Provide the `id` of a segment containing people you want to search for.",
                                        "properties": {
                                          "id": {
                                            "type": "integer",
                                            "description": "The ID of the segment you want to return people from.",
                                            "example": 4
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "title": "audience",
                                    "type": "object",
                                    "description": "filter for people who have an attribute or an attribute value.",
                                    "properties": {
                                      "attribute": {
                                        "x-scalar-ignore": true,
                                        "title": "attribute",
                                        "description": "Filter your audience by attribute.",
                                        "type": "object",
                                        "required": [
                                          "field",
                                          "operator"
                                        ],
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "description": "The name of the attribute you want to filter against.",
                                            "example": "first_name"
                                          },
                                          "operator": {
                                            "type": "string",
                                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                            "enum": [
                                              "eq",
                                              "exists"
                                            ]
                                          },
                                          "value": {
                                            "type": "string",
                                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                          }
                                        },
                                        "example": {
                                          "field": "unsubscribed",
                                          "operator": "eq",
                                          "value": true
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        },
                        {
                          "title": "segment",
                          "type": "object",
                          "properties": {
                            "segment": {
                              "x-scalar-ignore": true,
                              "title": "segment",
                              "type": "object",
                              "description": "Provide the `id` of a segment containing people you want to search for.",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "description": "The ID of the segment you want to return people from.",
                                  "example": 4
                                }
                              }
                            }
                          }
                        },
                        {
                          "title": "attribute",
                          "type": "object",
                          "properties": {
                            "attribute": {
                              "x-scalar-ignore": true,
                              "title": "attribute",
                              "description": "Filter your audience by attribute.",
                              "type": "object",
                              "required": [
                                "field",
                                "operator"
                              ],
                              "properties": {
                                "field": {
                                  "type": "string",
                                  "description": "The name of the attribute you want to filter against.",
                                  "example": "first_name"
                                },
                                "operator": {
                                  "type": "string",
                                  "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                  "enum": [
                                    "eq",
                                    "exists"
                                  ]
                                },
                                "value": {
                                  "type": "string",
                                  "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                }
                              },
                              "example": {
                                "field": "unsubscribed",
                                "operator": "eq",
                                "value": true
                              }
                            }
                          }
                        }
                      ]
                    },
                    "or": {
                      "type": "array",
                      "description": "Returns results matching *any* conditions.",
                      "items": {
                        "x-scalar-ignore": true,
                        "anyOf": [
                          {
                            "title": "segment",
                            "description": "Filter for people who belong to a segment.",
                            "type": "object",
                            "properties": {
                              "segment": {
                                "x-scalar-ignore": true,
                                "title": "segment",
                                "type": "object",
                                "description": "Provide the `id` of a segment containing people you want to search for.",
                                "properties": {
                                  "id": {
                                    "type": "integer",
                                    "description": "The ID of the segment you want to return people from.",
                                    "example": 4
                                  }
                                }
                              }
                            }
                          },
                          {
                            "title": "audience",
                            "type": "object",
                            "description": "filter for people who have an attribute or an attribute value.",
                            "properties": {
                              "attribute": {
                                "x-scalar-ignore": true,
                                "title": "attribute",
                                "description": "Filter your audience by attribute.",
                                "type": "object",
                                "required": [
                                  "field",
                                  "operator"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "description": "The name of the attribute you want to filter against.",
                                    "example": "first_name"
                                  },
                                  "operator": {
                                    "type": "string",
                                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                    "enum": [
                                      "eq",
                                      "exists"
                                    ]
                                  },
                                  "value": {
                                    "type": "string",
                                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                  }
                                },
                                "example": {
                                  "field": "unsubscribed",
                                  "operator": "eq",
                                  "value": true
                                }
                              }
                            }
                          }
                        ]
                      }
                    },
                    "segment": {
                      "x-scalar-ignore": true,
                      "title": "segment",
                      "type": "object",
                      "description": "Provide the `id` of a segment containing people you want to search for.",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "The ID of the segment you want to return people from.",
                          "example": 4
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          {
            "title": "segment",
            "type": "object",
            "properties": {
              "segment": {
                "x-scalar-ignore": true,
                "title": "segment",
                "type": "object",
                "description": "Provide the `id` of a segment containing people you want to search for.",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "The ID of the segment you want to return people from.",
                    "example": 4
                  }
                }
              }
            }
          },
          {
            "title": "attribute",
            "type": "object",
            "properties": {
              "attribute": {
                "x-scalar-ignore": true,
                "title": "attribute",
                "description": "Filter your audience by attribute.",
                "type": "object",
                "required": [
                  "field",
                  "operator"
                ],
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The name of the attribute you want to filter against.",
                    "example": "first_name"
                  },
                  "operator": {
                    "type": "string",
                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                  }
                },
                "example": {
                  "field": "unsubscribed",
                  "operator": "eq",
                  "value": true
                }
              }
            }
          }
        ]
      },
      "audienceFilter": {
        "x-scalar-ignore": true,
        "title": "Audience Filter",
        "description": "Use `and`, `or`, and `not` to combine segment and attribute conditions. The top-level object accepts one property; nest groups for complex filters.",
        "oneOf": [
          {
            "x-scalar-ignore": true,
            "title": "and",
            "type": "object",
            "properties": {
              "and": {
                "type": "array",
                "description": "Match *all* conditions to return results.",
                "items": {
                  "type": "object",
                  "properties": {
                    "attribute": {
                      "x-scalar-ignore": true,
                      "title": "attribute",
                      "description": "Filter your audience by attribute.",
                      "type": "object",
                      "required": [
                        "field",
                        "operator"
                      ],
                      "properties": {
                        "field": {
                          "type": "string",
                          "description": "The name of the attribute you want to filter against.",
                          "example": "first_name"
                        },
                        "operator": {
                          "type": "string",
                          "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                          "enum": [
                            "eq",
                            "exists"
                          ]
                        },
                        "value": {
                          "type": "string",
                          "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                        }
                      },
                      "example": {
                        "field": "unsubscribed",
                        "operator": "eq",
                        "value": true
                      }
                    },
                    "not": {
                      "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                      "oneOf": [
                        {
                          "title": "and",
                          "type": "object",
                          "properties": {
                            "and": {
                              "type": "array",
                              "description": "Match *all* conditions to return results.",
                              "items": {
                                "x-scalar-ignore": true,
                                "anyOf": [
                                  {
                                    "title": "segment",
                                    "description": "Filter for people who belong to a segment.",
                                    "type": "object",
                                    "properties": {
                                      "segment": {
                                        "x-scalar-ignore": true,
                                        "title": "segment",
                                        "type": "object",
                                        "description": "Provide the `id` of a segment containing people you want to search for.",
                                        "properties": {
                                          "id": {
                                            "type": "integer",
                                            "description": "The ID of the segment you want to return people from.",
                                            "example": 4
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "title": "audience",
                                    "type": "object",
                                    "description": "filter for people who have an attribute or an attribute value.",
                                    "properties": {
                                      "attribute": {
                                        "x-scalar-ignore": true,
                                        "title": "attribute",
                                        "description": "Filter your audience by attribute.",
                                        "type": "object",
                                        "required": [
                                          "field",
                                          "operator"
                                        ],
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "description": "The name of the attribute you want to filter against.",
                                            "example": "first_name"
                                          },
                                          "operator": {
                                            "type": "string",
                                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                            "enum": [
                                              "eq",
                                              "exists"
                                            ]
                                          },
                                          "value": {
                                            "type": "string",
                                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                          }
                                        },
                                        "example": {
                                          "field": "unsubscribed",
                                          "operator": "eq",
                                          "value": true
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        },
                        {
                          "title": "or",
                          "type": "object",
                          "properties": {
                            "or": {
                              "type": "array",
                              "description": "Match *any* condition to return results.",
                              "items": {
                                "x-scalar-ignore": true,
                                "anyOf": [
                                  {
                                    "title": "segment",
                                    "description": "Filter for people who belong to a segment.",
                                    "type": "object",
                                    "properties": {
                                      "segment": {
                                        "x-scalar-ignore": true,
                                        "title": "segment",
                                        "type": "object",
                                        "description": "Provide the `id` of a segment containing people you want to search for.",
                                        "properties": {
                                          "id": {
                                            "type": "integer",
                                            "description": "The ID of the segment you want to return people from.",
                                            "example": 4
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "title": "audience",
                                    "type": "object",
                                    "description": "filter for people who have an attribute or an attribute value.",
                                    "properties": {
                                      "attribute": {
                                        "x-scalar-ignore": true,
                                        "title": "attribute",
                                        "description": "Filter your audience by attribute.",
                                        "type": "object",
                                        "required": [
                                          "field",
                                          "operator"
                                        ],
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "description": "The name of the attribute you want to filter against.",
                                            "example": "first_name"
                                          },
                                          "operator": {
                                            "type": "string",
                                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                            "enum": [
                                              "eq",
                                              "exists"
                                            ]
                                          },
                                          "value": {
                                            "type": "string",
                                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                          }
                                        },
                                        "example": {
                                          "field": "unsubscribed",
                                          "operator": "eq",
                                          "value": true
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        },
                        {
                          "title": "segment",
                          "type": "object",
                          "properties": {
                            "segment": {
                              "x-scalar-ignore": true,
                              "title": "segment",
                              "type": "object",
                              "description": "Provide the `id` of a segment containing people you want to search for.",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "description": "The ID of the segment you want to return people from.",
                                  "example": 4
                                }
                              }
                            }
                          }
                        },
                        {
                          "title": "attribute",
                          "type": "object",
                          "properties": {
                            "attribute": {
                              "x-scalar-ignore": true,
                              "title": "attribute",
                              "description": "Filter your audience by attribute.",
                              "type": "object",
                              "required": [
                                "field",
                                "operator"
                              ],
                              "properties": {
                                "field": {
                                  "type": "string",
                                  "description": "The name of the attribute you want to filter against.",
                                  "example": "first_name"
                                },
                                "operator": {
                                  "type": "string",
                                  "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                  "enum": [
                                    "eq",
                                    "exists"
                                  ]
                                },
                                "value": {
                                  "type": "string",
                                  "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                }
                              },
                              "example": {
                                "field": "unsubscribed",
                                "operator": "eq",
                                "value": true
                              }
                            }
                          }
                        }
                      ]
                    },
                    "or": {
                      "type": "array",
                      "description": "Returns results matching *any* conditions.",
                      "items": {
                        "x-scalar-ignore": true,
                        "anyOf": [
                          {
                            "title": "segment",
                            "description": "Filter for people who belong to a segment.",
                            "type": "object",
                            "properties": {
                              "segment": {
                                "x-scalar-ignore": true,
                                "title": "segment",
                                "type": "object",
                                "description": "Provide the `id` of a segment containing people you want to search for.",
                                "properties": {
                                  "id": {
                                    "type": "integer",
                                    "description": "The ID of the segment you want to return people from.",
                                    "example": 4
                                  }
                                }
                              }
                            }
                          },
                          {
                            "title": "audience",
                            "type": "object",
                            "description": "filter for people who have an attribute or an attribute value.",
                            "properties": {
                              "attribute": {
                                "x-scalar-ignore": true,
                                "title": "attribute",
                                "description": "Filter your audience by attribute.",
                                "type": "object",
                                "required": [
                                  "field",
                                  "operator"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "description": "The name of the attribute you want to filter against.",
                                    "example": "first_name"
                                  },
                                  "operator": {
                                    "type": "string",
                                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                    "enum": [
                                      "eq",
                                      "exists"
                                    ]
                                  },
                                  "value": {
                                    "type": "string",
                                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                  }
                                },
                                "example": {
                                  "field": "unsubscribed",
                                  "operator": "eq",
                                  "value": true
                                }
                              }
                            }
                          }
                        ]
                      }
                    },
                    "segment": {
                      "x-scalar-ignore": true,
                      "title": "segment",
                      "type": "object",
                      "description": "Provide the `id` of a segment containing people you want to search for.",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "The ID of the segment you want to return people from.",
                          "example": 4
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "or",
            "type": "object",
            "properties": {
              "or": {
                "type": "array",
                "description": "Match *any* condition to return results.",
                "items": {
                  "type": "object",
                  "properties": {
                    "and": {
                      "type": "array",
                      "description": "Returns results matching *all* conditions.",
                      "items": {
                        "x-scalar-ignore": true,
                        "anyOf": [
                          {
                            "title": "segment",
                            "description": "Filter for people who belong to a segment.",
                            "type": "object",
                            "properties": {
                              "segment": {
                                "x-scalar-ignore": true,
                                "title": "segment",
                                "type": "object",
                                "description": "Provide the `id` of a segment containing people you want to search for.",
                                "properties": {
                                  "id": {
                                    "type": "integer",
                                    "description": "The ID of the segment you want to return people from.",
                                    "example": 4
                                  }
                                }
                              }
                            }
                          },
                          {
                            "title": "audience",
                            "type": "object",
                            "description": "filter for people who have an attribute or an attribute value.",
                            "properties": {
                              "attribute": {
                                "x-scalar-ignore": true,
                                "title": "attribute",
                                "description": "Filter your audience by attribute.",
                                "type": "object",
                                "required": [
                                  "field",
                                  "operator"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "description": "The name of the attribute you want to filter against.",
                                    "example": "first_name"
                                  },
                                  "operator": {
                                    "type": "string",
                                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                    "enum": [
                                      "eq",
                                      "exists"
                                    ]
                                  },
                                  "value": {
                                    "type": "string",
                                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                  }
                                },
                                "example": {
                                  "field": "unsubscribed",
                                  "operator": "eq",
                                  "value": true
                                }
                              }
                            }
                          }
                        ]
                      }
                    },
                    "attribute": {
                      "x-scalar-ignore": true,
                      "title": "attribute",
                      "description": "Filter your audience by attribute.",
                      "type": "object",
                      "required": [
                        "field",
                        "operator"
                      ],
                      "properties": {
                        "field": {
                          "type": "string",
                          "description": "The name of the attribute you want to filter against.",
                          "example": "first_name"
                        },
                        "operator": {
                          "type": "string",
                          "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                          "enum": [
                            "eq",
                            "exists"
                          ]
                        },
                        "value": {
                          "type": "string",
                          "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                        }
                      },
                      "example": {
                        "field": "unsubscribed",
                        "operator": "eq",
                        "value": true
                      }
                    },
                    "not": {
                      "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                      "oneOf": [
                        {
                          "title": "and",
                          "type": "object",
                          "properties": {
                            "and": {
                              "type": "array",
                              "description": "Match *all* conditions to return results.",
                              "items": {
                                "x-scalar-ignore": true,
                                "anyOf": [
                                  {
                                    "title": "segment",
                                    "description": "Filter for people who belong to a segment.",
                                    "type": "object",
                                    "properties": {
                                      "segment": {
                                        "x-scalar-ignore": true,
                                        "title": "segment",
                                        "type": "object",
                                        "description": "Provide the `id` of a segment containing people you want to search for.",
                                        "properties": {
                                          "id": {
                                            "type": "integer",
                                            "description": "The ID of the segment you want to return people from.",
                                            "example": 4
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "title": "audience",
                                    "type": "object",
                                    "description": "filter for people who have an attribute or an attribute value.",
                                    "properties": {
                                      "attribute": {
                                        "x-scalar-ignore": true,
                                        "title": "attribute",
                                        "description": "Filter your audience by attribute.",
                                        "type": "object",
                                        "required": [
                                          "field",
                                          "operator"
                                        ],
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "description": "The name of the attribute you want to filter against.",
                                            "example": "first_name"
                                          },
                                          "operator": {
                                            "type": "string",
                                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                            "enum": [
                                              "eq",
                                              "exists"
                                            ]
                                          },
                                          "value": {
                                            "type": "string",
                                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                          }
                                        },
                                        "example": {
                                          "field": "unsubscribed",
                                          "operator": "eq",
                                          "value": true
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        },
                        {
                          "title": "or",
                          "type": "object",
                          "properties": {
                            "or": {
                              "type": "array",
                              "description": "Match *any* condition to return results.",
                              "items": {
                                "x-scalar-ignore": true,
                                "anyOf": [
                                  {
                                    "title": "segment",
                                    "description": "Filter for people who belong to a segment.",
                                    "type": "object",
                                    "properties": {
                                      "segment": {
                                        "x-scalar-ignore": true,
                                        "title": "segment",
                                        "type": "object",
                                        "description": "Provide the `id` of a segment containing people you want to search for.",
                                        "properties": {
                                          "id": {
                                            "type": "integer",
                                            "description": "The ID of the segment you want to return people from.",
                                            "example": 4
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "title": "audience",
                                    "type": "object",
                                    "description": "filter for people who have an attribute or an attribute value.",
                                    "properties": {
                                      "attribute": {
                                        "x-scalar-ignore": true,
                                        "title": "attribute",
                                        "description": "Filter your audience by attribute.",
                                        "type": "object",
                                        "required": [
                                          "field",
                                          "operator"
                                        ],
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "description": "The name of the attribute you want to filter against.",
                                            "example": "first_name"
                                          },
                                          "operator": {
                                            "type": "string",
                                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                            "enum": [
                                              "eq",
                                              "exists"
                                            ]
                                          },
                                          "value": {
                                            "type": "string",
                                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                          }
                                        },
                                        "example": {
                                          "field": "unsubscribed",
                                          "operator": "eq",
                                          "value": true
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            }
                          }
                        },
                        {
                          "title": "segment",
                          "type": "object",
                          "properties": {
                            "segment": {
                              "x-scalar-ignore": true,
                              "title": "segment",
                              "type": "object",
                              "description": "Provide the `id` of a segment containing people you want to search for.",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "description": "The ID of the segment you want to return people from.",
                                  "example": 4
                                }
                              }
                            }
                          }
                        },
                        {
                          "title": "attribute",
                          "type": "object",
                          "properties": {
                            "attribute": {
                              "x-scalar-ignore": true,
                              "title": "attribute",
                              "description": "Filter your audience by attribute.",
                              "type": "object",
                              "required": [
                                "field",
                                "operator"
                              ],
                              "properties": {
                                "field": {
                                  "type": "string",
                                  "description": "The name of the attribute you want to filter against.",
                                  "example": "first_name"
                                },
                                "operator": {
                                  "type": "string",
                                  "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                  "enum": [
                                    "eq",
                                    "exists"
                                  ]
                                },
                                "value": {
                                  "type": "string",
                                  "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                }
                              },
                              "example": {
                                "field": "unsubscribed",
                                "operator": "eq",
                                "value": true
                              }
                            }
                          }
                        }
                      ]
                    },
                    "segment": {
                      "x-scalar-ignore": true,
                      "title": "segment",
                      "type": "object",
                      "description": "Provide the `id` of a segment containing people you want to search for.",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "description": "The ID of the segment you want to return people from.",
                          "example": 4
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "not",
            "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
            "oneOf": [
              {
                "title": "and",
                "type": "object",
                "properties": {
                  "and": {
                    "type": "array",
                    "description": "Match *all* conditions to return results.",
                    "items": {
                      "x-scalar-ignore": true,
                      "title": "People Filter",
                      "type": "object",
                      "description": "Filter people with `and`, `or`, and `not` groups made from `segment` and `attribute` conditions.",
                      "properties": {
                        "and": {
                          "type": "array",
                          "description": "Returns results matching *all* conditions.",
                          "items": {
                            "x-scalar-ignore": true,
                            "anyOf": [
                              {
                                "title": "segment",
                                "description": "Filter for people who belong to a segment.",
                                "type": "object",
                                "properties": {
                                  "segment": {
                                    "x-scalar-ignore": true,
                                    "title": "segment",
                                    "type": "object",
                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                    "properties": {
                                      "id": {
                                        "type": "integer",
                                        "description": "The ID of the segment you want to return people from.",
                                        "example": 4
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "title": "audience",
                                "type": "object",
                                "description": "filter for people who have an attribute or an attribute value.",
                                "properties": {
                                  "attribute": {
                                    "x-scalar-ignore": true,
                                    "title": "attribute",
                                    "description": "Filter your audience by attribute.",
                                    "type": "object",
                                    "required": [
                                      "field",
                                      "operator"
                                    ],
                                    "properties": {
                                      "field": {
                                        "type": "string",
                                        "description": "The name of the attribute you want to filter against.",
                                        "example": "first_name"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                        "enum": [
                                          "eq",
                                          "exists"
                                        ]
                                      },
                                      "value": {
                                        "type": "string",
                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                      }
                                    },
                                    "example": {
                                      "field": "unsubscribed",
                                      "operator": "eq",
                                      "value": true
                                    }
                                  }
                                }
                              }
                            ]
                          }
                        },
                        "attribute": {
                          "x-scalar-ignore": true,
                          "title": "attribute",
                          "description": "Filter your audience by attribute.",
                          "type": "object",
                          "required": [
                            "field",
                            "operator"
                          ],
                          "properties": {
                            "field": {
                              "type": "string",
                              "description": "The name of the attribute you want to filter against.",
                              "example": "first_name"
                            },
                            "operator": {
                              "type": "string",
                              "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                              "enum": [
                                "eq",
                                "exists"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                            }
                          },
                          "example": {
                            "field": "unsubscribed",
                            "operator": "eq",
                            "value": true
                          }
                        },
                        "not": {
                          "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                          "oneOf": [
                            {
                              "title": "and",
                              "type": "object",
                              "properties": {
                                "and": {
                                  "type": "array",
                                  "description": "Match *all* conditions to return results.",
                                  "items": {
                                    "x-scalar-ignore": true,
                                    "anyOf": [
                                      {
                                        "title": "segment",
                                        "description": "Filter for people who belong to a segment.",
                                        "type": "object",
                                        "properties": {
                                          "segment": {
                                            "x-scalar-ignore": true,
                                            "title": "segment",
                                            "type": "object",
                                            "description": "Provide the `id` of a segment containing people you want to search for.",
                                            "properties": {
                                              "id": {
                                                "type": "integer",
                                                "description": "The ID of the segment you want to return people from.",
                                                "example": 4
                                              }
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "title": "audience",
                                        "type": "object",
                                        "description": "filter for people who have an attribute or an attribute value.",
                                        "properties": {
                                          "attribute": {
                                            "x-scalar-ignore": true,
                                            "title": "attribute",
                                            "description": "Filter your audience by attribute.",
                                            "type": "object",
                                            "required": [
                                              "field",
                                              "operator"
                                            ],
                                            "properties": {
                                              "field": {
                                                "type": "string",
                                                "description": "The name of the attribute you want to filter against.",
                                                "example": "first_name"
                                              },
                                              "operator": {
                                                "type": "string",
                                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                "enum": [
                                                  "eq",
                                                  "exists"
                                                ]
                                              },
                                              "value": {
                                                "type": "string",
                                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                              }
                                            },
                                            "example": {
                                              "field": "unsubscribed",
                                              "operator": "eq",
                                              "value": true
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              }
                            },
                            {
                              "title": "or",
                              "type": "object",
                              "properties": {
                                "or": {
                                  "type": "array",
                                  "description": "Match *any* condition to return results.",
                                  "items": {
                                    "x-scalar-ignore": true,
                                    "anyOf": [
                                      {
                                        "title": "segment",
                                        "description": "Filter for people who belong to a segment.",
                                        "type": "object",
                                        "properties": {
                                          "segment": {
                                            "x-scalar-ignore": true,
                                            "title": "segment",
                                            "type": "object",
                                            "description": "Provide the `id` of a segment containing people you want to search for.",
                                            "properties": {
                                              "id": {
                                                "type": "integer",
                                                "description": "The ID of the segment you want to return people from.",
                                                "example": 4
                                              }
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "title": "audience",
                                        "type": "object",
                                        "description": "filter for people who have an attribute or an attribute value.",
                                        "properties": {
                                          "attribute": {
                                            "x-scalar-ignore": true,
                                            "title": "attribute",
                                            "description": "Filter your audience by attribute.",
                                            "type": "object",
                                            "required": [
                                              "field",
                                              "operator"
                                            ],
                                            "properties": {
                                              "field": {
                                                "type": "string",
                                                "description": "The name of the attribute you want to filter against.",
                                                "example": "first_name"
                                              },
                                              "operator": {
                                                "type": "string",
                                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                "enum": [
                                                  "eq",
                                                  "exists"
                                                ]
                                              },
                                              "value": {
                                                "type": "string",
                                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                              }
                                            },
                                            "example": {
                                              "field": "unsubscribed",
                                              "operator": "eq",
                                              "value": true
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              }
                            },
                            {
                              "title": "segment",
                              "type": "object",
                              "properties": {
                                "segment": {
                                  "x-scalar-ignore": true,
                                  "title": "segment",
                                  "type": "object",
                                  "description": "Provide the `id` of a segment containing people you want to search for.",
                                  "properties": {
                                    "id": {
                                      "type": "integer",
                                      "description": "The ID of the segment you want to return people from.",
                                      "example": 4
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "title": "attribute",
                              "type": "object",
                              "properties": {
                                "attribute": {
                                  "x-scalar-ignore": true,
                                  "title": "attribute",
                                  "description": "Filter your audience by attribute.",
                                  "type": "object",
                                  "required": [
                                    "field",
                                    "operator"
                                  ],
                                  "properties": {
                                    "field": {
                                      "type": "string",
                                      "description": "The name of the attribute you want to filter against.",
                                      "example": "first_name"
                                    },
                                    "operator": {
                                      "type": "string",
                                      "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                      "enum": [
                                        "eq",
                                        "exists"
                                      ]
                                    },
                                    "value": {
                                      "type": "string",
                                      "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                    }
                                  },
                                  "example": {
                                    "field": "unsubscribed",
                                    "operator": "eq",
                                    "value": true
                                  }
                                }
                              }
                            }
                          ]
                        },
                        "or": {
                          "type": "array",
                          "description": "Returns results matching *any* conditions.",
                          "items": {
                            "x-scalar-ignore": true,
                            "anyOf": [
                              {
                                "title": "segment",
                                "description": "Filter for people who belong to a segment.",
                                "type": "object",
                                "properties": {
                                  "segment": {
                                    "x-scalar-ignore": true,
                                    "title": "segment",
                                    "type": "object",
                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                    "properties": {
                                      "id": {
                                        "type": "integer",
                                        "description": "The ID of the segment you want to return people from.",
                                        "example": 4
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "title": "audience",
                                "type": "object",
                                "description": "filter for people who have an attribute or an attribute value.",
                                "properties": {
                                  "attribute": {
                                    "x-scalar-ignore": true,
                                    "title": "attribute",
                                    "description": "Filter your audience by attribute.",
                                    "type": "object",
                                    "required": [
                                      "field",
                                      "operator"
                                    ],
                                    "properties": {
                                      "field": {
                                        "type": "string",
                                        "description": "The name of the attribute you want to filter against.",
                                        "example": "first_name"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                        "enum": [
                                          "eq",
                                          "exists"
                                        ]
                                      },
                                      "value": {
                                        "type": "string",
                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                      }
                                    },
                                    "example": {
                                      "field": "unsubscribed",
                                      "operator": "eq",
                                      "value": true
                                    }
                                  }
                                }
                              }
                            ]
                          }
                        },
                        "segment": {
                          "x-scalar-ignore": true,
                          "title": "segment",
                          "type": "object",
                          "description": "Provide the `id` of a segment containing people you want to search for.",
                          "properties": {
                            "id": {
                              "type": "integer",
                              "description": "The ID of the segment you want to return people from.",
                              "example": 4
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              {
                "title": "or",
                "type": "object",
                "properties": {
                  "or": {
                    "type": "array",
                    "description": "Match *any* condition to return results.",
                    "items": {
                      "x-scalar-ignore": true,
                      "title": "People Filter",
                      "type": "object",
                      "description": "Filter people with `and`, `or`, and `not` groups made from `segment` and `attribute` conditions.",
                      "properties": {
                        "and": {
                          "type": "array",
                          "description": "Returns results matching *all* conditions.",
                          "items": {
                            "x-scalar-ignore": true,
                            "anyOf": [
                              {
                                "title": "segment",
                                "description": "Filter for people who belong to a segment.",
                                "type": "object",
                                "properties": {
                                  "segment": {
                                    "x-scalar-ignore": true,
                                    "title": "segment",
                                    "type": "object",
                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                    "properties": {
                                      "id": {
                                        "type": "integer",
                                        "description": "The ID of the segment you want to return people from.",
                                        "example": 4
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "title": "audience",
                                "type": "object",
                                "description": "filter for people who have an attribute or an attribute value.",
                                "properties": {
                                  "attribute": {
                                    "x-scalar-ignore": true,
                                    "title": "attribute",
                                    "description": "Filter your audience by attribute.",
                                    "type": "object",
                                    "required": [
                                      "field",
                                      "operator"
                                    ],
                                    "properties": {
                                      "field": {
                                        "type": "string",
                                        "description": "The name of the attribute you want to filter against.",
                                        "example": "first_name"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                        "enum": [
                                          "eq",
                                          "exists"
                                        ]
                                      },
                                      "value": {
                                        "type": "string",
                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                      }
                                    },
                                    "example": {
                                      "field": "unsubscribed",
                                      "operator": "eq",
                                      "value": true
                                    }
                                  }
                                }
                              }
                            ]
                          }
                        },
                        "attribute": {
                          "x-scalar-ignore": true,
                          "title": "attribute",
                          "description": "Filter your audience by attribute.",
                          "type": "object",
                          "required": [
                            "field",
                            "operator"
                          ],
                          "properties": {
                            "field": {
                              "type": "string",
                              "description": "The name of the attribute you want to filter against.",
                              "example": "first_name"
                            },
                            "operator": {
                              "type": "string",
                              "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                              "enum": [
                                "eq",
                                "exists"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                            }
                          },
                          "example": {
                            "field": "unsubscribed",
                            "operator": "eq",
                            "value": true
                          }
                        },
                        "not": {
                          "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                          "oneOf": [
                            {
                              "title": "and",
                              "type": "object",
                              "properties": {
                                "and": {
                                  "type": "array",
                                  "description": "Match *all* conditions to return results.",
                                  "items": {
                                    "x-scalar-ignore": true,
                                    "anyOf": [
                                      {
                                        "title": "segment",
                                        "description": "Filter for people who belong to a segment.",
                                        "type": "object",
                                        "properties": {
                                          "segment": {
                                            "x-scalar-ignore": true,
                                            "title": "segment",
                                            "type": "object",
                                            "description": "Provide the `id` of a segment containing people you want to search for.",
                                            "properties": {
                                              "id": {
                                                "type": "integer",
                                                "description": "The ID of the segment you want to return people from.",
                                                "example": 4
                                              }
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "title": "audience",
                                        "type": "object",
                                        "description": "filter for people who have an attribute or an attribute value.",
                                        "properties": {
                                          "attribute": {
                                            "x-scalar-ignore": true,
                                            "title": "attribute",
                                            "description": "Filter your audience by attribute.",
                                            "type": "object",
                                            "required": [
                                              "field",
                                              "operator"
                                            ],
                                            "properties": {
                                              "field": {
                                                "type": "string",
                                                "description": "The name of the attribute you want to filter against.",
                                                "example": "first_name"
                                              },
                                              "operator": {
                                                "type": "string",
                                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                "enum": [
                                                  "eq",
                                                  "exists"
                                                ]
                                              },
                                              "value": {
                                                "type": "string",
                                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                              }
                                            },
                                            "example": {
                                              "field": "unsubscribed",
                                              "operator": "eq",
                                              "value": true
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              }
                            },
                            {
                              "title": "or",
                              "type": "object",
                              "properties": {
                                "or": {
                                  "type": "array",
                                  "description": "Match *any* condition to return results.",
                                  "items": {
                                    "x-scalar-ignore": true,
                                    "anyOf": [
                                      {
                                        "title": "segment",
                                        "description": "Filter for people who belong to a segment.",
                                        "type": "object",
                                        "properties": {
                                          "segment": {
                                            "x-scalar-ignore": true,
                                            "title": "segment",
                                            "type": "object",
                                            "description": "Provide the `id` of a segment containing people you want to search for.",
                                            "properties": {
                                              "id": {
                                                "type": "integer",
                                                "description": "The ID of the segment you want to return people from.",
                                                "example": 4
                                              }
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "title": "audience",
                                        "type": "object",
                                        "description": "filter for people who have an attribute or an attribute value.",
                                        "properties": {
                                          "attribute": {
                                            "x-scalar-ignore": true,
                                            "title": "attribute",
                                            "description": "Filter your audience by attribute.",
                                            "type": "object",
                                            "required": [
                                              "field",
                                              "operator"
                                            ],
                                            "properties": {
                                              "field": {
                                                "type": "string",
                                                "description": "The name of the attribute you want to filter against.",
                                                "example": "first_name"
                                              },
                                              "operator": {
                                                "type": "string",
                                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                "enum": [
                                                  "eq",
                                                  "exists"
                                                ]
                                              },
                                              "value": {
                                                "type": "string",
                                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                              }
                                            },
                                            "example": {
                                              "field": "unsubscribed",
                                              "operator": "eq",
                                              "value": true
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              }
                            },
                            {
                              "title": "segment",
                              "type": "object",
                              "properties": {
                                "segment": {
                                  "x-scalar-ignore": true,
                                  "title": "segment",
                                  "type": "object",
                                  "description": "Provide the `id` of a segment containing people you want to search for.",
                                  "properties": {
                                    "id": {
                                      "type": "integer",
                                      "description": "The ID of the segment you want to return people from.",
                                      "example": 4
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "title": "attribute",
                              "type": "object",
                              "properties": {
                                "attribute": {
                                  "x-scalar-ignore": true,
                                  "title": "attribute",
                                  "description": "Filter your audience by attribute.",
                                  "type": "object",
                                  "required": [
                                    "field",
                                    "operator"
                                  ],
                                  "properties": {
                                    "field": {
                                      "type": "string",
                                      "description": "The name of the attribute you want to filter against.",
                                      "example": "first_name"
                                    },
                                    "operator": {
                                      "type": "string",
                                      "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                      "enum": [
                                        "eq",
                                        "exists"
                                      ]
                                    },
                                    "value": {
                                      "type": "string",
                                      "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                    }
                                  },
                                  "example": {
                                    "field": "unsubscribed",
                                    "operator": "eq",
                                    "value": true
                                  }
                                }
                              }
                            }
                          ]
                        },
                        "or": {
                          "type": "array",
                          "description": "Returns results matching *any* conditions.",
                          "items": {
                            "x-scalar-ignore": true,
                            "anyOf": [
                              {
                                "title": "segment",
                                "description": "Filter for people who belong to a segment.",
                                "type": "object",
                                "properties": {
                                  "segment": {
                                    "x-scalar-ignore": true,
                                    "title": "segment",
                                    "type": "object",
                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                    "properties": {
                                      "id": {
                                        "type": "integer",
                                        "description": "The ID of the segment you want to return people from.",
                                        "example": 4
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "title": "audience",
                                "type": "object",
                                "description": "filter for people who have an attribute or an attribute value.",
                                "properties": {
                                  "attribute": {
                                    "x-scalar-ignore": true,
                                    "title": "attribute",
                                    "description": "Filter your audience by attribute.",
                                    "type": "object",
                                    "required": [
                                      "field",
                                      "operator"
                                    ],
                                    "properties": {
                                      "field": {
                                        "type": "string",
                                        "description": "The name of the attribute you want to filter against.",
                                        "example": "first_name"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                        "enum": [
                                          "eq",
                                          "exists"
                                        ]
                                      },
                                      "value": {
                                        "type": "string",
                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                      }
                                    },
                                    "example": {
                                      "field": "unsubscribed",
                                      "operator": "eq",
                                      "value": true
                                    }
                                  }
                                }
                              }
                            ]
                          }
                        },
                        "segment": {
                          "x-scalar-ignore": true,
                          "title": "segment",
                          "type": "object",
                          "description": "Provide the `id` of a segment containing people you want to search for.",
                          "properties": {
                            "id": {
                              "type": "integer",
                              "description": "The ID of the segment you want to return people from.",
                              "example": 4
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              {
                "title": "segment",
                "type": "object",
                "properties": {
                  "segment": {
                    "x-scalar-ignore": true,
                    "title": "segment",
                    "type": "object",
                    "description": "Provide the `id` of a segment containing people you want to search for.",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "The ID of the segment you want to return people from.",
                        "example": 4
                      }
                    }
                  }
                }
              },
              {
                "title": "attribute",
                "type": "object",
                "properties": {
                  "attribute": {
                    "x-scalar-ignore": true,
                    "title": "attribute",
                    "description": "Filter your audience by attribute.",
                    "type": "object",
                    "required": [
                      "field",
                      "operator"
                    ],
                    "properties": {
                      "field": {
                        "type": "string",
                        "description": "The name of the attribute you want to filter against.",
                        "example": "first_name"
                      },
                      "operator": {
                        "type": "string",
                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                        "enum": [
                          "eq",
                          "exists"
                        ]
                      },
                      "value": {
                        "type": "string",
                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                      }
                    },
                    "example": {
                      "field": "unsubscribed",
                      "operator": "eq",
                      "value": true
                    }
                  }
                }
              }
            ]
          },
          {
            "title": "segment",
            "description": "Filter for people who belong to a segment.",
            "type": "object",
            "properties": {
              "segment": {
                "x-scalar-ignore": true,
                "title": "segment",
                "type": "object",
                "description": "Provide the `id` of a segment containing people you want to search for.",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "The ID of the segment you want to return people from.",
                    "example": 4
                  }
                }
              }
            }
          },
          {
            "title": "audience",
            "type": "object",
            "description": "filter for people who have an attribute or an attribute value.",
            "properties": {
              "attribute": {
                "x-scalar-ignore": true,
                "title": "attribute",
                "description": "Filter your audience by attribute.",
                "type": "object",
                "required": [
                  "field",
                  "operator"
                ],
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The name of the attribute you want to filter against.",
                    "example": "first_name"
                  },
                  "operator": {
                    "type": "string",
                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                  }
                },
                "example": {
                  "field": "unsubscribed",
                  "operator": "eq",
                  "value": true
                }
              }
            }
          }
        ]
      },
      "objectattributeFilter": {
        "x-scalar-ignore": true,
        "title": "object attribute",
        "description": "Filter your objects by their attributes.",
        "type": "object",
        "required": [
          "field",
          "operator",
          "type_id"
        ],
        "properties": {
          "field": {
            "type": "string",
            "description": "The name of the attribute you want to filter against.",
            "example": "location"
          },
          "operator": {
            "type": "string",
            "description": "Determine how to evaluate criteria against the field—`exists` returns results if an object has the attribute; `eq` returns results an object's attribute exists and the attribute has the `value` you specify.",
            "enum": [
              "eq",
              "exists"
            ]
          },
          "type_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "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.",
            "example": "1"
          },
          "value": {
            "type": "string",
            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
          }
        },
        "example": {
          "field": "cancelled",
          "operator": "eq",
          "type_id": 1,
          "value": true
        }
      },
      "objectFilterAnd": {
        "x-scalar-ignore": true,
        "title": "and",
        "type": "object",
        "properties": {
          "and": {
            "type": "array",
            "description": "Match *all* conditions to return results.",
            "items": {
              "type": "object",
              "properties": {
                "object_attribute": {
                  "x-scalar-ignore": true,
                  "title": "object attribute",
                  "description": "Filter your objects by their attributes.",
                  "type": "object",
                  "required": [
                    "field",
                    "operator",
                    "type_id"
                  ],
                  "properties": {
                    "field": {
                      "type": "string",
                      "description": "The name of the attribute you want to filter against.",
                      "example": "location"
                    },
                    "operator": {
                      "type": "string",
                      "description": "Determine how to evaluate criteria against the field—`exists` returns results if an object has the attribute; `eq` returns results an object's attribute exists and the attribute has the `value` you specify.",
                      "enum": [
                        "eq",
                        "exists"
                      ]
                    },
                    "type_id": {
                      "x-scalar-ignore": true,
                      "type": "string",
                      "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.",
                      "example": "1"
                    },
                    "value": {
                      "type": "string",
                      "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                    }
                  },
                  "example": {
                    "field": "cancelled",
                    "operator": "eq",
                    "type_id": 1,
                    "value": true
                  }
                }
              }
            }
          }
        }
      },
      "objectFilterOr": {
        "x-scalar-ignore": true,
        "title": "or",
        "type": "object",
        "properties": {
          "or": {
            "type": "array",
            "description": "Match *any* condition to return results.",
            "items": {
              "type": "object",
              "properties": {
                "object_attribute": {
                  "x-scalar-ignore": true,
                  "title": "object attribute",
                  "description": "Filter your objects by their attributes.",
                  "type": "object",
                  "required": [
                    "field",
                    "operator",
                    "type_id"
                  ],
                  "properties": {
                    "field": {
                      "type": "string",
                      "description": "The name of the attribute you want to filter against.",
                      "example": "location"
                    },
                    "operator": {
                      "type": "string",
                      "description": "Determine how to evaluate criteria against the field—`exists` returns results if an object has the attribute; `eq` returns results an object's attribute exists and the attribute has the `value` you specify.",
                      "enum": [
                        "eq",
                        "exists"
                      ]
                    },
                    "type_id": {
                      "x-scalar-ignore": true,
                      "type": "string",
                      "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.",
                      "example": "1"
                    },
                    "value": {
                      "type": "string",
                      "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                    }
                  },
                  "example": {
                    "field": "cancelled",
                    "operator": "eq",
                    "type_id": 1,
                    "value": true
                  }
                }
              }
            }
          }
        }
      },
      "objectFilterNot": {
        "x-scalar-ignore": true,
        "title": "not",
        "type": "object",
        "properties": {
          "not": {
            "type": "object",
            "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single condition.",
            "properties": {
              "object_attribute": {
                "x-scalar-ignore": true,
                "title": "object attribute",
                "description": "Filter your objects by their attributes.",
                "type": "object",
                "required": [
                  "field",
                  "operator",
                  "type_id"
                ],
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The name of the attribute you want to filter against.",
                    "example": "location"
                  },
                  "operator": {
                    "type": "string",
                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if an object has the attribute; `eq` returns results an object's attribute exists and the attribute has the `value` you specify.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "type_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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.",
                    "example": "1"
                  },
                  "value": {
                    "type": "string",
                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                  }
                },
                "example": {
                  "field": "cancelled",
                  "operator": "eq",
                  "type_id": 1,
                  "value": true
                }
              }
            }
          }
        }
      },
      "objectFilter": {
        "x-scalar-ignore": true,
        "title": "Object Filter",
        "description": "Use `and`, `or`, and `not` to combine object attribute conditions. The top-level object accepts one property; nest groups for complex filters.",
        "oneOf": [
          {
            "x-scalar-ignore": true,
            "title": "and",
            "type": "object",
            "properties": {
              "and": {
                "type": "array",
                "description": "Match *all* conditions to return results.",
                "items": {
                  "type": "object",
                  "properties": {
                    "object_attribute": {
                      "x-scalar-ignore": true,
                      "title": "object attribute",
                      "description": "Filter your objects by their attributes.",
                      "type": "object",
                      "required": [
                        "field",
                        "operator",
                        "type_id"
                      ],
                      "properties": {
                        "field": {
                          "type": "string",
                          "description": "The name of the attribute you want to filter against.",
                          "example": "location"
                        },
                        "operator": {
                          "type": "string",
                          "description": "Determine how to evaluate criteria against the field—`exists` returns results if an object has the attribute; `eq` returns results an object's attribute exists and the attribute has the `value` you specify.",
                          "enum": [
                            "eq",
                            "exists"
                          ]
                        },
                        "type_id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "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.",
                          "example": "1"
                        },
                        "value": {
                          "type": "string",
                          "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                        }
                      },
                      "example": {
                        "field": "cancelled",
                        "operator": "eq",
                        "type_id": 1,
                        "value": true
                      }
                    }
                  }
                }
              }
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "or",
            "type": "object",
            "properties": {
              "or": {
                "type": "array",
                "description": "Match *any* condition to return results.",
                "items": {
                  "type": "object",
                  "properties": {
                    "object_attribute": {
                      "x-scalar-ignore": true,
                      "title": "object attribute",
                      "description": "Filter your objects by their attributes.",
                      "type": "object",
                      "required": [
                        "field",
                        "operator",
                        "type_id"
                      ],
                      "properties": {
                        "field": {
                          "type": "string",
                          "description": "The name of the attribute you want to filter against.",
                          "example": "location"
                        },
                        "operator": {
                          "type": "string",
                          "description": "Determine how to evaluate criteria against the field—`exists` returns results if an object has the attribute; `eq` returns results an object's attribute exists and the attribute has the `value` you specify.",
                          "enum": [
                            "eq",
                            "exists"
                          ]
                        },
                        "type_id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "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.",
                          "example": "1"
                        },
                        "value": {
                          "type": "string",
                          "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                        }
                      },
                      "example": {
                        "field": "cancelled",
                        "operator": "eq",
                        "type_id": 1,
                        "value": true
                      }
                    }
                  }
                }
              }
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "not",
            "type": "object",
            "properties": {
              "not": {
                "type": "object",
                "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single condition.",
                "properties": {
                  "object_attribute": {
                    "x-scalar-ignore": true,
                    "title": "object attribute",
                    "description": "Filter your objects by their attributes.",
                    "type": "object",
                    "required": [
                      "field",
                      "operator",
                      "type_id"
                    ],
                    "properties": {
                      "field": {
                        "type": "string",
                        "description": "The name of the attribute you want to filter against.",
                        "example": "location"
                      },
                      "operator": {
                        "type": "string",
                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if an object has the attribute; `eq` returns results an object's attribute exists and the attribute has the `value` you specify.",
                        "enum": [
                          "eq",
                          "exists"
                        ]
                      },
                      "type_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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.",
                        "example": "1"
                      },
                      "value": {
                        "type": "string",
                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                      }
                    },
                    "example": {
                      "field": "cancelled",
                      "operator": "eq",
                      "type_id": 1,
                      "value": true
                    }
                  }
                }
              }
            }
          },
          {
            "title": "object attribute",
            "type": "object",
            "description": "A simple filter to find objects matching an attribute condition.",
            "properties": {
              "object_attribute": {
                "x-scalar-ignore": true,
                "title": "object attribute",
                "description": "Filter your objects by their attributes.",
                "type": "object",
                "required": [
                  "field",
                  "operator",
                  "type_id"
                ],
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The name of the attribute you want to filter against.",
                    "example": "location"
                  },
                  "operator": {
                    "type": "string",
                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if an object has the attribute; `eq` returns results an object's attribute exists and the attribute has the `value` you specify.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "type_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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.",
                    "example": "1"
                  },
                  "value": {
                    "type": "string",
                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                  }
                },
                "example": {
                  "field": "cancelled",
                  "operator": "eq",
                  "type_id": 1,
                  "value": true
                }
              }
            }
          }
        ]
      },
      "device_object_common": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Device information common to the v1 and v2 APIs.",
        "required": [
          "platform"
        ],
        "properties": {
          "platform": {
            "type": "string",
            "enum": [
              "ios",
              "android"
            ],
            "description": "The device/messaging platform."
          },
          "attributes": {
            "type": "object",
            "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.",
            "properties": {
              "_last_status": {
                "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.",
                "enum": [
                  "",
                  "bounced",
                  "sent",
                  "suppressed"
                ]
              },
              "app_identifier": {
                "type": "string",
                "description": "The app that the device belongs to—the **Bundle ID / App identifier** you entered with that app's push credentials. If you have more than one app, we use this attribute to send push notifications to the right app. A device without an app identifier receives push notifications you send to your [default app](/messaging/channels/push/getting-started/#the-default-app)."
              },
              "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."
              },
              "cio_sdk_version": {
                "type": "string",
                "description": "The version of the Customer.io SDK in the app."
              },
              "device_locale": {
                "type": "string",
                "description": "The device's [IETF language code](/journeys/channels/localization/getting-started/#supported-languages), such as `en-MX` or `es-ES`."
              },
              "device_model": {
                "type": "string",
                "description": "The model of the device a person uses."
              },
              "device_os": {
                "type": "string",
                "description": "The operating system, including the version, on the device."
              },
              "push_enabled": {
                "type": "string",
                "description": "If `\"true\"`, the device is opted-in and can receive push notifications.",
                "enum": [
                  "true",
                  "false"
                ]
              }
            },
            "additionalProperties": {
              "x-additionalPropertiesName": "Custom Device Attributes",
              "description": "Custom properties that you want to associate with the device.",
              "type": "string"
            }
          },
          "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."
          }
        }
      },
      "device_object_cdp_common": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Device information common to the v1 and v2 APIs.",
        "required": [
          "platform"
        ],
        "properties": {
          "platform": {
            "type": "string",
            "enum": [
              "ios",
              "android"
            ],
            "description": "The device/messaging platform."
          },
          "attributes": {
            "type": "object",
            "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.",
            "properties": {
              "_last_status": {
                "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.",
                "enum": [
                  "",
                  "bounced",
                  "sent",
                  "suppressed"
                ]
              },
              "app_identifier": {
                "type": "string",
                "description": "The app that the device belongs to—the **Bundle ID / App identifier** you entered with that app's push credentials. If you have more than one app, we use this attribute to send push notifications to the right app. A device without an app identifier receives push notifications you send to your [default app](/messaging/channels/push/getting-started/#the-default-app)."
              },
              "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."
              },
              "cio_sdk_version": {
                "type": "string",
                "description": "The version of the Customer.io SDK in the app."
              },
              "device_locale": {
                "type": "string",
                "description": "The device's [IETF language code](/journeys/channels/localization/getting-started/#supported-languages), such as `en-MX` or `es-ES`."
              },
              "device_model": {
                "type": "string",
                "description": "The model of the device a person uses."
              },
              "device_os": {
                "type": "string",
                "description": "The operating system, including the version, on the device."
              },
              "network_bluetooth": {
                "type": "boolean",
                "description": "If `true`, the device's bluetooth connection is on."
              },
              "network_cellular": {
                "type": "boolean",
                "description": "If `true`, the device's cellular connection is on."
              },
              "network_wifi": {
                "type": "boolean",
                "description": "If `true`, the device's WiFi connection is on."
              },
              "push_enabled": {
                "type": "string",
                "description": "If `\"true\"`, the device is opted-in and can receive push notifications.",
                "enum": [
                  "true",
                  "false"
                ]
              },
              "screen_height": {
                "type": "integer",
                "description": "The height of the device's screen in pixels."
              },
              "screen_width": {
                "type": "integer",
                "description": "The width of the device's screen in pixels."
              },
              "timezone": {
                "type": "string",
                "description": "The time zone of the device."
              }
            },
            "additionalProperties": {
              "x-additionalPropertiesName": "Custom Device Attributes",
              "description": "Custom properties that you want to associate with the device.",
              "type": "string"
            }
          },
          "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."
          }
        }
      },
      "device_object": {
        "x-scalar-ignore": true,
        "description": "Device properties collected by [Customer.io SDKs](/integrations/sdk/) unless `autoTrackDeviceAttributes` is disabled. You can use these properties in segments and Liquid.",
        "properties": {
          "id": {
            "description": "The device token.",
            "type": "string"
          },
          "platform": {
            "type": "string",
            "enum": [
              "ios",
              "android"
            ],
            "description": "The device/messaging platform."
          },
          "attributes": {
            "type": "object",
            "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.",
            "properties": {
              "_last_status": {
                "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.",
                "enum": [
                  "",
                  "bounced",
                  "sent",
                  "suppressed"
                ]
              },
              "app_identifier": {
                "type": "string",
                "description": "The app that the device belongs to—the **Bundle ID / App identifier** you entered with that app's push credentials. If you have more than one app, we use this attribute to send push notifications to the right app. A device without an app identifier receives push notifications you send to your [default app](/messaging/channels/push/getting-started/#the-default-app)."
              },
              "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."
              },
              "cio_sdk_version": {
                "type": "string",
                "description": "The version of the Customer.io SDK in the app."
              },
              "device_locale": {
                "type": "string",
                "description": "The device's [IETF language code](/journeys/channels/localization/getting-started/#supported-languages), such as `en-MX` or `es-ES`."
              },
              "device_model": {
                "type": "string",
                "description": "The model of the device a person uses."
              },
              "device_os": {
                "type": "string",
                "description": "The operating system, including the version, on the device."
              },
              "push_enabled": {
                "type": "string",
                "description": "If `\"true\"`, the device is opted-in and can receive push notifications.",
                "enum": [
                  "true",
                  "false"
                ]
              }
            },
            "additionalProperties": {
              "x-additionalPropertiesName": "Custom Device Attributes",
              "description": "Custom properties that you want to associate with the device.",
              "type": "string"
            }
          },
          "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."
          }
        },
        "required": [
          "id",
          "platform"
        ]
      },
      "device_object_cdp": {
        "x-scalar-ignore": true,
        "description": "Device properties for Journeys profiles sent from a [Data Pipelines-enabled SDK](/integrations/sdk/). SDKs collect these automatically unless `autoTrackDeviceAttributes` is disabled.",
        "properties": {
          "id": {
            "description": "The device token.",
            "type": "string"
          },
          "platform": {
            "type": "string",
            "enum": [
              "ios",
              "android"
            ],
            "description": "The device/messaging platform."
          },
          "attributes": {
            "type": "object",
            "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.",
            "properties": {
              "_last_status": {
                "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.",
                "enum": [
                  "",
                  "bounced",
                  "sent",
                  "suppressed"
                ]
              },
              "app_identifier": {
                "type": "string",
                "description": "The app that the device belongs to—the **Bundle ID / App identifier** you entered with that app's push credentials. If you have more than one app, we use this attribute to send push notifications to the right app. A device without an app identifier receives push notifications you send to your [default app](/messaging/channels/push/getting-started/#the-default-app)."
              },
              "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."
              },
              "cio_sdk_version": {
                "type": "string",
                "description": "The version of the Customer.io SDK in the app."
              },
              "device_locale": {
                "type": "string",
                "description": "The device's [IETF language code](/journeys/channels/localization/getting-started/#supported-languages), such as `en-MX` or `es-ES`."
              },
              "device_model": {
                "type": "string",
                "description": "The model of the device a person uses."
              },
              "device_os": {
                "type": "string",
                "description": "The operating system, including the version, on the device."
              },
              "network_bluetooth": {
                "type": "boolean",
                "description": "If `true`, the device's bluetooth connection is on."
              },
              "network_cellular": {
                "type": "boolean",
                "description": "If `true`, the device's cellular connection is on."
              },
              "network_wifi": {
                "type": "boolean",
                "description": "If `true`, the device's WiFi connection is on."
              },
              "push_enabled": {
                "type": "string",
                "description": "If `\"true\"`, the device is opted-in and can receive push notifications.",
                "enum": [
                  "true",
                  "false"
                ]
              },
              "screen_height": {
                "type": "integer",
                "description": "The height of the device's screen in pixels."
              },
              "screen_width": {
                "type": "integer",
                "description": "The width of the device's screen in pixels."
              },
              "timezone": {
                "type": "string",
                "description": "The time zone of the device."
              }
            },
            "additionalProperties": {
              "x-additionalPropertiesName": "Custom Device Attributes",
              "description": "Custom properties that you want to associate with the device.",
              "type": "string"
            }
          },
          "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."
          }
        },
        "required": [
          "id",
          "platform"
        ]
      },
      "import_request": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "title": "people",
            "type": "object",
            "description": "Contains your import parameters.",
            "required": [
              "data_file_url",
              "name",
              "type",
              "identifier"
            ],
            "properties": {
              "data_file_url": {
                "type": "string",
                "description": "The URL or path to the CSV file you want to import."
              },
              "identifier": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The type of identifier you want to use to identify people in your sheet—`id` or `email`. At least one column in the CSV must contain an identifier.",
                "enum": [
                  "id",
                  "email"
                ]
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A friendly name for your import. This helps you identify your import."
              },
              "type": {
                "type": "string",
                "description": "The type of import.",
                "enum": [
                  "people"
                ]
              },
              "data_to_process": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Controls whether your import adds and updates all rows, adds only new rows, or updates only existing rows. Defaults to `all`. Event imports support only `all` and `only_existing`. Formerly called `people_to_process`.",
                "enum": [
                  "all",
                  "only_new",
                  "only_existing"
                ]
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A helpful description that can help you find and recognize your import operation."
              }
            }
          },
          {
            "title": "event",
            "type": "object",
            "description": "Contains your import parameters.",
            "required": [
              "data_file_url",
              "name",
              "type",
              "identifier"
            ],
            "properties": {
              "data_file_url": {
                "type": "string",
                "description": "The URL or path to the CSV file you want to import."
              },
              "identifier": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The type of identifier you want to use to identify people in your sheet—`id` or `email`. At least one column in the CSV must contain an identifier.",
                "enum": [
                  "id",
                  "email"
                ]
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A friendly name for your import. This helps you identify your import."
              },
              "type": {
                "type": "string",
                "description": "The type of import.",
                "enum": [
                  "event"
                ]
              },
              "data_to_process": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Controls whether your import adds and updates all rows, adds only new rows, or updates only existing rows. Defaults to `all`. Event imports support only `all` and `only_existing`. Formerly called `people_to_process`.",
                "enum": [
                  "all",
                  "only_new",
                  "only_existing"
                ]
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A helpful description that can help you find and recognize your import operation."
              }
            }
          },
          {
            "title": "relationship",
            "type": "object",
            "description": "Contains your import parameters.",
            "required": [
              "data_file_url",
              "name",
              "type",
              "identifier"
            ],
            "properties": {
              "data_file_url": {
                "type": "string",
                "description": "The URL or path to the CSV file you want to import."
              },
              "identifier": {
                "type": "string",
                "description": "The type of identifier used to identify the person in each relationship—`id`, `email`, or `cio_id`.",
                "enum": [
                  "id",
                  "email",
                  "cio_id"
                ]
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A friendly name for your import. This helps you identify your import."
              },
              "type": {
                "type": "string",
                "description": "The type of import.",
                "enum": [
                  "relationship"
                ]
              },
              "data_to_process": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Controls whether your import adds and updates all rows, adds only new rows, or updates only existing rows. Defaults to `all`. Event imports support only `all` and `only_existing`. Formerly called `people_to_process`.",
                "enum": [
                  "all",
                  "only_new",
                  "only_existing"
                ]
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A helpful description that can help you find and recognize your import operation."
              }
            }
          },
          {
            "title": "object",
            "type": "object",
            "description": "Contains your import parameters.",
            "required": [
              "data_file_url",
              "name",
              "type",
              "object_type_id"
            ],
            "properties": {
              "data_file_url": {
                "type": "string",
                "description": "The URL or path to the CSV file you want to import."
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A friendly name for your import. This helps you identify your import."
              },
              "object_type_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "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.",
                "example": "1"
              },
              "type": {
                "type": "string",
                "description": "The type of import.",
                "enum": [
                  "object"
                ]
              },
              "data_to_process": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Controls whether your import adds and updates all rows, adds only new rows, or updates only existing rows. Defaults to `all`. Event imports support only `all` and `only_existing`. Formerly called `people_to_process`.",
                "enum": [
                  "all",
                  "only_new",
                  "only_existing"
                ]
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A helpful description that can help you find and recognize your import operation."
              }
            }
          }
        ]
      },
      "import_name": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "A friendly name for your import. This helps you identify your import."
      },
      "import_type": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The type of import.",
        "enum": [
          "people",
          "event",
          "object",
          "relationship"
        ]
      },
      "import_description": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "A helpful description that can help you find and recognize your import operation."
      },
      "import_state": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The state of the import—whether your import is being processed, fully completed (`imported`), or if it failed.",
        "enum": [
          "preprocessing",
          "preprocessed",
          "validating",
          "validated",
          "importing",
          "imported",
          "failed",
          "canceled"
        ]
      },
      "rows_to_import": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "The total number of importable rows we found in the CSV."
      },
      "rows_imported": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "The number of rows we imported from the CSV."
      },
      "data_to_process": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "Controls whether your import adds and updates all rows, adds only new rows, or updates only existing rows. Defaults to `all`. Event imports support only `all` and `only_existing`. Formerly called `people_to_process`.",
        "enum": [
          "all",
          "only_new",
          "only_existing"
        ]
      },
      "import_identifier": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The type of identifier you want to use to identify people in your sheet—`id` or `email`. At least one column in the CSV must contain an identifier.",
        "enum": [
          "id",
          "email"
        ]
      },
      "import_object": {
        "x-scalar-ignore": true,
        "description": "Represents an import operation.",
        "type": "object",
        "properties": {
          "created_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "data_to_process": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "Controls whether your import adds and updates all rows, adds only new rows, or updates only existing rows. Defaults to `all`. Event imports support only `all` and `only_existing`. Formerly called `people_to_process`.",
            "enum": [
              "all",
              "only_new",
              "only_existing"
            ]
          },
          "description": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "A helpful description that can help you find and recognize your import operation."
          },
          "error": {
            "description": "If your import fails, this helps you understand why.",
            "type": "string"
          },
          "id": {
            "type": "integer",
            "description": "This is the `import_id` you'll use if you want to [lookup your import operation](/integrations/api/app/tag/imports/getImport/)."
          },
          "identifier": {
            "type": "string",
            "description": "The type of identifier you used to identify people in your CSV. Not applicable for object imports.",
            "enum": [
              "id",
              "email"
            ]
          },
          "name": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "A friendly name for your import. This helps you identify your import."
          },
          "object_type_id": {
            "type": "string",
            "description": "The object type an object belongs to—like \"Companies\" or \"Accounts\". Only applies to object imports.",
            "example": "1"
          },
          "people_to_process": {
            "type": "string",
            "description": "Returned for people and event imports, even if you imported using the field `data_to_process`. This field will be deprecated soon.\n",
            "enum": [
              "all",
              "only_new",
              "only_existing"
            ]
          },
          "rows_imported": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The number of rows we imported from the CSV."
          },
          "rows_to_import": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The total number of importable rows we found in the CSV."
          },
          "state": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The state of the import—whether your import is being processed, fully completed (`imported`), or if it failed.",
            "enum": [
              "preprocessing",
              "preprocessed",
              "validating",
              "validated",
              "importing",
              "imported",
              "failed",
              "canceled"
            ]
          },
          "type": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The type of import.",
            "enum": [
              "people",
              "event",
              "object",
              "relationship"
            ]
          },
          "updated_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        },
        "example": {
          "created_at": 1706081641,
          "data_to_process": "all",
          "description": "importing accounts",
          "error": "possible error - The specified Object Type does not exist.",
          "id": 30,
          "name": "account-object-import",
          "object_type_id": 1,
          "people_to_process": "all",
          "rows_imported": 3,
          "rows_to_import": 3,
          "state": "imported",
          "type": "object",
          "updated_at": 1706081645
        }
      },
      "customerAttributesObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "customer": {
            "type": "object",
            "description": "The profile you referenced by ID in the request.",
            "properties": {
              "attributes": {
                "type": "object",
                "description": "Contains attributes assigned to this profile, including your workspace's people-identifiers (by default, these are `id`, `email`, and `cio_id`). Attributes are all stored as strings.",
                "properties": {
                  "_cio_subscription_preferences_computed": {
                    "type": "string",
                    "description": "A person's computed subscription preferences as stringified JSON, combining set preferences with defaults for unset topics. [Learn more about backfilled preferences](/messaging/channels/subscriptions/center/#backfill-preferences)."
                  },
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  },
                  "cio_subscription_preferences": {
                    "type": "string",
                    "description": "A person's subscription preferences as stringified JSON. If unset, preferences are computed from topic defaults; see `_cio_subscription_preferences_computed`."
                  },
                  "email": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  },
                  "id": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "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.",
                    "example": "42"
                  }
                },
                "additionalProperties": {
                  "x-additionalPropertiesName": "additional attributes",
                  "description": "Non-identifier attributes assigned to this person.",
                  "type": "string"
                }
              },
              "devices": {
                "type": "array",
                "description": "Lists the devices associated with the customer profile.",
                "items": {
                  "x-scalar-ignore": true,
                  "description": "Device properties collected by [Customer.io SDKs](/integrations/sdk/) unless `autoTrackDeviceAttributes` is disabled. You can use these properties in segments and Liquid.",
                  "properties": {
                    "id": {
                      "description": "The device token.",
                      "type": "string"
                    },
                    "platform": {
                      "type": "string",
                      "enum": [
                        "ios",
                        "android"
                      ],
                      "description": "The device/messaging platform."
                    },
                    "attributes": {
                      "type": "object",
                      "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.",
                      "properties": {
                        "_last_status": {
                          "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.",
                          "enum": [
                            "",
                            "bounced",
                            "sent",
                            "suppressed"
                          ]
                        },
                        "app_identifier": {
                          "type": "string",
                          "description": "The app that the device belongs to—the **Bundle ID / App identifier** you entered with that app's push credentials. If you have more than one app, we use this attribute to send push notifications to the right app. A device without an app identifier receives push notifications you send to your [default app](/messaging/channels/push/getting-started/#the-default-app)."
                        },
                        "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."
                        },
                        "cio_sdk_version": {
                          "type": "string",
                          "description": "The version of the Customer.io SDK in the app."
                        },
                        "device_locale": {
                          "type": "string",
                          "description": "The device's [IETF language code](/journeys/channels/localization/getting-started/#supported-languages), such as `en-MX` or `es-ES`."
                        },
                        "device_model": {
                          "type": "string",
                          "description": "The model of the device a person uses."
                        },
                        "device_os": {
                          "type": "string",
                          "description": "The operating system, including the version, on the device."
                        },
                        "push_enabled": {
                          "type": "string",
                          "description": "If `\"true\"`, the device is opted-in and can receive push notifications.",
                          "enum": [
                            "true",
                            "false"
                          ]
                        }
                      },
                      "additionalProperties": {
                        "x-additionalPropertiesName": "Custom Device Attributes",
                        "description": "Custom properties that you want to associate with the device.",
                        "type": "string"
                      }
                    },
                    "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."
                    }
                  },
                  "required": [
                    "id",
                    "platform"
                  ]
                }
              },
              "id": {
                "type": "string",
                "description": "The customer ID referenced in the request."
              },
              "identifiers": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "Identifiers for the person in a response—`id`, `cio_id`, and `email`. Unset `id` or `email` values are `null`. We recommend this object over the less descriptive `customer_id`. This object doesn't include `phone`, even if your workspace uses phone numbers as an identifier; look for the person's `phone` attribute instead.",
                "required": [
                  "email",
                  "id",
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  },
                  "email": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "email",
                    "description": "A person's email address, if set.",
                    "example": "test@example.com"
                  },
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "A person's unique ID, if set. This is the same as the `customer_id` if present.",
                    "example": 2
                  }
                }
              },
              "timestamps": {
                "deprecated": true,
                "type": "object",
                "description": "The epoch timestamps when corresponding attributes were set on the customer profile.",
                "properties": {
                  "_cio_subscription_preferences_computed": {
                    "type": "integer",
                    "description": "Because this value is computed and not actually set on a person, this value is always 0"
                  },
                  "_last_emailed": {
                    "type": "integer",
                    "description": "The date-time when you last emailed a person.",
                    "format": "unix timestamp"
                  },
                  "additionalProperties": {
                    "x-additionalPropertiesName": "additional attribute timestamps",
                    "description": "Timestamps when attributes assigned to the person were set.",
                    "format": "unix timestamp"
                  },
                  "cio_id": {
                    "type": "integer",
                    "description": "The date-time when `cio_id` was assigned.",
                    "format": "unix timestamp"
                  },
                  "cio_subscription_preferences": {
                    "type": "integer",
                    "description": "The datetime when a person's subscription preferences were last updated.",
                    "format": "unix timestamp"
                  },
                  "email": {
                    "type": "integer",
                    "description": "The date-time when the person's email address was added.",
                    "format": "unix timestamp"
                  },
                  "id": {
                    "type": "integer",
                    "description": "The date-time when the person's ID was generated.",
                    "format": "unix timestamp"
                  },
                  "unsubscribed": {
                    "type": "integer",
                    "description": "The date-time when the person unsubscribed.",
                    "format": "unix timestamp"
                  }
                }
              },
              "unsubscribed": {
                "type": "boolean",
                "description": "If `true`, a person is globally unsubscribed from email, SMS, WhatsApp, and push. Values like `true`, `TRUE`, `1`, and `\"1\"` count as true; other values are treated as subscribed or topic-based."
              }
            }
          }
        },
        "example": {
          "customer": {
            "attributes": {
              "_cio_subscription_preferences_computed": "{\"topics\":{\"topic_6\":false,\"topic_7\":false,\"topic_8\":false}}",
              "cio_id": "03000001",
              "cio_subscription_preferences": "{\"topics\":{\"topic_7\":false,\"topic_8\":false}}",
              "email": "test@example.com",
              "id": "1",
              "_last_emailed": "1528932553",
              "created_at": "1489014595",
              "title": "tester",
              "department": "qa"
            },
            "devices": [
              {
                "id": "my_android_device_id",
                "platform": "android",
                "last_used": 1514764800
              },
              {
                "id": "my_ios_device_id",
                "platform": "ios",
                "last_used": 1514764800
              }
            ],
            "id": "1",
            "timestamps": {
              "_cio_subscription_preferences_computed": 0,
              "_last_emailed": 1528932553,
              "cio_id": 1489014595,
              "cio_subscription_preferences": 1673987303,
              "email": 1508932553,
              "id": 1489014595,
              "created_at": 1489014595,
              "department": 1508932553,
              "title": 1508932553
            },
            "unsubscribed": false
          }
        }
      },
      "preheader": {
        "x-scalar-ignore": true,
        "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": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "By default, your workspace generates a plaintext version of your message body for each delivery. Use this key to override the default plain text body."
      },
      "attachments": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "A dictionary of attachments where the filename is the key and the value is the base64-encoded contents. The filename must include the extension (i.e. `name.csv`). The total size of all attachments must be less than 2 MB.",
        "properties": {
          "<file-name>": {
            "type": "string",
            "format": "base64"
          }
        }
      },
      "update_headers": {
        "x-scalar-ignore": true,
        "description": "Headers you want to add or update. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "description": "The name of the header."
            },
            "value": {
              "type": "string",
              "description": "The value of the header."
            }
          },
          "example": [
            {
              "name": "X-Mailgun-Tag",
              "value": "my-cool-tag"
            }
          ]
        }
      },
      "headers": {
        "x-scalar-ignore": true,
        "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
        "type": "string",
        "format": "json",
        "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
      },
      "disable_message_retention": {
        "x-scalar-ignore": true,
        "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`."
      },
      "send_to_unsubscribed": {
        "x-scalar-ignore": true,
        "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`."
      },
      "tracked": {
        "x-scalar-ignore": true,
        "type": "boolean",
        "description": "If true, Customer.io tracks opens and link clicks in your message.",
        "default": true
      },
      "queue_draft": {
        "x-scalar-ignore": true,
        "type": "boolean",
        "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.",
        "default": false
      },
      "customer_identifiers": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Identifiers for the person in a response—`id`, `cio_id`, and `email`. Unset `id` or `email` values are `null`. We recommend this object over the less descriptive `customer_id`. This object doesn't include `phone`, even if your workspace uses phone numbers as an identifier; look for the person's `phone` attribute instead.",
        "required": [
          "email",
          "id",
          "cio_id"
        ],
        "properties": {
          "cio_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
            "example": "a3000001"
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "format": "email",
            "description": "A person's email address, if set.",
            "example": "test@example.com"
          },
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "A person's unique ID, if set. This is the same as the `customer_id` if present.",
            "example": 2
          }
        }
      },
      "transactionalSharedEmailObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "attachments": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "A dictionary of attachments where the filename is the key and the value is the base64-encoded contents. The filename must include the extension (i.e. `name.csv`). The total size of all attachments must be less than 2 MB.",
            "properties": {
              "<file-name>": {
                "type": "string",
                "format": "base64"
              }
            }
          },
          "bcc": {
            "type": "string",
            "description": "Blind copy message recipients. Supports multiple addresses separated by commas. Your request can contain up to 15 total recipients between the `to`, `cc`, and `bcc` keys.",
            "example": "bcc@example.com"
          },
          "cc": {
            "type": "string",
            "description": "Carbon copy message recipients, separated by commas. Unlike BCC recipients, CC recipients are visible to everyone who receives the message. Their opens, clicks, and bounces count toward your message metrics. CC recipients count toward the limit of 15 total recipients across the `to`, `cc`, and `bcc` keys.",
            "example": "cc@example.com"
          },
          "disable_css_preprocessing": {
            "type": "boolean",
            "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.",
            "example": false,
            "default": false
          },
          "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"
          },
          "headers": {
            "x-scalar-ignore": true,
            "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
            "type": "string",
            "format": "json",
            "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
          },
          "preheader": {
            "x-scalar-ignore": true,
            "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."
          },
          "reply_to": {
            "type": "string",
            "description": "The address that recipients can reply to, if different from the `from` address.",
            "example": "replyto@example.com"
          },
          "to": {
            "type": "string",
            "description": "The recipients you want to send to, separated by commas. You can include up to 15 total recipients across `to`, `cc`, and `bcc`, with optional display names in quotes.",
            "example": "cool.person@example.com"
          },
          "tracked": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "description": "If true, Customer.io tracks opens and link clicks in your message.",
            "default": true
          }
        }
      },
      "transactionalSharedPushObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "custom_data": {
            "type": "object",
            "description": "Optional key/value pairs you want to attach to the push payload. Firebase only supports string values. This overrides the Custom Data from your transactional template."
          },
          "custom_device": {
            "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.",
            "properties": {
              "platform": {
                "type": "string",
                "enum": [
                  "ios",
                  "android"
                ],
                "description": "The device/messaging platform."
              },
              "token": {
                "description": "The device token.",
                "type": "string"
              },
              "attributes": {
                "type": "object",
                "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.",
                "properties": {
                  "_last_status": {
                    "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.",
                    "enum": [
                      "",
                      "bounced",
                      "sent",
                      "suppressed"
                    ]
                  },
                  "app_identifier": {
                    "type": "string",
                    "description": "The app that the device belongs to—the **Bundle ID / App identifier** you entered with that app's push credentials. If you have more than one app, we use this attribute to send push notifications to the right app. A device without an app identifier receives push notifications you send to your [default app](/messaging/channels/push/getting-started/#the-default-app)."
                  },
                  "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."
                  },
                  "cio_sdk_version": {
                    "type": "string",
                    "description": "The version of the Customer.io SDK in the app."
                  },
                  "device_locale": {
                    "type": "string",
                    "description": "The device's [IETF language code](/journeys/channels/localization/getting-started/#supported-languages), such as `en-MX` or `es-ES`."
                  },
                  "device_model": {
                    "type": "string",
                    "description": "The model of the device a person uses."
                  },
                  "device_os": {
                    "type": "string",
                    "description": "The operating system, including the version, on the device."
                  },
                  "push_enabled": {
                    "type": "string",
                    "description": "If `\"true\"`, the device is opted-in and can receive push notifications.",
                    "enum": [
                      "true",
                      "false"
                    ]
                  }
                },
                "additionalProperties": {
                  "x-additionalPropertiesName": "Custom Device Attributes",
                  "description": "Custom properties that you want to associate with the device.",
                  "type": "string"
                }
              },
              "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."
              }
            },
            "required": [
              "token",
              "platform"
            ]
          },
          "custom_payload": {
            "type": "object",
            "description": "Optional key/value pairs you want to attach to the push payload. Firebase only supports string values. This overrides all other payload values, including the Custom Payload from your transactional template.",
            "properties": {
              "android": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "A custom push payload for Android devices.",
                "required": [
                  "message"
                ],
                "properties": {
                  "message": {
                    "type": "object",
                    "description": "The parent object for Android custom push payloads.",
                    "properties": {
                      "android": {
                        "type": "object",
                        "description": "Contains custom push options for your notification.",
                        "properties": {
                          "notification": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "Properties supported specifically by Android on FCM.",
                            "properties": {
                              "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": "String resource key used to localize the body text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                              },
                              "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."
                              },
                              "color": {
                                "type": "string",
                                "description": "The notification's icon color in `#rrggbb` format."
                              },
                              "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."
                              },
                              "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/`."
                              },
                              "tag": {
                                "type": "string",
                                "description": "An identifier you use to replace an existing notification. If a notification with the same tag is already showing, the new one replaces it. Leave it empty to create a new notification each time."
                              },
                              "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": "String resource key used to localize the title text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                              }
                            }
                          }
                        }
                      },
                      "data": {
                        "type": "object",
                        "description": "Contains key-value pairs that your app interprets.",
                        "additionalProperties": {
                          "x-additionalPropertiesName": "Attachment Names",
                          "x-doNotRender": true,
                          "type": "string"
                        }
                      },
                      "notification": {
                        "type": "object",
                        "description": "Contains the push body and title.",
                        "properties": {
                          "body": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The body of your push notification."
                          },
                          "title": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The title of your push notification."
                          }
                        }
                      }
                    }
                  }
                }
              },
              "ios": {
                "x-scalar-ignore": true,
                "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).",
                "oneOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "required": [
                      "message"
                    ],
                    "properties": {
                      "message": {
                        "type": "object",
                        "description": "The base object for all FCM payloads.",
                        "required": [
                          "apns"
                        ],
                        "properties": {
                          "apns": {
                            "type": "object",
                            "required": [
                              "payload"
                            ],
                            "description": "Defines a payload for iOS devices sent through Firebase Cloud Messaging (FCM).",
                            "properties": {
                              "payload": {
                                "type": "object",
                                "description": "Contains a push payload.",
                                "properties": {
                                  "aps": {
                                    "x-scalar-ignore": true,
                                    "type": "object",
                                    "description": "A push payload intended for an iOS device.",
                                    "properties": {
                                      "alert": {
                                        "oneOf": [
                                          {
                                            "title": "Simple alert",
                                            "type": "string",
                                            "description": "A simple alert message."
                                          },
                                          {
                                            "title": "Complex alert",
                                            "type": "object",
                                            "properties": {
                                              "body": {
                                                "x-scalar-ignore": true,
                                                "type": "string",
                                                "description": "The body of your push notification."
                                              },
                                              "launch-image": {
                                                "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.",
                                                "type": "string"
                                              },
                                              "loc-args": {
                                                "type": "array",
                                                "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.",
                                                "items": {
                                                  "type": "string"
                                                }
                                              },
                                              "loc-key": {
                                                "description": "The key for a localized message string in your app’s Localizable.strings file.",
                                                "type": "string"
                                              },
                                              "subtitle": {
                                                "description": "Additional information that explains the purpose of the notification.",
                                                "type": "string"
                                              },
                                              "subtitle-loc-args": {
                                                "type": "array",
                                                "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.",
                                                "items": {
                                                  "type": "string"
                                                }
                                              },
                                              "subtitle-loc-key": {
                                                "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                                                "type": "string"
                                              },
                                              "title": {
                                                "x-scalar-ignore": true,
                                                "type": "string",
                                                "description": "The title of your push notification."
                                              },
                                              "title-loc-args": {
                                                "type": "array",
                                                "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.",
                                                "items": {
                                                  "type": "string"
                                                }
                                              },
                                              "title-loc-key": {
                                                "description": "The key for a localized title string in your app’s Localizable.strings files.",
                                                "type": "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."
                                      },
                                      "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."
                                      },
                                      "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."
                                      },
                                      "interruption-level": {
                                        "type": "string",
                                        "description": "Indicates the importance and delivery timing of a notification.",
                                        "enum": [
                                          "passive",
                                          "active",
                                          "time-sensitive",
                                          "critical"
                                        ]
                                      },
                                      "mutable-content": {
                                        "type": "integer",
                                        "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
                                      },
                                      "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."
                                      },
                                      "sound": {
                                        "oneOf": [
                                          {
                                            "title": "Regular alert",
                                            "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. For critical alerts, you'll pass an object instead."
                                          },
                                          {
                                            "title": "Critical alert",
                                            "type": "object",
                                            "properties": {
                                              "critical": {
                                                "type": "integer",
                                                "description": "1 indicates critical. 0 is not critical."
                                              },
                                              "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."
                                              }
                                            }
                                          }
                                        ]
                                      },
                                      "target-content-id": {
                                        "type": "string",
                                        "description": "The identifier of the window brought forward."
                                      },
                                      "thread-id": {
                                        "type": "string",
                                        "description": "An identifier to group related notifications."
                                      }
                                    }
                                  },
                                  "CIO": {
                                    "type": "object",
                                    "description": "Contains properties interpreted by the Customer.io iOS SDK.",
                                    "required": [
                                      "push"
                                    ],
                                    "properties": {
                                      "push": {
                                        "type": "object",
                                        "description": "A push payload for the iOS SDK.",
                                        "properties": {
                                          "body": {
                                            "x-scalar-ignore": true,
                                            "type": "string",
                                            "description": "The body of your push notification."
                                          },
                                          "image": {
                                            "x-scalar-ignore": true,
                                            "type": "string",
                                            "description": "The URL of an HTTPS image that you want to use for your message."
                                          },
                                          "link": {
                                            "x-scalar-ignore": true,
                                            "type": "string",
                                            "description": "A deep link (to a page in your app), or a link to a web page."
                                          },
                                          "title": {
                                            "x-scalar-ignore": true,
                                            "type": "string",
                                            "description": "The title of your push notification."
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                "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"
                                }
                              },
                              "headers": {
                                "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.",
                                "type": "object"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "properties": {
                      "aps": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "A push payload intended for an iOS device.",
                        "properties": {
                          "alert": {
                            "oneOf": [
                              {
                                "title": "Simple alert",
                                "type": "string",
                                "description": "A simple alert message."
                              },
                              {
                                "title": "Complex alert",
                                "type": "object",
                                "properties": {
                                  "body": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The body of your push notification."
                                  },
                                  "launch-image": {
                                    "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.",
                                    "type": "string"
                                  },
                                  "loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "loc-key": {
                                    "description": "The key for a localized message string in your app’s Localizable.strings file.",
                                    "type": "string"
                                  },
                                  "subtitle": {
                                    "description": "Additional information that explains the purpose of the notification.",
                                    "type": "string"
                                  },
                                  "subtitle-loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "subtitle-loc-key": {
                                    "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                                    "type": "string"
                                  },
                                  "title": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The title of your push notification."
                                  },
                                  "title-loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "title-loc-key": {
                                    "description": "The key for a localized title string in your app’s Localizable.strings files.",
                                    "type": "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."
                          },
                          "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."
                          },
                          "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."
                          },
                          "interruption-level": {
                            "type": "string",
                            "description": "Indicates the importance and delivery timing of a notification.",
                            "enum": [
                              "passive",
                              "active",
                              "time-sensitive",
                              "critical"
                            ]
                          },
                          "mutable-content": {
                            "type": "integer",
                            "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
                          },
                          "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."
                          },
                          "sound": {
                            "oneOf": [
                              {
                                "title": "Regular alert",
                                "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. For critical alerts, you'll pass an object instead."
                              },
                              {
                                "title": "Critical alert",
                                "type": "object",
                                "properties": {
                                  "critical": {
                                    "type": "integer",
                                    "description": "1 indicates critical. 0 is not critical."
                                  },
                                  "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."
                                  }
                                }
                              }
                            ]
                          },
                          "target-content-id": {
                            "type": "string",
                            "description": "The identifier of the window brought forward."
                          },
                          "thread-id": {
                            "type": "string",
                            "description": "An identifier to group related notifications."
                          }
                        }
                      },
                      "CIO": {
                        "type": "object",
                        "required": [
                          "push"
                        ],
                        "description": "Contains options supported by the Customer.io SDK.",
                        "properties": {
                          "push": {
                            "type": "object",
                            "description": "Describes push notification options supported by the CIO SDK.",
                            "properties": {
                              "image": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The URL of an HTTPS image that you want to use for your message."
                              },
                              "link": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "A deep link (to a page in your app), or a link to a web page."
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              }
            }
          },
          "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`)."
          },
          "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](/journeys/channels/localization/getting-started/#supported-languages)."
          },
          "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`)."
          },
          "message": {
            "type": "string",
            "description": "The message body for your notification. This overrides the notification body of the transactional template (referenced by `transactional_message_id`)."
          },
          "sound": {
            "type": "string",
            "description": "**For iOS Only**: your notification can alert users with the device's default notification sound or play no sound at all.\n",
            "enum": [
              "default",
              "none"
            ],
            "default": "default"
          },
          "title": {
            "type": "string",
            "description": "The title for your notification. This overrides the title of the transactional template (referenced by `transactional_message_id`)."
          },
          "to": {
            "type": "string",
            "description": "The devices you want to send this push to—`all`, `last_used`, or a custom device token from the identified profile. Defaults to `all` and overrides the `To` value from your transactional template.",
            "enum": [
              "all",
              "last_used",
              "$device_token"
            ],
            "default": "all"
          }
        }
      },
      "transactionalSharedObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "disable_message_retention": {
            "x-scalar-ignore": true,
            "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`."
          },
          "identifiers": {
            "description": "Identifies the person represented by your transactional message by one of, and only one of, `id`, `email`, or `cio_id`.",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "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",
                    "example": 12345
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "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`.",
                    "example": "cool.person@example.com"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "type": "string",
                    "description": "A unique, immutable identifier for a person, set by Customer.io when you add a person.",
                    "example": 3000001
                  }
                }
              }
            ]
          },
          "message_data": {
            "type": "object",
            "description": "An object containing the key-value pairs referenced using liquid in your message.",
            "additionalProperties": {
              "x-additionalPropertiesName": "Liquid Data",
              "description": "Insert key-values that you want to reference in your message here."
            },
            "example": {
              "password_reset_token": "abcde-12345-fghij-d888",
              "account_id": "123dj"
            }
          },
          "queue_draft": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "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.",
            "default": false
          },
          "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."
          },
          "send_to_unsubscribed": {
            "x-scalar-ignore": true,
            "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`."
          }
        }
      },
      "snippetRequest": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Request body for creating or updating a snippet. Only `name` and `value` are accepted; `updated_at` is returned in responses only.",
        "required": [
          "name",
          "value"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 150,
            "description": "The name of the snippet, must be unique. Trimmed of leading and trailing whitespace before storage."
          },
          "value": {
            "type": "string",
            "description": "The contents of the snippet (plain text or Liquid). Trimmed of leading and trailing whitespace before storage. Max length is environment-specific (default 16000)."
          }
        },
        "example": {
          "name": "address",
          "value": "<strong>My Company</strong></br>1234 Fake St<br/>Fake,NY<br/>10111"
        }
      },
      "snippet": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "describes a piece of reusable content. You must provide a name for the snippet and the `value`—the content that appears in messages that use the snippet.",
        "required": [
          "name",
          "value"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the snippet, must be unique."
          },
          "value": {
            "type": "string",
            "description": "The contents of the snippet."
          },
          "updated_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "The last date-time the snippet was updated.",
            "readOnly": true
          }
        },
        "example": {
          "name": "address",
          "value": "<strong>My Company</strong></br>1234 Fake St<br/>Fake,NY<br/>10111",
          "updated_at": 1582500000
        }
      },
      "senderIdentityObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Information about a sender.",
        "properties": {
          "address": {
            "type": "string",
            "description": "The sender name and email address in the format `name <name@example.com>`."
          },
          "auto_generated": {
            "type": "boolean",
            "description": "If true, the sender is automatically generated by Customer.io."
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "email": {
            "type": "string",
            "description": "The email address of the sender."
          },
          "hidden": {
            "type": "boolean",
            "description": "If true, the sender is hidden in the Customer.io UI."
          },
          "id": {
            "type": "integer",
            "description": "The identifier of a sender."
          },
          "name": {
            "type": "string",
            "description": "The name of the sender."
          },
          "phone": {
            "type": "string",
            "description": "The phone number of the sender, used for SMS senders."
          },
          "template_type": {
            "type": "string",
            "enum": [
              "email",
              "phone"
            ],
            "description": "The type of sender."
          }
        },
        "example": {
          "address": "Cher Ami <test@example.com>",
          "auto_generated": false,
          "deduplicate_id": "4534:1478035647",
          "email": "test@example.com",
          "id": 4534,
          "name": "Cher Ami",
          "template_type": "email"
        }
      },
      "export_id": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "The identifier for the export.",
        "example": 110
      },
      "export_type": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The type of information contained in the export.",
        "enum": [
          "customers",
          "deliveries"
        ],
        "example": "customers"
      },
      "export_failed": {
        "x-scalar-ignore": true,
        "type": "boolean",
        "description": "If true, the export was unsuccessful.",
        "example": false
      },
      "export_description": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "A description of the export.",
        "example": "Customers with segment filters—in Purchased Flowers"
      },
      "export_downloads": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "Counts the total number of times the export has been downloaded.",
        "example": 2
      },
      "metric": {
        "x-scalar-ignore": true,
        "description": "Determines the metric(s) you want to return.",
        "type": "string",
        "enum": [
          "created",
          "attempted",
          "sent",
          "delivered",
          "opened",
          "clicked",
          "converted",
          "bounced",
          "spammed",
          "unsubscribed",
          "dropped",
          "failed",
          "undeliverable"
        ]
      },
      "start": {
        "x-scalar-ignore": true,
        "description": "The unix timestamp representing the beginning of the export.",
        "type": "integer",
        "format": "unix timestamp",
        "example": 1517529600
      },
      "end": {
        "x-scalar-ignore": true,
        "description": "The unix timestamp representing the end of the export.",
        "type": "integer",
        "format": "unix timestamp",
        "example": 1517702400
      },
      "drafts": {
        "x-scalar-ignore": true,
        "description": "If true, your request returns both drafts and active/sent messages.",
        "type": "boolean"
      },
      "exportObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Metadata about an export.",
        "properties": {
          "created_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "description": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "A description of the export.",
            "example": "Customers with segment filters—in Purchased Flowers"
          },
          "downloads": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "Counts the total number of times the export has been downloaded.",
            "example": 2
          },
          "failed": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "description": "If true, the export was unsuccessful.",
            "example": false
          },
          "id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier for the export.",
            "example": 110
          },
          "status": {
            "type": "string",
            "enum": [
              "done",
              "pending",
              "failed"
            ],
            "description": "The state of your export where `done` indicates an export that you can download, `pending`, indicates that your export is not ready to download, and `failed` indicates an export that has failed and will not be downloadable."
          },
          "total": {
            "type": "integer",
            "description": "The number of entries in the export. Exports report 0 until done."
          },
          "type": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The type of information contained in the export.",
            "enum": [
              "customers",
              "deliveries"
            ],
            "example": "customers"
          },
          "updated_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          },
          "user_email": {
            "type": "string",
            "description": "The email of the user who created the export."
          },
          "user_id": {
            "type": "integer",
            "description": "The user who created the export."
          }
        },
        "example": {
          "created_at": 1530296738,
          "deduplicate_id": "110:1530296738",
          "description": "Customers with segment filters—in \\Purchased Flowers\\",
          "downloads": 2,
          "failed": false,
          "id": 110,
          "status": "done",
          "total": 1234,
          "type": "customers",
          "updated_at": 1530296738,
          "user_email": "person@email.com",
          "user_id": 0
        }
      },
      "variant_id": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "The identifier of a one-time send variant—a language in a multi-language one-time send or a test in an A/B test.",
        "readOnly": true
      },
      "subscription_topic_id": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "The identifier of a subscription topic. Remember, subscription topics are assigned an incrementing number, starting at 1.",
        "example": 1
      },
      "newsletterErrorResponse": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Error response format for one-time send endpoints.",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string",
                  "description": "A message describing the error."
                }
              }
            }
          }
        },
        "example": {
          "errors": [
            {
              "detail": "subscription_topic_id is required"
            }
          ]
        }
      },
      "createNewsletterRequest": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "x-scalar-ignore": true,
            "title": "Email",
            "description": "When you create an email, include `subject` and `body`. Set either `from` or `from_id`, but not both. If you set neither, Customer.io uses your oldest verified sending address.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "rate_limit_email_rate": 500,
                  "rate_limit_spread": true,
                  "rate_limit_time_period": 60
                },
                "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
              },
              {
                "type": "object",
                "example": {
                  "body": "<html><body><h1>Product Updates</h1><p>Here's what we shipped this week...</p></body></html>",
                  "subject": "What's new this week, {{ customer.first_name }}",
                  "from": "Product Team <updates@example.com>",
                  "preheader_text": "Check out our latest features and improvements",
                  "type": "email",
                  "name": "Weekly Product Update",
                  "recipients": {
                    "and": [
                      {
                        "or": [
                          {
                            "segment": {
                              "id": 42
                            }
                          },
                          {
                            "segment": {
                              "id": 99
                            }
                          }
                        ]
                      },
                      {
                        "attribute": {
                          "field": "plan",
                          "operator": "eq",
                          "value": "trial",
                          "inverse": true
                        }
                      }
                    ]
                  },
                  "subscription_topic_id": 5
                }
              }
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "The channel type for the one-time send.",
                "enum": [
                  "email"
                ]
              },
              "body": {
                "type": "string",
                "description": "The HTML body content of the email. Use standard HTML/CSS, not syntax unique to Design Studio."
              },
              "name": {
                "type": "string",
                "maxLength": 190,
                "description": "The name of the one-time send."
              },
              "recipients": {
                "type": "object",
                "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
                "properties": {
                  "and": {
                    "type": "array",
                    "description": "An array of conditions that must all be true.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "attribute": {
                    "type": "object",
                    "description": "A customer attribute condition.",
                    "properties": {
                      "field": {
                        "type": "string",
                        "description": "The attribute name."
                      },
                      "inverse": {
                        "type": "boolean",
                        "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                      },
                      "operator": {
                        "type": "string",
                        "description": "The comparison operator.",
                        "enum": [
                          "eq",
                          "exists"
                        ]
                      },
                      "value": {
                        "type": "string",
                        "description": "The value to compare against. Required when `operator` is `eq`."
                      }
                    }
                  },
                  "not": {
                    "type": "object",
                    "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
                  },
                  "or": {
                    "type": "array",
                    "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "segment": {
                    "type": "object",
                    "description": "A segment condition.",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "The ID of a segment."
                      }
                    }
                  }
                }
              },
              "subject": {
                "type": "string",
                "description": "The subject line of the email."
              },
              "body_plain": {
                "type": "string",
                "description": "The plaintext body of the email. If provided, this overwrites the auto-generated plaintext."
              },
              "from": {
                "type": "string",
                "description": "The address to send the email from, in the format `Name <email@domain.com>`. You can set `from` or `from_id`, but not both. Use one of the `address` values from [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/)."
              },
              "from_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 1
              },
              "layout_id": {
                "type": "integer",
                "description": "The ID of the [layout](/journeys/channels/email/layouts/3-layouts-and-customerio/) you want to use for the email. If you don't set one, the email uses your workspace's default layout. Find a layout's ID in its URL."
              },
              "preheader_text": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
              },
              "rate_limit_email_rate": {
                "type": "integer",
                "minimum": 1,
                "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
              },
              "rate_limit_spread": {
                "type": "boolean",
                "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
              },
              "rate_limit_time_period": {
                "type": "integer",
                "enum": [
                  60,
                  3600,
                  86400
                ],
                "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
              },
              "scheduled_at": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
              },
              "send_now": {
                "type": "boolean",
                "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
              },
              "subscription_topic_id": {
                "type": "integer",
                "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
              }
            },
            "required": [
              "name",
              "type",
              "recipients",
              "subject",
              "body"
            ]
          },
          {
            "x-scalar-ignore": true,
            "title": "SMS",
            "description": "When creating an SMS text, you must include `body`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "rate_limit_email_rate": 500,
                  "rate_limit_spread": true,
                  "rate_limit_time_period": 60
                },
                "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
              }
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "The channel type for the one-time send.",
                "enum": [
                  "twilio"
                ]
              },
              "body": {
                "type": "string",
                "description": "The body content of the SMS message.",
                "example": "Hi {{ customer.first_name }}, your order has shipped!"
              },
              "name": {
                "type": "string",
                "maxLength": 190,
                "description": "The name of the one-time send."
              },
              "recipients": {
                "type": "object",
                "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
                "properties": {
                  "and": {
                    "type": "array",
                    "description": "An array of conditions that must all be true.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "attribute": {
                    "type": "object",
                    "description": "A customer attribute condition.",
                    "properties": {
                      "field": {
                        "type": "string",
                        "description": "The attribute name."
                      },
                      "inverse": {
                        "type": "boolean",
                        "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                      },
                      "operator": {
                        "type": "string",
                        "description": "The comparison operator.",
                        "enum": [
                          "eq",
                          "exists"
                        ]
                      },
                      "value": {
                        "type": "string",
                        "description": "The value to compare against. Required when `operator` is `eq`."
                      }
                    }
                  },
                  "not": {
                    "type": "object",
                    "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
                  },
                  "or": {
                    "type": "array",
                    "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "segment": {
                    "type": "object",
                    "description": "A segment condition.",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "The ID of a segment."
                      }
                    }
                  }
                }
              },
              "rate_limit_email_rate": {
                "type": "integer",
                "minimum": 1,
                "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
              },
              "rate_limit_spread": {
                "type": "boolean",
                "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
              },
              "rate_limit_time_period": {
                "type": "integer",
                "enum": [
                  60,
                  3600,
                  86400
                ],
                "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
              },
              "scheduled_at": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
              },
              "send_now": {
                "type": "boolean",
                "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
              },
              "subscription_topic_id": {
                "type": "integer",
                "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
              }
            },
            "required": [
              "name",
              "type",
              "recipients",
              "body"
            ]
          },
          {
            "x-scalar-ignore": true,
            "title": "Push",
            "description": "For push notifications, you must provide at least one of `subject` or `body`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "rate_limit_email_rate": 500,
                  "rate_limit_spread": true,
                  "rate_limit_time_period": 60
                },
                "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
              }
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "The channel type for the one-time send.",
                "enum": [
                  "push"
                ]
              },
              "name": {
                "type": "string",
                "maxLength": 190,
                "description": "The name of the one-time send."
              },
              "recipients": {
                "type": "object",
                "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
                "properties": {
                  "and": {
                    "type": "array",
                    "description": "An array of conditions that must all be true.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "attribute": {
                    "type": "object",
                    "description": "A customer attribute condition.",
                    "properties": {
                      "field": {
                        "type": "string",
                        "description": "The attribute name."
                      },
                      "inverse": {
                        "type": "boolean",
                        "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                      },
                      "operator": {
                        "type": "string",
                        "description": "The comparison operator.",
                        "enum": [
                          "eq",
                          "exists"
                        ]
                      },
                      "value": {
                        "type": "string",
                        "description": "The value to compare against. Required when `operator` is `eq`."
                      }
                    }
                  },
                  "not": {
                    "type": "object",
                    "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
                  },
                  "or": {
                    "type": "array",
                    "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "segment": {
                    "type": "object",
                    "description": "A segment condition.",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "The ID of a segment."
                      }
                    }
                  }
                }
              },
              "body": {
                "type": "string",
                "description": "The body content of the push notification. You must provide `subject`, `body`, or both.",
                "example": "Get 30% off everything. Tap to shop now."
              },
              "rate_limit_email_rate": {
                "type": "integer",
                "minimum": 1,
                "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
              },
              "rate_limit_spread": {
                "type": "boolean",
                "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
              },
              "rate_limit_time_period": {
                "type": "integer",
                "enum": [
                  60,
                  3600,
                  86400
                ],
                "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
              },
              "scheduled_at": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
              },
              "send_now": {
                "type": "boolean",
                "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
              },
              "subject": {
                "type": "string",
                "description": "The title of the push notification. You must provide `subject`, `body`, or both.",
                "example": "24-hour flash sale!"
              },
              "subscription_topic_id": {
                "type": "integer",
                "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
              }
            },
            "required": [
              "name",
              "type",
              "recipients"
            ]
          },
          {
            "x-scalar-ignore": true,
            "title": "In-App",
            "description": "For in-app messages, you must include `body_json`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "rate_limit_email_rate": 500,
                  "rate_limit_spread": true,
                  "rate_limit_time_period": 60
                },
                "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
              }
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "The channel type for the one-time send.",
                "enum": [
                  "in_app"
                ]
              },
              "body_json": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "JSON body content for the in-app message, as a stringified JSON object—a JSON string, not a nested object. It supports these fields:\n- `message_id`—string, an identifier for the message\n- `carta_content`—string, the message content markup from our in-app editor\n- `display`—object; `mode` (`modal`, `overlay`, `inline`, or `tooltip`) and `value` (the position for modals: `top`, `center`, or `bottom`; the position ID for inline messages). Tooltips take a `tooltip_target` CSS selector instead of `value`\n- `priority`—integer, delivery order for queued messages: `1` (low), `5` (medium), or `10` (high)\n- `expiration`—object; if omitted, the message expires after 30 days (60 maximum). Set `type` (`relative` or `absolute`), `unit`, and `value`\n- `persistent`—boolean, keep the message visible across pages and sessions until your audience dismisses it\n- `attributes`—object, custom key-value string pairs delivered with the message\n- `route_rules` and `excluded_route_rules`—objects keyed by platform (`web`, `ios`, or `android`), each holding an array of [page rules](/messaging/channels/in-app/send-in-app-message/#page-rule) with an `operator` (`contains` or `equals`), a `value` (`*` is a wildcard), and an `order` (integer). You can only set page rules when you create a message, and platforms you don't set rules for won't show the message\n",
                "example": "{\"message_id\":\"welcome\",\"display\":{\"mode\":\"modal\",\"value\":\"center\"},\"carta_content\":\"<x-base><x-message>Hello {{customer.first_name}}!</x-message></x-base>\",\"route_rules\":{\"web\":[{\"operator\":\"contains\",\"value\":\"/dashboard\",\"order\":0}]},\"excluded_route_rules\":{\"web\":[{\"operator\":\"equals\",\"value\":\"/admin\",\"order\":0}]}}"
              },
              "name": {
                "type": "string",
                "maxLength": 190,
                "description": "The name of the one-time send."
              },
              "recipients": {
                "type": "object",
                "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
                "properties": {
                  "and": {
                    "type": "array",
                    "description": "An array of conditions that must all be true.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "attribute": {
                    "type": "object",
                    "description": "A customer attribute condition.",
                    "properties": {
                      "field": {
                        "type": "string",
                        "description": "The attribute name."
                      },
                      "inverse": {
                        "type": "boolean",
                        "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                      },
                      "operator": {
                        "type": "string",
                        "description": "The comparison operator.",
                        "enum": [
                          "eq",
                          "exists"
                        ]
                      },
                      "value": {
                        "type": "string",
                        "description": "The value to compare against. Required when `operator` is `eq`."
                      }
                    }
                  },
                  "not": {
                    "type": "object",
                    "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
                  },
                  "or": {
                    "type": "array",
                    "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "segment": {
                    "type": "object",
                    "description": "A segment condition.",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "The ID of a segment."
                      }
                    }
                  }
                }
              },
              "rate_limit_email_rate": {
                "type": "integer",
                "minimum": 1,
                "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
              },
              "rate_limit_spread": {
                "type": "boolean",
                "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
              },
              "rate_limit_time_period": {
                "type": "integer",
                "enum": [
                  60,
                  3600,
                  86400
                ],
                "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
              },
              "scheduled_at": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
              },
              "send_now": {
                "type": "boolean",
                "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
              },
              "subscription_topic_id": {
                "type": "integer",
                "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
              }
            },
            "required": [
              "name",
              "type",
              "recipients",
              "body_json"
            ]
          },
          {
            "x-scalar-ignore": true,
            "title": "Webhook",
            "description": "For webhooks, you must include `body`, `request_method`, and `url`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "rate_limit_email_rate": 500,
                  "rate_limit_spread": true,
                  "rate_limit_time_period": 60
                },
                "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
              }
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "The channel type for the one-time send.",
                "enum": [
                  "webhook"
                ]
              },
              "body": {
                "type": "string",
                "description": "The body content of the webhook request.",
                "example": "{\"channel\":\"#marketing\",\"text\":\"One-time send sent to {{ customer.email }}\"}"
              },
              "name": {
                "type": "string",
                "maxLength": 190,
                "description": "The name of the one-time send."
              },
              "recipients": {
                "type": "object",
                "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
                "properties": {
                  "and": {
                    "type": "array",
                    "description": "An array of conditions that must all be true.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "attribute": {
                    "type": "object",
                    "description": "A customer attribute condition.",
                    "properties": {
                      "field": {
                        "type": "string",
                        "description": "The attribute name."
                      },
                      "inverse": {
                        "type": "boolean",
                        "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                      },
                      "operator": {
                        "type": "string",
                        "description": "The comparison operator.",
                        "enum": [
                          "eq",
                          "exists"
                        ]
                      },
                      "value": {
                        "type": "string",
                        "description": "The value to compare against. Required when `operator` is `eq`."
                      }
                    }
                  },
                  "not": {
                    "type": "object",
                    "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
                  },
                  "or": {
                    "type": "array",
                    "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "segment": {
                    "type": "object",
                    "description": "A segment condition.",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "The ID of a segment."
                      }
                    }
                  }
                }
              },
              "request_method": {
                "type": "string",
                "description": "The HTTP method for the webhook request.",
                "enum": [
                  "DELETE",
                  "GET",
                  "POST",
                  "PUT",
                  "PATCH"
                ]
              },
              "url": {
                "type": "string",
                "description": "The URL to send the webhook request to."
              },
              "rate_limit_email_rate": {
                "type": "integer",
                "minimum": 1,
                "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
              },
              "rate_limit_spread": {
                "type": "boolean",
                "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
              },
              "rate_limit_time_period": {
                "type": "integer",
                "enum": [
                  60,
                  3600,
                  86400
                ],
                "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
              },
              "scheduled_at": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
              },
              "send_now": {
                "type": "boolean",
                "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
              },
              "subscription_topic_id": {
                "type": "integer",
                "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
              }
            },
            "required": [
              "name",
              "type",
              "recipients",
              "body",
              "request_method",
              "url"
            ]
          },
          {
            "x-scalar-ignore": true,
            "title": "Inbox message",
            "description": "For inbox messages, you must include `body_json`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "rate_limit_email_rate": 500,
                  "rate_limit_spread": true,
                  "rate_limit_time_period": 60
                },
                "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
              }
            ],
            "properties": {
              "type": {
                "type": "string",
                "description": "The channel type for the one-time send.",
                "enum": [
                  "inbox"
                ]
              },
              "body_json": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "JSON body content for the inbox message, as a stringified JSON object. The fields you include depend on how you [set up your inbox](/journeys/channels/in-app/inbox/setup/):\n- `topics`—array, topics your audience can filter by in their inbox\n- `type`—string, context that helps render the inbox message\n- `properties`—object, your message info like the title, body, link, and image\n- `expiration`—object; if omitted, the message expires after 30 days. Otherwise set `type` (`relative` or `absolute`), `unit` (`seconds`, `minutes`, `hours`, or `days`; relative only), and `value` (number of units, or a unix timestamp if absolute)\n",
                "example": "{\"topics\": [\"general\", \"updates\"], \"type\": \"notification\", \"expiration\": {\"type\": \"relative\", \"value\": \"30\", \"unit\": \"days\"}, \"properties\": {\"title\": \"Welcome!\", \"message\": \"Thanks for signing up\", \"link\": \"https://customer.io\"}}"
              },
              "name": {
                "type": "string",
                "maxLength": 190,
                "description": "The name of the one-time send."
              },
              "recipients": {
                "type": "object",
                "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
                "properties": {
                  "and": {
                    "type": "array",
                    "description": "An array of conditions that must all be true.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "attribute": {
                    "type": "object",
                    "description": "A customer attribute condition.",
                    "properties": {
                      "field": {
                        "type": "string",
                        "description": "The attribute name."
                      },
                      "inverse": {
                        "type": "boolean",
                        "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                      },
                      "operator": {
                        "type": "string",
                        "description": "The comparison operator.",
                        "enum": [
                          "eq",
                          "exists"
                        ]
                      },
                      "value": {
                        "type": "string",
                        "description": "The value to compare against. Required when `operator` is `eq`."
                      }
                    }
                  },
                  "not": {
                    "type": "object",
                    "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
                  },
                  "or": {
                    "type": "array",
                    "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "segment": {
                    "type": "object",
                    "description": "A segment condition.",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "description": "The ID of a segment."
                      }
                    }
                  }
                }
              },
              "rate_limit_email_rate": {
                "type": "integer",
                "minimum": 1,
                "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
              },
              "rate_limit_spread": {
                "type": "boolean",
                "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
              },
              "rate_limit_time_period": {
                "type": "integer",
                "enum": [
                  60,
                  3600,
                  86400
                ],
                "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
              },
              "scheduled_at": {
                "type": "integer",
                "format": "unix timestamp",
                "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
              },
              "send_now": {
                "type": "boolean",
                "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
              },
              "subscription_topic_id": {
                "type": "integer",
                "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
              }
            },
            "required": [
              "name",
              "type",
              "recipients",
              "body_json"
            ]
          }
        ],
        "discriminator": {
          "propertyName": "type"
        }
      },
      "createNewsletterCommon": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "name",
          "type",
          "recipients"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 190,
            "description": "The name of the one-time send."
          },
          "recipients": {
            "type": "object",
            "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
            "properties": {
              "and": {
                "type": "array",
                "description": "An array of conditions that must all be true.",
                "items": {
                  "type": "object"
                }
              },
              "attribute": {
                "type": "object",
                "description": "A customer attribute condition.",
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The attribute name."
                  },
                  "inverse": {
                    "type": "boolean",
                    "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                  },
                  "operator": {
                    "type": "string",
                    "description": "The comparison operator.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "description": "The value to compare against. Required when `operator` is `eq`."
                  }
                }
              },
              "not": {
                "type": "object",
                "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
              },
              "or": {
                "type": "array",
                "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                "items": {
                  "type": "object"
                }
              },
              "segment": {
                "type": "object",
                "description": "A segment condition.",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "The ID of a segment."
                  }
                }
              }
            }
          },
          "scheduled_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
          },
          "send_now": {
            "type": "boolean",
            "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
          },
          "subscription_topic_id": {
            "type": "integer",
            "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
          }
        }
      },
      "createEmailNewsletter": {
        "x-scalar-ignore": true,
        "title": "Email",
        "description": "When you create an email, include `subject` and `body`. Set either `from` or `from_id`, but not both. If you set neither, Customer.io uses your oldest verified sending address.",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "rate_limit_email_rate": 500,
              "rate_limit_spread": true,
              "rate_limit_time_period": 60
            },
            "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
          },
          {
            "type": "object",
            "example": {
              "body": "<html><body><h1>Product Updates</h1><p>Here's what we shipped this week...</p></body></html>",
              "subject": "What's new this week, {{ customer.first_name }}",
              "from": "Product Team <updates@example.com>",
              "preheader_text": "Check out our latest features and improvements",
              "type": "email",
              "name": "Weekly Product Update",
              "recipients": {
                "and": [
                  {
                    "or": [
                      {
                        "segment": {
                          "id": 42
                        }
                      },
                      {
                        "segment": {
                          "id": 99
                        }
                      }
                    ]
                  },
                  {
                    "attribute": {
                      "field": "plan",
                      "operator": "eq",
                      "value": "trial",
                      "inverse": true
                    }
                  }
                ]
              },
              "subscription_topic_id": 5
            }
          }
        ],
        "properties": {
          "body": {
            "type": "string",
            "description": "The HTML body content of the email. Use standard HTML/CSS, not syntax unique to Design Studio."
          },
          "name": {
            "type": "string",
            "maxLength": 190,
            "description": "The name of the one-time send."
          },
          "recipients": {
            "type": "object",
            "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
            "properties": {
              "and": {
                "type": "array",
                "description": "An array of conditions that must all be true.",
                "items": {
                  "type": "object"
                }
              },
              "attribute": {
                "type": "object",
                "description": "A customer attribute condition.",
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The attribute name."
                  },
                  "inverse": {
                    "type": "boolean",
                    "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                  },
                  "operator": {
                    "type": "string",
                    "description": "The comparison operator.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "description": "The value to compare against. Required when `operator` is `eq`."
                  }
                }
              },
              "not": {
                "type": "object",
                "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
              },
              "or": {
                "type": "array",
                "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                "items": {
                  "type": "object"
                }
              },
              "segment": {
                "type": "object",
                "description": "A segment condition.",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "The ID of a segment."
                  }
                }
              }
            }
          },
          "subject": {
            "type": "string",
            "description": "The subject line of the email."
          },
          "type": {
            "type": "string",
            "description": "The channel type for the one-time send.",
            "enum": [
              "email"
            ]
          },
          "body_plain": {
            "type": "string",
            "description": "The plaintext body of the email. If provided, this overwrites the auto-generated plaintext."
          },
          "from": {
            "type": "string",
            "description": "The address to send the email from, in the format `Name <email@domain.com>`. You can set `from` or `from_id`, but not both. Use one of the `address` values from [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/)."
          },
          "from_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 1
          },
          "layout_id": {
            "type": "integer",
            "description": "The ID of the [layout](/journeys/channels/email/layouts/3-layouts-and-customerio/) you want to use for the email. If you don't set one, the email uses your workspace's default layout. Find a layout's ID in its URL."
          },
          "preheader_text": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
          },
          "rate_limit_email_rate": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
          },
          "rate_limit_spread": {
            "type": "boolean",
            "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
          },
          "rate_limit_time_period": {
            "type": "integer",
            "enum": [
              60,
              3600,
              86400
            ],
            "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
          },
          "scheduled_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
          },
          "send_now": {
            "type": "boolean",
            "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
          },
          "subscription_topic_id": {
            "type": "integer",
            "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
          }
        },
        "required": [
          "name",
          "type",
          "recipients",
          "subject",
          "body"
        ]
      },
      "createSmsNewsletter": {
        "x-scalar-ignore": true,
        "title": "SMS",
        "description": "When creating an SMS text, you must include `body`.",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "rate_limit_email_rate": 500,
              "rate_limit_spread": true,
              "rate_limit_time_period": 60
            },
            "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
          }
        ],
        "properties": {
          "body": {
            "type": "string",
            "description": "The body content of the SMS message.",
            "example": "Hi {{ customer.first_name }}, your order has shipped!"
          },
          "name": {
            "type": "string",
            "maxLength": 190,
            "description": "The name of the one-time send."
          },
          "recipients": {
            "type": "object",
            "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
            "properties": {
              "and": {
                "type": "array",
                "description": "An array of conditions that must all be true.",
                "items": {
                  "type": "object"
                }
              },
              "attribute": {
                "type": "object",
                "description": "A customer attribute condition.",
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The attribute name."
                  },
                  "inverse": {
                    "type": "boolean",
                    "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                  },
                  "operator": {
                    "type": "string",
                    "description": "The comparison operator.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "description": "The value to compare against. Required when `operator` is `eq`."
                  }
                }
              },
              "not": {
                "type": "object",
                "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
              },
              "or": {
                "type": "array",
                "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                "items": {
                  "type": "object"
                }
              },
              "segment": {
                "type": "object",
                "description": "A segment condition.",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "The ID of a segment."
                  }
                }
              }
            }
          },
          "type": {
            "type": "string",
            "description": "The channel type for the one-time send.",
            "enum": [
              "twilio"
            ]
          },
          "rate_limit_email_rate": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
          },
          "rate_limit_spread": {
            "type": "boolean",
            "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
          },
          "rate_limit_time_period": {
            "type": "integer",
            "enum": [
              60,
              3600,
              86400
            ],
            "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
          },
          "scheduled_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
          },
          "send_now": {
            "type": "boolean",
            "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
          },
          "subscription_topic_id": {
            "type": "integer",
            "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
          }
        },
        "required": [
          "name",
          "type",
          "recipients",
          "body"
        ]
      },
      "createPushNewsletter": {
        "x-scalar-ignore": true,
        "title": "Push",
        "description": "For push notifications, you must provide at least one of `subject` or `body`.",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "rate_limit_email_rate": 500,
              "rate_limit_spread": true,
              "rate_limit_time_period": 60
            },
            "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
          }
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 190,
            "description": "The name of the one-time send."
          },
          "recipients": {
            "type": "object",
            "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
            "properties": {
              "and": {
                "type": "array",
                "description": "An array of conditions that must all be true.",
                "items": {
                  "type": "object"
                }
              },
              "attribute": {
                "type": "object",
                "description": "A customer attribute condition.",
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The attribute name."
                  },
                  "inverse": {
                    "type": "boolean",
                    "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                  },
                  "operator": {
                    "type": "string",
                    "description": "The comparison operator.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "description": "The value to compare against. Required when `operator` is `eq`."
                  }
                }
              },
              "not": {
                "type": "object",
                "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
              },
              "or": {
                "type": "array",
                "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                "items": {
                  "type": "object"
                }
              },
              "segment": {
                "type": "object",
                "description": "A segment condition.",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "The ID of a segment."
                  }
                }
              }
            }
          },
          "type": {
            "type": "string",
            "description": "The channel type for the one-time send.",
            "enum": [
              "push"
            ]
          },
          "body": {
            "type": "string",
            "description": "The body content of the push notification. You must provide `subject`, `body`, or both.",
            "example": "Get 30% off everything. Tap to shop now."
          },
          "rate_limit_email_rate": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
          },
          "rate_limit_spread": {
            "type": "boolean",
            "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
          },
          "rate_limit_time_period": {
            "type": "integer",
            "enum": [
              60,
              3600,
              86400
            ],
            "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
          },
          "scheduled_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
          },
          "send_now": {
            "type": "boolean",
            "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
          },
          "subject": {
            "type": "string",
            "description": "The title of the push notification. You must provide `subject`, `body`, or both.",
            "example": "24-hour flash sale!"
          },
          "subscription_topic_id": {
            "type": "integer",
            "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
          }
        },
        "required": [
          "name",
          "type",
          "recipients"
        ]
      },
      "createInAppNewsletter": {
        "x-scalar-ignore": true,
        "title": "In-App",
        "description": "For in-app messages, you must include `body_json`.",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "rate_limit_email_rate": 500,
              "rate_limit_spread": true,
              "rate_limit_time_period": 60
            },
            "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
          }
        ],
        "properties": {
          "body_json": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "JSON body content for the in-app message, as a stringified JSON object—a JSON string, not a nested object. It supports these fields:\n- `message_id`—string, an identifier for the message\n- `carta_content`—string, the message content markup from our in-app editor\n- `display`—object; `mode` (`modal`, `overlay`, `inline`, or `tooltip`) and `value` (the position for modals: `top`, `center`, or `bottom`; the position ID for inline messages). Tooltips take a `tooltip_target` CSS selector instead of `value`\n- `priority`—integer, delivery order for queued messages: `1` (low), `5` (medium), or `10` (high)\n- `expiration`—object; if omitted, the message expires after 30 days (60 maximum). Set `type` (`relative` or `absolute`), `unit`, and `value`\n- `persistent`—boolean, keep the message visible across pages and sessions until your audience dismisses it\n- `attributes`—object, custom key-value string pairs delivered with the message\n- `route_rules` and `excluded_route_rules`—objects keyed by platform (`web`, `ios`, or `android`), each holding an array of [page rules](/messaging/channels/in-app/send-in-app-message/#page-rule) with an `operator` (`contains` or `equals`), a `value` (`*` is a wildcard), and an `order` (integer). You can only set page rules when you create a message, and platforms you don't set rules for won't show the message\n",
            "example": "{\"message_id\":\"welcome\",\"display\":{\"mode\":\"modal\",\"value\":\"center\"},\"carta_content\":\"<x-base><x-message>Hello {{customer.first_name}}!</x-message></x-base>\",\"route_rules\":{\"web\":[{\"operator\":\"contains\",\"value\":\"/dashboard\",\"order\":0}]},\"excluded_route_rules\":{\"web\":[{\"operator\":\"equals\",\"value\":\"/admin\",\"order\":0}]}}"
          },
          "name": {
            "type": "string",
            "maxLength": 190,
            "description": "The name of the one-time send."
          },
          "recipients": {
            "type": "object",
            "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
            "properties": {
              "and": {
                "type": "array",
                "description": "An array of conditions that must all be true.",
                "items": {
                  "type": "object"
                }
              },
              "attribute": {
                "type": "object",
                "description": "A customer attribute condition.",
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The attribute name."
                  },
                  "inverse": {
                    "type": "boolean",
                    "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                  },
                  "operator": {
                    "type": "string",
                    "description": "The comparison operator.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "description": "The value to compare against. Required when `operator` is `eq`."
                  }
                }
              },
              "not": {
                "type": "object",
                "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
              },
              "or": {
                "type": "array",
                "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                "items": {
                  "type": "object"
                }
              },
              "segment": {
                "type": "object",
                "description": "A segment condition.",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "The ID of a segment."
                  }
                }
              }
            }
          },
          "type": {
            "type": "string",
            "description": "The channel type for the one-time send.",
            "enum": [
              "in_app"
            ]
          },
          "rate_limit_email_rate": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
          },
          "rate_limit_spread": {
            "type": "boolean",
            "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
          },
          "rate_limit_time_period": {
            "type": "integer",
            "enum": [
              60,
              3600,
              86400
            ],
            "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
          },
          "scheduled_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
          },
          "send_now": {
            "type": "boolean",
            "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
          },
          "subscription_topic_id": {
            "type": "integer",
            "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
          }
        },
        "required": [
          "name",
          "type",
          "recipients",
          "body_json"
        ]
      },
      "inAppBodyJson": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "JSON body content for the in-app message, as a stringified JSON object—a JSON string, not a nested object. It supports these fields:\n- `message_id`—string, an identifier for the message\n- `carta_content`—string, the message content markup from our in-app editor\n- `display`—object; `mode` (`modal`, `overlay`, `inline`, or `tooltip`) and `value` (the position for modals: `top`, `center`, or `bottom`; the position ID for inline messages). Tooltips take a `tooltip_target` CSS selector instead of `value`\n- `priority`—integer, delivery order for queued messages: `1` (low), `5` (medium), or `10` (high)\n- `expiration`—object; if omitted, the message expires after 30 days (60 maximum). Set `type` (`relative` or `absolute`), `unit`, and `value`\n- `persistent`—boolean, keep the message visible across pages and sessions until your audience dismisses it\n- `attributes`—object, custom key-value string pairs delivered with the message\n- `route_rules` and `excluded_route_rules`—objects keyed by platform (`web`, `ios`, or `android`), each holding an array of [page rules](/messaging/channels/in-app/send-in-app-message/#page-rule) with an `operator` (`contains` or `equals`), a `value` (`*` is a wildcard), and an `order` (integer). You can only set page rules when you create a message, and platforms you don't set rules for won't show the message\n",
        "example": "{\"message_id\":\"welcome\",\"display\":{\"mode\":\"modal\",\"value\":\"center\"},\"carta_content\":\"<x-base><x-message>Hello {{customer.first_name}}!</x-message></x-base>\",\"route_rules\":{\"web\":[{\"operator\":\"contains\",\"value\":\"/dashboard\",\"order\":0}]},\"excluded_route_rules\":{\"web\":[{\"operator\":\"equals\",\"value\":\"/admin\",\"order\":0}]}}"
      },
      "inboxBodyJson": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "JSON body content for the inbox message, as a stringified JSON object. The fields you include depend on how you [set up your inbox](/journeys/channels/in-app/inbox/setup/):\n- `topics`—array, topics your audience can filter by in their inbox\n- `type`—string, context that helps render the inbox message\n- `properties`—object, your message info like the title, body, link, and image\n- `expiration`—object; if omitted, the message expires after 30 days. Otherwise set `type` (`relative` or `absolute`), `unit` (`seconds`, `minutes`, `hours`, or `days`; relative only), and `value` (number of units, or a unix timestamp if absolute)\n",
        "example": "{\"topics\": [\"general\", \"updates\"], \"type\": \"notification\", \"expiration\": {\"type\": \"relative\", \"value\": \"30\", \"unit\": \"days\"}, \"properties\": {\"title\": \"Welcome!\", \"message\": \"Thanks for signing up\", \"link\": \"https://customer.io\"}}"
      },
      "createInboxNewsletter": {
        "x-scalar-ignore": true,
        "title": "Inbox message",
        "description": "For inbox messages, you must include `body_json`.",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "rate_limit_email_rate": 500,
              "rate_limit_spread": true,
              "rate_limit_time_period": 60
            },
            "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
          }
        ],
        "properties": {
          "body_json": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "JSON body content for the inbox message, as a stringified JSON object. The fields you include depend on how you [set up your inbox](/journeys/channels/in-app/inbox/setup/):\n- `topics`—array, topics your audience can filter by in their inbox\n- `type`—string, context that helps render the inbox message\n- `properties`—object, your message info like the title, body, link, and image\n- `expiration`—object; if omitted, the message expires after 30 days. Otherwise set `type` (`relative` or `absolute`), `unit` (`seconds`, `minutes`, `hours`, or `days`; relative only), and `value` (number of units, or a unix timestamp if absolute)\n",
            "example": "{\"topics\": [\"general\", \"updates\"], \"type\": \"notification\", \"expiration\": {\"type\": \"relative\", \"value\": \"30\", \"unit\": \"days\"}, \"properties\": {\"title\": \"Welcome!\", \"message\": \"Thanks for signing up\", \"link\": \"https://customer.io\"}}"
          },
          "name": {
            "type": "string",
            "maxLength": 190,
            "description": "The name of the one-time send."
          },
          "recipients": {
            "type": "object",
            "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
            "properties": {
              "and": {
                "type": "array",
                "description": "An array of conditions that must all be true.",
                "items": {
                  "type": "object"
                }
              },
              "attribute": {
                "type": "object",
                "description": "A customer attribute condition.",
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The attribute name."
                  },
                  "inverse": {
                    "type": "boolean",
                    "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                  },
                  "operator": {
                    "type": "string",
                    "description": "The comparison operator.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "description": "The value to compare against. Required when `operator` is `eq`."
                  }
                }
              },
              "not": {
                "type": "object",
                "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
              },
              "or": {
                "type": "array",
                "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                "items": {
                  "type": "object"
                }
              },
              "segment": {
                "type": "object",
                "description": "A segment condition.",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "The ID of a segment."
                  }
                }
              }
            }
          },
          "type": {
            "type": "string",
            "description": "The channel type for the one-time send.",
            "enum": [
              "inbox"
            ]
          },
          "rate_limit_email_rate": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
          },
          "rate_limit_spread": {
            "type": "boolean",
            "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
          },
          "rate_limit_time_period": {
            "type": "integer",
            "enum": [
              60,
              3600,
              86400
            ],
            "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
          },
          "scheduled_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
          },
          "send_now": {
            "type": "boolean",
            "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
          },
          "subscription_topic_id": {
            "type": "integer",
            "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
          }
        },
        "required": [
          "name",
          "type",
          "recipients",
          "body_json"
        ]
      },
      "createWebhookNewsletter": {
        "x-scalar-ignore": true,
        "title": "Webhook",
        "description": "For webhooks, you must include `body`, `request_method`, and `url`.",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "rate_limit_email_rate": 500,
              "rate_limit_spread": true,
              "rate_limit_time_period": 60
            },
            "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
          }
        ],
        "properties": {
          "body": {
            "type": "string",
            "description": "The body content of the webhook request.",
            "example": "{\"channel\":\"#marketing\",\"text\":\"One-time send sent to {{ customer.email }}\"}"
          },
          "name": {
            "type": "string",
            "maxLength": 190,
            "description": "The name of the one-time send."
          },
          "recipients": {
            "type": "object",
            "description": "Filter conditions that define the one-time send's recipients. Combine `segment` and `attribute` conditions with `and`, `or`, and `not` operators.\n\nThis endpoint enforces a strict shape:\n\n* The outermost object must be a single `and` array.\n* Every operator or condition object takes exactly **one** key: `and`, `or`, `not`, `segment`, or `attribute`. An object with two keys—like `not` alongside `and`—is rejected with an \"Invalid filter spec\" error.\n* Segment conditions must be wrapped in an `or` array, even for a single segment—and `or` arrays can contain only segment conditions.\n* To exclude segments, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array.\n* Attribute conditions sit directly in the `and` array, unwrapped. To negate an attribute condition, set `inverse: true` on the attribute itself—`not` can't contain attribute conditions.\n\nThe email example on this operation shows or-wrapped segments combined with a negated attribute; for the common \"include segment A, exclude segment B\" pattern, see the **include one segment, exclude another** request example. See [Format API-triggered broadcasts](/messaging/send/broadcasts/api-triggered-data-format/#overriding-recipients) for general operator behavior.\n",
            "properties": {
              "and": {
                "type": "array",
                "description": "An array of conditions that must all be true.",
                "items": {
                  "type": "object"
                }
              },
              "attribute": {
                "type": "object",
                "description": "A customer attribute condition.",
                "properties": {
                  "field": {
                    "type": "string",
                    "description": "The attribute name."
                  },
                  "inverse": {
                    "type": "boolean",
                    "description": "Set to `true` for \"is not equal\" or \"does not exist\"."
                  },
                  "operator": {
                    "type": "string",
                    "description": "The comparison operator.",
                    "enum": [
                      "eq",
                      "exists"
                    ]
                  },
                  "value": {
                    "type": "string",
                    "description": "The value to compare against. Required when `operator` is `eq`."
                  }
                }
              },
              "not": {
                "type": "object",
                "description": "A condition or group of conditions to exclude. On this endpoint, `not` must contain an `or` of segment conditions and sit as its own item inside the `and` array. An object with both `and` and `not` keys is rejected with an \"Invalid filter spec\" error."
              },
              "or": {
                "type": "array",
                "description": "An array of conditions where at least one must be true. On this endpoint, `or` arrays can contain only segment conditions.",
                "items": {
                  "type": "object"
                }
              },
              "segment": {
                "type": "object",
                "description": "A segment condition.",
                "properties": {
                  "id": {
                    "type": "integer",
                    "description": "The ID of a segment."
                  }
                }
              }
            }
          },
          "request_method": {
            "type": "string",
            "description": "The HTTP method for the webhook request.",
            "enum": [
              "DELETE",
              "GET",
              "POST",
              "PUT",
              "PATCH"
            ]
          },
          "type": {
            "type": "string",
            "description": "The channel type for the one-time send.",
            "enum": [
              "webhook"
            ]
          },
          "url": {
            "type": "string",
            "description": "The URL to send the webhook request to."
          },
          "rate_limit_email_rate": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
          },
          "rate_limit_spread": {
            "type": "boolean",
            "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
          },
          "rate_limit_time_period": {
            "type": "integer",
            "enum": [
              60,
              3600,
              86400
            ],
            "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
          },
          "scheduled_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "A Unix timestamp indicating when to send the one-time send. The time must be in the future. You cannot set both `send_now` and `scheduled_at`."
          },
          "send_now": {
            "type": "boolean",
            "description": "If `true`, the one-time send is sent immediately after creation. You cannot set both `send_now` and `scheduled_at`."
          },
          "subscription_topic_id": {
            "type": "integer",
            "description": "The one-time send audience's subscription topic ID. Required when [subscription center](/journeys/channels/subscriptions/center/#enable-sub-center) is enabled; otherwise sends to globally subscribed profiles."
          }
        },
        "required": [
          "name",
          "type",
          "recipients",
          "body",
          "request_method",
          "url"
        ]
      },
      "createLanguageVariantRequest": {
        "x-scalar-ignore": true,
        "description": "Add a language variant to a one-time send. The payload the endpoint accepts depends on the parent one-time send's channel type.",
        "oneOf": [
          {
            "x-scalar-ignore": true,
            "title": "Email",
            "description": "Add a language variant to an email one-time send. Requires `language`, `subject`, and `body`.",
            "properties": {
              "body": {
                "type": "string",
                "description": "The HTML body content for the variant.",
                "example": "<html><body><h1>¡Hola!</h1></body></html>"
              },
              "language": {
                "type": "string",
                "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
                "example": "es"
              },
              "subject": {
                "type": "string",
                "description": "The subject line for the variant.",
                "example": "¡Hola, {{ customer.name }}!"
              },
              "body_amp": {
                "type": "string",
                "description": "The AMP HTML body content for the variant."
              },
              "body_plain": {
                "type": "string",
                "description": "The plaintext body content for the variant."
              },
              "preheader_text": {
                "type": "string",
                "description": "The preheader text for the email variant.",
                "example": "Mira nuestras últimas novedades"
              }
            },
            "required": [
              "language",
              "subject",
              "body"
            ]
          },
          {
            "x-scalar-ignore": true,
            "title": "SMS",
            "description": "Add a language variant to an SMS one-time send. Requires `language` and `body`.",
            "properties": {
              "body": {
                "type": "string",
                "description": "The body content of the SMS message.",
                "example": "¡Hola {{ customer.first_name }}! Tu pedido ha sido enviado."
              },
              "language": {
                "type": "string",
                "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
                "example": "es"
              }
            },
            "required": [
              "language",
              "body"
            ]
          },
          {
            "x-scalar-ignore": true,
            "title": "Push",
            "description": "Add a language variant to a push notification one-time send. Requires `language` and at least one of `subject` or `body`.",
            "properties": {
              "language": {
                "type": "string",
                "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
                "example": "es"
              },
              "body": {
                "type": "string",
                "description": "The body content of the push notification.",
                "example": "Obtén 30% de descuento en todo."
              },
              "subject": {
                "type": "string",
                "description": "The title of the push notification.",
                "example": "¡Oferta por tiempo limitado!"
              }
            },
            "required": [
              "language"
            ]
          },
          {
            "x-scalar-ignore": true,
            "title": "Webhook",
            "description": "Add a language variant to a webhook one-time send. Requires `language` and `body`.",
            "properties": {
              "body": {
                "type": "string",
                "description": "The body content of the webhook request.",
                "example": "{\"channel\":\"#marketing\",\"text\":\"Boletín enviado a {{ customer.email }}\"}"
              },
              "language": {
                "type": "string",
                "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
                "example": "es"
              }
            },
            "required": [
              "language",
              "body"
            ]
          },
          {
            "x-scalar-ignore": true,
            "title": "Inbox message",
            "description": "Add a language variant to an inbox message one-time send. Requires `language` and `body_json`.",
            "properties": {
              "body_json": {
                "type": "string",
                "description": "JSON body content for the inbox message variant. Learn more about [message settings](/journeys/channels/in-app/inbox/send-inbox/) in our docs.",
                "example": "{\"topics\": [\"general\", \"updates\"], \"type\": \"notification\", \"expiration\": {\"type\": \"relative\", \"value\": \"30\", \"unit\": \"days\"}, \"properties\": {\"title\": \"Welcome!\", \"message\": \"Thanks for signing up\", \"link\": \"https://customer.io\"}}"
              },
              "language": {
                "type": "string",
                "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
                "example": "es"
              }
            },
            "required": [
              "language",
              "body_json"
            ]
          }
        ]
      },
      "createLanguageVariantCommon": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "language"
        ],
        "properties": {
          "language": {
            "type": "string",
            "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
            "example": "es"
          }
        }
      },
      "createEmailLanguageVariant": {
        "x-scalar-ignore": true,
        "title": "Email",
        "description": "Add a language variant to an email one-time send. Requires `language`, `subject`, and `body`.",
        "properties": {
          "body": {
            "type": "string",
            "description": "The HTML body content for the variant.",
            "example": "<html><body><h1>¡Hola!</h1></body></html>"
          },
          "language": {
            "type": "string",
            "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
            "example": "es"
          },
          "subject": {
            "type": "string",
            "description": "The subject line for the variant.",
            "example": "¡Hola, {{ customer.name }}!"
          },
          "body_amp": {
            "type": "string",
            "description": "The AMP HTML body content for the variant."
          },
          "body_plain": {
            "type": "string",
            "description": "The plaintext body content for the variant."
          },
          "preheader_text": {
            "type": "string",
            "description": "The preheader text for the email variant.",
            "example": "Mira nuestras últimas novedades"
          }
        },
        "required": [
          "language",
          "subject",
          "body"
        ]
      },
      "createSmsLanguageVariant": {
        "x-scalar-ignore": true,
        "title": "SMS",
        "description": "Add a language variant to an SMS one-time send. Requires `language` and `body`.",
        "properties": {
          "body": {
            "type": "string",
            "description": "The body content of the SMS message.",
            "example": "¡Hola {{ customer.first_name }}! Tu pedido ha sido enviado."
          },
          "language": {
            "type": "string",
            "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
            "example": "es"
          }
        },
        "required": [
          "language",
          "body"
        ]
      },
      "createPushLanguageVariant": {
        "x-scalar-ignore": true,
        "title": "Push",
        "description": "Add a language variant to a push notification one-time send. Requires `language` and at least one of `subject` or `body`.",
        "properties": {
          "language": {
            "type": "string",
            "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
            "example": "es"
          },
          "body": {
            "type": "string",
            "description": "The body content of the push notification.",
            "example": "Obtén 30% de descuento en todo."
          },
          "subject": {
            "type": "string",
            "description": "The title of the push notification.",
            "example": "¡Oferta por tiempo limitado!"
          }
        },
        "required": [
          "language"
        ]
      },
      "createInAppLanguageVariant": {
        "x-scalar-ignore": true,
        "title": "In-App",
        "description": "Add a language variant to an in-app message one-time send. Requires `language` and `body_json`.",
        "properties": {
          "body_json": {
            "type": "string",
            "description": "JSON body content for the in-app message variant, as a stringified JSON object. Takes the same fields as the parent message's `body_json`.",
            "example": "{\"message_id\":\"welcome\",\"carta_content\":\"<x-base><x-message>¡Hola!</x-message></x-base>\"}"
          },
          "language": {
            "type": "string",
            "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
            "example": "es"
          }
        },
        "required": [
          "language",
          "body_json"
        ]
      },
      "createInboxLanguageVariant": {
        "x-scalar-ignore": true,
        "title": "Inbox message",
        "description": "Add a language variant to an inbox message one-time send. Requires `language` and `body_json`.",
        "properties": {
          "body_json": {
            "type": "string",
            "description": "JSON body content for the inbox message variant. Learn more about [message settings](/journeys/channels/in-app/inbox/send-inbox/) in our docs.",
            "example": "{\"topics\": [\"general\", \"updates\"], \"type\": \"notification\", \"expiration\": {\"type\": \"relative\", \"value\": \"30\", \"unit\": \"days\"}, \"properties\": {\"title\": \"Welcome!\", \"message\": \"Thanks for signing up\", \"link\": \"https://customer.io\"}}"
          },
          "language": {
            "type": "string",
            "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
            "example": "es"
          }
        },
        "required": [
          "language",
          "body_json"
        ]
      },
      "createWebhookLanguageVariant": {
        "x-scalar-ignore": true,
        "title": "Webhook",
        "description": "Add a language variant to a webhook one-time send. Requires `language` and `body`.",
        "properties": {
          "body": {
            "type": "string",
            "description": "The body content of the webhook request.",
            "example": "{\"channel\":\"#marketing\",\"text\":\"Boletín enviado a {{ customer.email }}\"}"
          },
          "language": {
            "type": "string",
            "description": "The [language tag](/journeys/channels/localization/attribute/#supported-languages) for the new variant, e.g. `es`, `fr`, `de`.",
            "example": "es"
          }
        },
        "required": [
          "language",
          "body"
        ]
      },
      "newsletterRateLimitOptions": {
        "x-scalar-ignore": true,
        "type": "object",
        "example": {
          "rate_limit_email_rate": 500,
          "rate_limit_spread": true,
          "rate_limit_time_period": 60
        },
        "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone.",
        "properties": {
          "rate_limit_email_rate": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
          },
          "rate_limit_spread": {
            "type": "boolean",
            "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
          },
          "rate_limit_time_period": {
            "type": "integer",
            "enum": [
              60,
              3600,
              86400
            ],
            "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
          }
        }
      },
      "newsletterScheduleRequest": {
        "x-scalar-ignore": true,
        "type": "object",
        "example": {
          "scheduled_at": 1719849600,
          "rate_limit_email_rate": 500,
          "rate_limit_spread": true,
          "rate_limit_time_period": 60,
          "timezone": "America/New_York",
          "tz_match_enabled": false
        },
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "rate_limit_email_rate": 500,
              "rate_limit_spread": true,
              "rate_limit_time_period": 60
            },
            "description": "Optional one-time send rate limiting. If you set `rate_limit_email_rate` or `rate_limit_time_period`, set both; `rate_limit_spread` can be set alone."
          }
        ],
        "properties": {
          "scheduled_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "Unix timestamp for the send. Use `0` to deschedule. When greater than `0`, the time must be in the future and you must send `timezone` so the UI displays the time correctly.\n"
          },
          "rate_limit_email_rate": {
            "type": "integer",
            "minimum": 1,
            "description": "Maximum number of messages per time period. **NOTE:** Though this states `email_rate`, you can use this for other message channels. Only fixed rate limits are supported, not [daily ramp limits](/messaging/send/broadcasts/one-time-sends/#daily-ramp).\n"
          },
          "rate_limit_spread": {
            "type": "boolean",
            "description": "When `true`, spreads messages evenly across the time period. Otherwise, it sends as fast as possible up to the limit in each period."
          },
          "rate_limit_time_period": {
            "type": "integer",
            "enum": [
              60,
              3600,
              86400
            ],
            "description": "Time period in seconds for rate limiting. Must be one of 60 (minute), 3600 (hour), or 86400 (day)."
          },
          "timezone": {
            "type": "string",
            "description": "[IANA timezone name](/journeys/send/timezones/example-timezones/#region-format) (for example, `America/New_York`). Required when `scheduled_at` is greater than `0`. Not required when descheduling (`scheduled_at` is `0`).\n"
          },
          "tz_match_enabled": {
            "type": "boolean",
            "description": "When `true`, sends at the same local time in each recipient's timezone. If it's set to `true` and `rate_limit_time_period` is provided, then the period can't be greater than `3600` (1 hour)."
          }
        },
        "required": [
          "scheduled_at"
        ]
      },
      "newsletterObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "content_ids": {
            "type": "array",
            "description": "A list of message variants in a one-time send, where a variant is a translation or A/B test.",
            "items": {
              "type": "integer"
            }
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "id": {
            "x-scalar-ignore": true,
            "description": "The identifier for a one-time send.",
            "type": "integer",
            "example": 10
          },
          "name": {
            "type": "string",
            "description": "The name of the one-time send. Must be 190 characters or less.",
            "readOnly": true
          },
          "recipient_segment_ids": {
            "description": "If the recipient conditions included segments, this returns a list of those segment ids.",
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "sent_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "The last time the one-time send was sent."
          },
          "subscription_topic_id": {
            "type": "integer",
            "description": "If you enabled a [subscription center](/journeys/channels/subscriptions/center/) on your workspace, this returns the id of the subscription preference you set."
          },
          "tags": {
            "type": "array",
            "description": "An array of tags associated with the one-time send.",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "email",
              "webhook",
              "twilio",
              "push",
              "in_app",
              "inbox"
            ],
            "readOnly": true,
            "example": "email"
          },
          "updated": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        },
        "example": {
          "content_ids": [
            45
          ],
          "created": 1481653919,
          "deduplicate_id": "128275:1484870424",
          "id": 128275,
          "name": "Weekly Product Update",
          "recipient_segment_ids": [
            42,
            99
          ],
          "sent_at": 1481653929,
          "subscription_topic_id": 5,
          "tags": [
            "Product Updates"
          ],
          "type": "email",
          "updated": 1481653929
        }
      },
      "customer_events": {
        "x-scalar-ignore": true,
        "description": "Describes the customer events reported from Customer.io to a webhook.",
        "type": "object",
        "properties": {
          "customer_subscribed": {
            "type": "boolean",
            "description": "A person's `unsubscribed` attribute was explicitly set to `false`. Set to true to report `subscribed` events."
          },
          "customer_subscription_preferences_changed": {
            "type": "boolean",
            "description": "A person's subscription preferences changed. [Learn more about the subscription center](/journeys/channels/subscriptions/center/)."
          },
          "customer_unsubscribed": {
            "type": "boolean",
            "description": "A person's `unsubscribed` attribute was explicitly set to `true`. Set to true to report `unsubscribed` events."
          }
        }
      },
      "email_events": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Describes the email events reported from Customer.io to a webhook.",
        "properties": {
          "email_attempted": {
            "type": "boolean",
            "description": "Reports when a message cannot be sent to the delivery provider and will retry. Set to true to report this event type."
          },
          "email_bounced": {
            "type": "boolean",
            "description": "Reports when the delivery provider is unable to deliver a message. Set to true to report this event type."
          },
          "email_clicked": {
            "type": "boolean",
            "description": "Reports when a person clicks a tracked link in a message. Set to true to report this event type."
          },
          "email_converted": {
            "type": "boolean",
            "description": "Reports a conversion. Set to true to report this event type."
          },
          "email_deferred": {
            "type": "boolean",
            "description": "Reports when the delivery provider couldn't send a message and will retry. Set to true to report this event type."
          },
          "email_delivered": {
            "type": "boolean",
            "description": "Reports when the delivery provider reports that a message is delivered to an inbox. Set to true to report this event type."
          },
          "email_drafted": {
            "type": "boolean",
            "description": "Reports when a message draft is created. Set to true to report this event type."
          },
          "email_dropped": {
            "type": "boolean",
            "description": "Reports when a message isn't sent because the recipient is suppressed. Set to true to report this event type."
          },
          "email_failed": {
            "type": "boolean",
            "description": "Reports when an email couldn't be sent to the delivery provider. Set to true to report this event type."
          },
          "email_opened": {
            "type": "boolean",
            "description": "Reports when a recipient opens a message. Set to true to report this event type."
          },
          "email_sent": {
            "type": "boolean",
            "description": "Reports when a message is sent from Customer.io to the delivery provider. Set to true to report this event type."
          },
          "email_spammed": {
            "type": "boolean",
            "description": "Reports a recipient marks a message as spam. Set to true to report this even type."
          },
          "email_unsubscribed": {
            "type": "boolean",
            "description": "Reports when a person unsubscribes through a particular email. Set to true to report this event type."
          }
        }
      },
      "push_events": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Describes the push events reported from Customer.io to a webhook.",
        "properties": {
          "push_attempted": {
            "type": "boolean",
            "description": "Reports when a push notification could not be sent to the delivery provider will retry. Set to true to report this event type."
          },
          "push_bounced": {
            "type": "boolean",
            "description": "Reports when the delivery provider is unable to deliver a message. Set to true to report this event type."
          },
          "push_clicked": {
            "type": "boolean",
            "description": "Reports when a person clicks a tracked link in a message. Set to true to report this event type."
          },
          "push_converted": {
            "type": "boolean",
            "description": "Reports a conversion. Set to true to report this event type."
          },
          "push_delivered": {
            "type": "boolean",
            "description": "An app reports that the recipient's device received a message. Set to true to report this event type."
          },
          "push_drafted": {
            "type": "boolean",
            "description": "Reports when a message draft is created. Set to true to report this event type."
          },
          "push_dropped": {
            "type": "boolean",
            "description": "Reports when a message isn't sent because the recipient is suppressed. Set to true to report this event type."
          },
          "push_failed": {
            "type": "boolean",
            "description": "Reports when a message couldn't be sent to the delivery provider. Set to true to report this event type."
          },
          "push_opened": {
            "type": "boolean",
            "description": "The app on a recipient's device reports that the recipient opened the message. Set to true to report this event type."
          },
          "push_sent": {
            "type": "boolean",
            "description": "Reports when a message is sent from Customer.io to the delivery provider. Set to true to report this event type."
          }
        }
      },
      "sms_events": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Describes the SMS events reported from Customer.io to a webhook.",
        "properties": {
          "sms_attempted": {
            "type": "boolean",
            "description": "Reports when a push notification could not be sent to the delivery provider will retry. Set to true to report this event type."
          },
          "sms_bounced": {
            "type": "boolean",
            "description": "Reports when the delivery provider is unable to deliver a message to the recipient. Set to true to report this event type."
          },
          "sms_clicked": {
            "type": "boolean",
            "description": "Reports when a person clicks a tracked link in a message. Set to true to report this event type."
          },
          "sms_converted": {
            "type": "boolean",
            "description": "Reports when a person matches conversion criteria attributed to a a message. Set to true to report this event type."
          },
          "sms_delivered": {
            "type": "boolean",
            "description": "The delivery provider reports that the message is delivered. Set to true to report this event type."
          },
          "sms_drafted": {
            "type": "boolean",
            "description": "Reports when a message draft is created. Set to true to report this event type."
          },
          "sms_failed": {
            "type": "boolean",
            "description": "Reports when a message couldn't be sent to the delivery provider. Set to true to report this event type."
          },
          "sms_sent": {
            "type": "boolean",
            "description": "Reports when a message is sent from Customer.io to the delivery provider. Set to true to report this event type."
          }
        }
      },
      "slack_events": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Describes the slack events reported from Customer.io to a webhook.",
        "properties": {
          "slack_attempted": {
            "type": "boolean",
            "description": "Reports when a message could not be sent to the delivery provider will retry. Set to true to report this event type."
          },
          "slack_clicked": {
            "type": "boolean",
            "description": "Reports when a person clicks a tracked link in a message. Set to true to report this event type."
          },
          "slack_converted": {
            "type": "boolean",
            "description": "Reports when a person matches conversion criteria attributed to a a message. Set to true to report this event type."
          },
          "slack_drafted": {
            "type": "boolean",
            "description": "Reports when a message draft is created. Set to true to report this event type."
          },
          "slack_failed": {
            "type": "boolean",
            "description": "Reports when a message couldn't be sent to the delivery provider. Set to true to report this event type."
          },
          "slack_sent": {
            "type": "boolean",
            "description": "Reports when a message is sent from Customer.io to the delivery provider. Set to true to report this event type."
          }
        }
      },
      "webhook_events": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Describes the webhook events reported from Customer.io to a webhook.",
        "properties": {
          "webhook_attempted": {
            "type": "boolean",
            "description": "Reports when a webhook could not be sent and will retry. 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_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_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."
          }
        }
      },
      "body_content": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "Message content in reporting webhooks when Body Content is enabled and the metric is `sent`. Email content includes headers; push and in-app content is stringified payload."
      },
      "reportingWebhook": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "name",
          "endpoint",
          "events"
        ],
        "properties": {
          "endpoint": {
            "type": "string",
            "format": "url",
            "description": "The webhook URL.",
            "example": "https://example.com/webhook"
          },
          "events": {
            "description": "Specifies the types of events you want to report to your webhook. See our [reporting webhooks reference](/integrations/api/webhooks/) for more information about event types and the information they return.",
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "enum": [
                "customer_subscribed",
                "customer_unsubscribed",
                "customer_subscription_preferences_changed",
                "email_drafted",
                "email_attempted",
                "email_sent",
                "email_delivered",
                "email_opened",
                "email_clicked",
                "email_converted",
                "email_bounced",
                "email_dropped",
                "email_deferred",
                "email_spammed",
                "email_failed",
                "email_unsubscribed",
                "email_undeliverable",
                "in_app_drafted",
                "in_app_attempted",
                "in_app_sent",
                "in_app_opened",
                "in_app_clicked",
                "in_app_converted",
                "in_app_failed",
                "in_app_undeliverable",
                "push_drafted",
                "push_attempted",
                "push_sent",
                "push_delivered",
                "push_opened",
                "push_clicked",
                "push_converted",
                "push_bounced",
                "push_dropped",
                "push_failed",
                "push_undeliverable",
                "slack_drafted",
                "slack_attempted",
                "slack_sent",
                "slack_clicked",
                "slack_converted",
                "slack_failed",
                "sms_drafted",
                "sms_attempted",
                "sms_sent",
                "sms_delivered",
                "sms_clicked",
                "sms_converted",
                "sms_bounced",
                "sms_dropped",
                "sms_failed",
                "sms_undeliverable",
                "sms_replied",
                "whatsapp_drafted",
                "whatsapp_attempted",
                "whatsapp_sent",
                "whatsapp_delivered",
                "whatsapp_opened",
                "whatsapp_clicked",
                "whatsapp_converted",
                "whatsapp_bounced",
                "whatsapp_dropped",
                "whatsapp_failed",
                "whatsapp_undeliverable",
                "whatsapp_replied",
                "webhook_drafted",
                "webhook_attempted",
                "webhook_sent",
                "webhook_clicked",
                "webhook_converted",
                "webhook_failed",
                "webhook_undeliverable"
              ]
            },
            "example": [
              "email_failed",
              "webhook_failed"
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of your webhook.",
            "example": "my cool webhook"
          },
          "disabled": {
            "type": "boolean",
            "description": "Set to `true` to quit sending events to the webhook URL. Set to `false` to enable the webhook.",
            "example": false
          },
          "full_resolution": {
            "type": "boolean",
            "description": "Set to `false` to send unique open and click events to the webhook. Set to `true` to send all events.",
            "default": false,
            "example": true
          },
          "id": {
            "type": "integer",
            "description": "The identifier for the webhook.",
            "readOnly": true,
            "example": 4
          },
          "type": {
            "type": "string",
            "description": "The type of webhook—`webhook` for a standard reporting webhook or `js` for a JavaScript webhook.",
            "enum": [
              "webhook",
              "js"
            ],
            "readOnly": true,
            "example": "webhook"
          },
          "with_content": {
            "type": "boolean",
            "description": "Set to `true` to include the message `body` in `_sent` events.",
            "example": false
          }
        }
      },
      "url": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The URL of a webhook or action.",
        "example": "https://example.com/webhook"
      },
      "request_method": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The method used in conjunction with a webhook `url`.",
        "enum": [
          "GET",
          "POST",
          "PUT",
          "DELETE",
          "PATCH"
        ],
        "example": "POST"
      },
      "forgotten": {
        "x-scalar-ignore": true,
        "type": "boolean",
        "description": "If true, Customer.io does not retain the message content.",
        "example": false
      },
      "archivedMessageObject": {
        "x-scalar-ignore": true,
        "description": "An archived message, including a complete message body.\n",
        "type": "object",
        "properties": {
          "bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The blind-copy address(es) for this action.",
            "type": "string"
          },
          "body": {
            "type": "string",
            "description": "The body of the variant. You cannot modify the body if you created it with our drag-and-drop editor.",
            "example": "<!DOCTYPE html><html><head>\\n<meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html; charset=UTF-8\\\"/><h1>Hello World</h1>\\n\\n</body></html>"
          },
          "cc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The carbon-copy address(es) for this action.",
            "type": "string"
          },
          "fake_bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "type": "boolean",
            "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
          },
          "forgotten": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "description": "If true, Customer.io does not retain the message content.",
            "example": false
          },
          "from": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that the message is from, relevant if the action `type` is `email`.",
            "readOnly": true,
            "example": "sentFrom@example.com"
          },
          "headers": {
            "x-scalar-ignore": true,
            "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
            "type": "string",
            "format": "json",
            "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
          },
          "id": {
            "x-scalar-ignore": true,
            "description": "The identifier for a delivery—the instance of a message intended for an individual recipient.",
            "type": "string",
            "readOnly": true,
            "example": "dgOq6QWq6QUBAAF4_CGoeVX7mFkDbRFu7ek="
          },
          "preheader_text": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
          },
          "recipient": {
            "description": "The recipient address for an action.",
            "type": "string",
            "example": "person@example.com"
          },
          "reply_to": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that receives replies for the message, if applicable.",
            "readOnly": true,
            "example": "replyto@example.com"
          },
          "request_method": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The method used in conjunction with a webhook `url`.",
            "enum": [
              "GET",
              "POST",
              "PUT",
              "DELETE",
              "PATCH"
            ],
            "example": "POST"
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "url": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The URL of a webhook or action.",
            "example": "https://example.com/webhook"
          }
        }
      },
      "commonTriggerProps": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "description": "Contains information you want to use to populate your broadcast.",
            "additionalProperties": {
              "x-additionalPropertiesName": "Broadcast liquid data",
              "description": "Insert key-values that you want to reference in your message here."
            },
            "example": {
              "headline": "Roadrunner spotted in Albuquerque!",
              "date": 1511315635,
              "text": "We received reports of a roadrunner in your immediate area! Head to your dashboard to view more information!"
            }
          },
          "email_add_duplicates": {
            "type": "boolean",
            "default": false,
            "description": "an email address associated with more than one profile id is an error."
          },
          "email_ignore_missing": {
            "type": "boolean",
            "default": false,
            "description": "If false, a missing email causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have emails, and continue sending to the rest of your audience."
          },
          "id_ignore_missing": {
            "type": "boolean",
            "default": false,
            "description": "If false, a missing customer ID causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have IDs, and continue sending to the rest of your audience."
          }
        }
      },
      "campaignRequest": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "title": "Default audience",
            "description": "Send your broadcast to the default set of recipients defined in the UI.",
            "properties": {
              "data": {
                "type": "object",
                "description": "Contains information you want to use to populate your broadcast.",
                "additionalProperties": {
                  "x-additionalPropertiesName": "Broadcast liquid data",
                  "description": "Insert key-values that you want to reference in your message here."
                },
                "example": {
                  "headline": "Roadrunner spotted in Albuquerque!",
                  "date": 1511315635,
                  "text": "We received reports of a roadrunner in your immediate area! Head to your dashboard to view more information!"
                }
              },
              "email_add_duplicates": {
                "type": "boolean",
                "default": false,
                "description": "an email address associated with more than one profile id is an error."
              },
              "email_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing email causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have emails, and continue sending to the rest of your audience."
              },
              "id_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing customer ID causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have IDs, and continue sending to the rest of your audience."
              }
            }
          },
          {
            "title": "Custom recipients",
            "description": "Send your broadcast to a group of people defined by a set of filters.",
            "example": {
              "recipients": {
                "and": [
                  {
                    "segment": {
                      "id": 3
                    }
                  },
                  {
                    "or": [
                      {
                        "attribute": {
                          "field": "interest",
                          "operator": "eq",
                          "value": "roadrunners"
                        }
                      },
                      {
                        "attribute": {
                          "field": "state",
                          "operator": "eq",
                          "value": "NM"
                        }
                      },
                      {
                        "not": {
                          "attribute": {
                            "field": "species",
                            "operator": "eq",
                            "value": "roadrunners"
                          }
                        }
                      }
                    ]
                  }
                ]
              },
              "data": {
                "headline": "Roadrunner spotted in Albuquerque!",
                "date": 1511315635,
                "text": "We received reports of a roadrunner in your immediate area! Head to your dashboard to view more information!"
              }
            },
            "properties": {
              "recipients": {
                "x-scalar-ignore": true,
                "title": "Audience Filter",
                "description": "Use `and`, `or`, and `not` to combine segment and attribute conditions. The top-level object accepts one property; nest groups for complex filters.",
                "oneOf": [
                  {
                    "x-scalar-ignore": true,
                    "title": "and",
                    "type": "object",
                    "properties": {
                      "and": {
                        "type": "array",
                        "description": "Match *all* conditions to return results.",
                        "items": {
                          "type": "object",
                          "properties": {
                            "attribute": {
                              "x-scalar-ignore": true,
                              "title": "attribute",
                              "description": "Filter your audience by attribute.",
                              "type": "object",
                              "required": [
                                "field",
                                "operator"
                              ],
                              "properties": {
                                "field": {
                                  "type": "string",
                                  "description": "The name of the attribute you want to filter against.",
                                  "example": "first_name"
                                },
                                "operator": {
                                  "type": "string",
                                  "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                  "enum": [
                                    "eq",
                                    "exists"
                                  ]
                                },
                                "value": {
                                  "type": "string",
                                  "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                }
                              },
                              "example": {
                                "field": "unsubscribed",
                                "operator": "eq",
                                "value": true
                              }
                            },
                            "not": {
                              "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                              "oneOf": [
                                {
                                  "title": "and",
                                  "type": "object",
                                  "properties": {
                                    "and": {
                                      "type": "array",
                                      "description": "Match *all* conditions to return results.",
                                      "items": {
                                        "x-scalar-ignore": true,
                                        "anyOf": [
                                          {
                                            "title": "segment",
                                            "description": "Filter for people who belong to a segment.",
                                            "type": "object",
                                            "properties": {
                                              "segment": {
                                                "x-scalar-ignore": true,
                                                "title": "segment",
                                                "type": "object",
                                                "description": "Provide the `id` of a segment containing people you want to search for.",
                                                "properties": {
                                                  "id": {
                                                    "type": "integer",
                                                    "description": "The ID of the segment you want to return people from.",
                                                    "example": 4
                                                  }
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "title": "audience",
                                            "type": "object",
                                            "description": "filter for people who have an attribute or an attribute value.",
                                            "properties": {
                                              "attribute": {
                                                "x-scalar-ignore": true,
                                                "title": "attribute",
                                                "description": "Filter your audience by attribute.",
                                                "type": "object",
                                                "required": [
                                                  "field",
                                                  "operator"
                                                ],
                                                "properties": {
                                                  "field": {
                                                    "type": "string",
                                                    "description": "The name of the attribute you want to filter against.",
                                                    "example": "first_name"
                                                  },
                                                  "operator": {
                                                    "type": "string",
                                                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                    "enum": [
                                                      "eq",
                                                      "exists"
                                                    ]
                                                  },
                                                  "value": {
                                                    "type": "string",
                                                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                                  }
                                                },
                                                "example": {
                                                  "field": "unsubscribed",
                                                  "operator": "eq",
                                                  "value": true
                                                }
                                              }
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "title": "or",
                                  "type": "object",
                                  "properties": {
                                    "or": {
                                      "type": "array",
                                      "description": "Match *any* condition to return results.",
                                      "items": {
                                        "x-scalar-ignore": true,
                                        "anyOf": [
                                          {
                                            "title": "segment",
                                            "description": "Filter for people who belong to a segment.",
                                            "type": "object",
                                            "properties": {
                                              "segment": {
                                                "x-scalar-ignore": true,
                                                "title": "segment",
                                                "type": "object",
                                                "description": "Provide the `id` of a segment containing people you want to search for.",
                                                "properties": {
                                                  "id": {
                                                    "type": "integer",
                                                    "description": "The ID of the segment you want to return people from.",
                                                    "example": 4
                                                  }
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "title": "audience",
                                            "type": "object",
                                            "description": "filter for people who have an attribute or an attribute value.",
                                            "properties": {
                                              "attribute": {
                                                "x-scalar-ignore": true,
                                                "title": "attribute",
                                                "description": "Filter your audience by attribute.",
                                                "type": "object",
                                                "required": [
                                                  "field",
                                                  "operator"
                                                ],
                                                "properties": {
                                                  "field": {
                                                    "type": "string",
                                                    "description": "The name of the attribute you want to filter against.",
                                                    "example": "first_name"
                                                  },
                                                  "operator": {
                                                    "type": "string",
                                                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                    "enum": [
                                                      "eq",
                                                      "exists"
                                                    ]
                                                  },
                                                  "value": {
                                                    "type": "string",
                                                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                                  }
                                                },
                                                "example": {
                                                  "field": "unsubscribed",
                                                  "operator": "eq",
                                                  "value": true
                                                }
                                              }
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "title": "segment",
                                  "type": "object",
                                  "properties": {
                                    "segment": {
                                      "x-scalar-ignore": true,
                                      "title": "segment",
                                      "type": "object",
                                      "description": "Provide the `id` of a segment containing people you want to search for.",
                                      "properties": {
                                        "id": {
                                          "type": "integer",
                                          "description": "The ID of the segment you want to return people from.",
                                          "example": 4
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "title": "attribute",
                                  "type": "object",
                                  "properties": {
                                    "attribute": {
                                      "x-scalar-ignore": true,
                                      "title": "attribute",
                                      "description": "Filter your audience by attribute.",
                                      "type": "object",
                                      "required": [
                                        "field",
                                        "operator"
                                      ],
                                      "properties": {
                                        "field": {
                                          "type": "string",
                                          "description": "The name of the attribute you want to filter against.",
                                          "example": "first_name"
                                        },
                                        "operator": {
                                          "type": "string",
                                          "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                          "enum": [
                                            "eq",
                                            "exists"
                                          ]
                                        },
                                        "value": {
                                          "type": "string",
                                          "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                        }
                                      },
                                      "example": {
                                        "field": "unsubscribed",
                                        "operator": "eq",
                                        "value": true
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "or": {
                              "type": "array",
                              "description": "Returns results matching *any* conditions.",
                              "items": {
                                "x-scalar-ignore": true,
                                "anyOf": [
                                  {
                                    "title": "segment",
                                    "description": "Filter for people who belong to a segment.",
                                    "type": "object",
                                    "properties": {
                                      "segment": {
                                        "x-scalar-ignore": true,
                                        "title": "segment",
                                        "type": "object",
                                        "description": "Provide the `id` of a segment containing people you want to search for.",
                                        "properties": {
                                          "id": {
                                            "type": "integer",
                                            "description": "The ID of the segment you want to return people from.",
                                            "example": 4
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "title": "audience",
                                    "type": "object",
                                    "description": "filter for people who have an attribute or an attribute value.",
                                    "properties": {
                                      "attribute": {
                                        "x-scalar-ignore": true,
                                        "title": "attribute",
                                        "description": "Filter your audience by attribute.",
                                        "type": "object",
                                        "required": [
                                          "field",
                                          "operator"
                                        ],
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "description": "The name of the attribute you want to filter against.",
                                            "example": "first_name"
                                          },
                                          "operator": {
                                            "type": "string",
                                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                            "enum": [
                                              "eq",
                                              "exists"
                                            ]
                                          },
                                          "value": {
                                            "type": "string",
                                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                          }
                                        },
                                        "example": {
                                          "field": "unsubscribed",
                                          "operator": "eq",
                                          "value": true
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            },
                            "segment": {
                              "x-scalar-ignore": true,
                              "title": "segment",
                              "type": "object",
                              "description": "Provide the `id` of a segment containing people you want to search for.",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "description": "The ID of the segment you want to return people from.",
                                  "example": 4
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "x-scalar-ignore": true,
                    "title": "or",
                    "type": "object",
                    "properties": {
                      "or": {
                        "type": "array",
                        "description": "Match *any* condition to return results.",
                        "items": {
                          "type": "object",
                          "properties": {
                            "and": {
                              "type": "array",
                              "description": "Returns results matching *all* conditions.",
                              "items": {
                                "x-scalar-ignore": true,
                                "anyOf": [
                                  {
                                    "title": "segment",
                                    "description": "Filter for people who belong to a segment.",
                                    "type": "object",
                                    "properties": {
                                      "segment": {
                                        "x-scalar-ignore": true,
                                        "title": "segment",
                                        "type": "object",
                                        "description": "Provide the `id` of a segment containing people you want to search for.",
                                        "properties": {
                                          "id": {
                                            "type": "integer",
                                            "description": "The ID of the segment you want to return people from.",
                                            "example": 4
                                          }
                                        }
                                      }
                                    }
                                  },
                                  {
                                    "title": "audience",
                                    "type": "object",
                                    "description": "filter for people who have an attribute or an attribute value.",
                                    "properties": {
                                      "attribute": {
                                        "x-scalar-ignore": true,
                                        "title": "attribute",
                                        "description": "Filter your audience by attribute.",
                                        "type": "object",
                                        "required": [
                                          "field",
                                          "operator"
                                        ],
                                        "properties": {
                                          "field": {
                                            "type": "string",
                                            "description": "The name of the attribute you want to filter against.",
                                            "example": "first_name"
                                          },
                                          "operator": {
                                            "type": "string",
                                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                            "enum": [
                                              "eq",
                                              "exists"
                                            ]
                                          },
                                          "value": {
                                            "type": "string",
                                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                          }
                                        },
                                        "example": {
                                          "field": "unsubscribed",
                                          "operator": "eq",
                                          "value": true
                                        }
                                      }
                                    }
                                  }
                                ]
                              }
                            },
                            "attribute": {
                              "x-scalar-ignore": true,
                              "title": "attribute",
                              "description": "Filter your audience by attribute.",
                              "type": "object",
                              "required": [
                                "field",
                                "operator"
                              ],
                              "properties": {
                                "field": {
                                  "type": "string",
                                  "description": "The name of the attribute you want to filter against.",
                                  "example": "first_name"
                                },
                                "operator": {
                                  "type": "string",
                                  "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                  "enum": [
                                    "eq",
                                    "exists"
                                  ]
                                },
                                "value": {
                                  "type": "string",
                                  "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                }
                              },
                              "example": {
                                "field": "unsubscribed",
                                "operator": "eq",
                                "value": true
                              }
                            },
                            "not": {
                              "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                              "oneOf": [
                                {
                                  "title": "and",
                                  "type": "object",
                                  "properties": {
                                    "and": {
                                      "type": "array",
                                      "description": "Match *all* conditions to return results.",
                                      "items": {
                                        "x-scalar-ignore": true,
                                        "anyOf": [
                                          {
                                            "title": "segment",
                                            "description": "Filter for people who belong to a segment.",
                                            "type": "object",
                                            "properties": {
                                              "segment": {
                                                "x-scalar-ignore": true,
                                                "title": "segment",
                                                "type": "object",
                                                "description": "Provide the `id` of a segment containing people you want to search for.",
                                                "properties": {
                                                  "id": {
                                                    "type": "integer",
                                                    "description": "The ID of the segment you want to return people from.",
                                                    "example": 4
                                                  }
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "title": "audience",
                                            "type": "object",
                                            "description": "filter for people who have an attribute or an attribute value.",
                                            "properties": {
                                              "attribute": {
                                                "x-scalar-ignore": true,
                                                "title": "attribute",
                                                "description": "Filter your audience by attribute.",
                                                "type": "object",
                                                "required": [
                                                  "field",
                                                  "operator"
                                                ],
                                                "properties": {
                                                  "field": {
                                                    "type": "string",
                                                    "description": "The name of the attribute you want to filter against.",
                                                    "example": "first_name"
                                                  },
                                                  "operator": {
                                                    "type": "string",
                                                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                    "enum": [
                                                      "eq",
                                                      "exists"
                                                    ]
                                                  },
                                                  "value": {
                                                    "type": "string",
                                                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                                  }
                                                },
                                                "example": {
                                                  "field": "unsubscribed",
                                                  "operator": "eq",
                                                  "value": true
                                                }
                                              }
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "title": "or",
                                  "type": "object",
                                  "properties": {
                                    "or": {
                                      "type": "array",
                                      "description": "Match *any* condition to return results.",
                                      "items": {
                                        "x-scalar-ignore": true,
                                        "anyOf": [
                                          {
                                            "title": "segment",
                                            "description": "Filter for people who belong to a segment.",
                                            "type": "object",
                                            "properties": {
                                              "segment": {
                                                "x-scalar-ignore": true,
                                                "title": "segment",
                                                "type": "object",
                                                "description": "Provide the `id` of a segment containing people you want to search for.",
                                                "properties": {
                                                  "id": {
                                                    "type": "integer",
                                                    "description": "The ID of the segment you want to return people from.",
                                                    "example": 4
                                                  }
                                                }
                                              }
                                            }
                                          },
                                          {
                                            "title": "audience",
                                            "type": "object",
                                            "description": "filter for people who have an attribute or an attribute value.",
                                            "properties": {
                                              "attribute": {
                                                "x-scalar-ignore": true,
                                                "title": "attribute",
                                                "description": "Filter your audience by attribute.",
                                                "type": "object",
                                                "required": [
                                                  "field",
                                                  "operator"
                                                ],
                                                "properties": {
                                                  "field": {
                                                    "type": "string",
                                                    "description": "The name of the attribute you want to filter against.",
                                                    "example": "first_name"
                                                  },
                                                  "operator": {
                                                    "type": "string",
                                                    "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                    "enum": [
                                                      "eq",
                                                      "exists"
                                                    ]
                                                  },
                                                  "value": {
                                                    "type": "string",
                                                    "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                                  }
                                                },
                                                "example": {
                                                  "field": "unsubscribed",
                                                  "operator": "eq",
                                                  "value": true
                                                }
                                              }
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  }
                                },
                                {
                                  "title": "segment",
                                  "type": "object",
                                  "properties": {
                                    "segment": {
                                      "x-scalar-ignore": true,
                                      "title": "segment",
                                      "type": "object",
                                      "description": "Provide the `id` of a segment containing people you want to search for.",
                                      "properties": {
                                        "id": {
                                          "type": "integer",
                                          "description": "The ID of the segment you want to return people from.",
                                          "example": 4
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "title": "attribute",
                                  "type": "object",
                                  "properties": {
                                    "attribute": {
                                      "x-scalar-ignore": true,
                                      "title": "attribute",
                                      "description": "Filter your audience by attribute.",
                                      "type": "object",
                                      "required": [
                                        "field",
                                        "operator"
                                      ],
                                      "properties": {
                                        "field": {
                                          "type": "string",
                                          "description": "The name of the attribute you want to filter against.",
                                          "example": "first_name"
                                        },
                                        "operator": {
                                          "type": "string",
                                          "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                          "enum": [
                                            "eq",
                                            "exists"
                                          ]
                                        },
                                        "value": {
                                          "type": "string",
                                          "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                        }
                                      },
                                      "example": {
                                        "field": "unsubscribed",
                                        "operator": "eq",
                                        "value": true
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "segment": {
                              "x-scalar-ignore": true,
                              "title": "segment",
                              "type": "object",
                              "description": "Provide the `id` of a segment containing people you want to search for.",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "description": "The ID of the segment you want to return people from.",
                                  "example": 4
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "x-scalar-ignore": true,
                    "title": "not",
                    "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                    "oneOf": [
                      {
                        "title": "and",
                        "type": "object",
                        "properties": {
                          "and": {
                            "type": "array",
                            "description": "Match *all* conditions to return results.",
                            "items": {
                              "x-scalar-ignore": true,
                              "title": "People Filter",
                              "type": "object",
                              "description": "Filter people with `and`, `or`, and `not` groups made from `segment` and `attribute` conditions.",
                              "properties": {
                                "and": {
                                  "type": "array",
                                  "description": "Returns results matching *all* conditions.",
                                  "items": {
                                    "x-scalar-ignore": true,
                                    "anyOf": [
                                      {
                                        "title": "segment",
                                        "description": "Filter for people who belong to a segment.",
                                        "type": "object",
                                        "properties": {
                                          "segment": {
                                            "x-scalar-ignore": true,
                                            "title": "segment",
                                            "type": "object",
                                            "description": "Provide the `id` of a segment containing people you want to search for.",
                                            "properties": {
                                              "id": {
                                                "type": "integer",
                                                "description": "The ID of the segment you want to return people from.",
                                                "example": 4
                                              }
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "title": "audience",
                                        "type": "object",
                                        "description": "filter for people who have an attribute or an attribute value.",
                                        "properties": {
                                          "attribute": {
                                            "x-scalar-ignore": true,
                                            "title": "attribute",
                                            "description": "Filter your audience by attribute.",
                                            "type": "object",
                                            "required": [
                                              "field",
                                              "operator"
                                            ],
                                            "properties": {
                                              "field": {
                                                "type": "string",
                                                "description": "The name of the attribute you want to filter against.",
                                                "example": "first_name"
                                              },
                                              "operator": {
                                                "type": "string",
                                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                "enum": [
                                                  "eq",
                                                  "exists"
                                                ]
                                              },
                                              "value": {
                                                "type": "string",
                                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                              }
                                            },
                                            "example": {
                                              "field": "unsubscribed",
                                              "operator": "eq",
                                              "value": true
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                },
                                "attribute": {
                                  "x-scalar-ignore": true,
                                  "title": "attribute",
                                  "description": "Filter your audience by attribute.",
                                  "type": "object",
                                  "required": [
                                    "field",
                                    "operator"
                                  ],
                                  "properties": {
                                    "field": {
                                      "type": "string",
                                      "description": "The name of the attribute you want to filter against.",
                                      "example": "first_name"
                                    },
                                    "operator": {
                                      "type": "string",
                                      "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                      "enum": [
                                        "eq",
                                        "exists"
                                      ]
                                    },
                                    "value": {
                                      "type": "string",
                                      "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                    }
                                  },
                                  "example": {
                                    "field": "unsubscribed",
                                    "operator": "eq",
                                    "value": true
                                  }
                                },
                                "not": {
                                  "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                                  "oneOf": [
                                    {
                                      "title": "and",
                                      "type": "object",
                                      "properties": {
                                        "and": {
                                          "type": "array",
                                          "description": "Match *all* conditions to return results.",
                                          "items": {
                                            "x-scalar-ignore": true,
                                            "anyOf": [
                                              {
                                                "title": "segment",
                                                "description": "Filter for people who belong to a segment.",
                                                "type": "object",
                                                "properties": {
                                                  "segment": {
                                                    "x-scalar-ignore": true,
                                                    "title": "segment",
                                                    "type": "object",
                                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                                    "properties": {
                                                      "id": {
                                                        "type": "integer",
                                                        "description": "The ID of the segment you want to return people from.",
                                                        "example": 4
                                                      }
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "title": "audience",
                                                "type": "object",
                                                "description": "filter for people who have an attribute or an attribute value.",
                                                "properties": {
                                                  "attribute": {
                                                    "x-scalar-ignore": true,
                                                    "title": "attribute",
                                                    "description": "Filter your audience by attribute.",
                                                    "type": "object",
                                                    "required": [
                                                      "field",
                                                      "operator"
                                                    ],
                                                    "properties": {
                                                      "field": {
                                                        "type": "string",
                                                        "description": "The name of the attribute you want to filter against.",
                                                        "example": "first_name"
                                                      },
                                                      "operator": {
                                                        "type": "string",
                                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                        "enum": [
                                                          "eq",
                                                          "exists"
                                                        ]
                                                      },
                                                      "value": {
                                                        "type": "string",
                                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                                      }
                                                    },
                                                    "example": {
                                                      "field": "unsubscribed",
                                                      "operator": "eq",
                                                      "value": true
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "title": "or",
                                      "type": "object",
                                      "properties": {
                                        "or": {
                                          "type": "array",
                                          "description": "Match *any* condition to return results.",
                                          "items": {
                                            "x-scalar-ignore": true,
                                            "anyOf": [
                                              {
                                                "title": "segment",
                                                "description": "Filter for people who belong to a segment.",
                                                "type": "object",
                                                "properties": {
                                                  "segment": {
                                                    "x-scalar-ignore": true,
                                                    "title": "segment",
                                                    "type": "object",
                                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                                    "properties": {
                                                      "id": {
                                                        "type": "integer",
                                                        "description": "The ID of the segment you want to return people from.",
                                                        "example": 4
                                                      }
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "title": "audience",
                                                "type": "object",
                                                "description": "filter for people who have an attribute or an attribute value.",
                                                "properties": {
                                                  "attribute": {
                                                    "x-scalar-ignore": true,
                                                    "title": "attribute",
                                                    "description": "Filter your audience by attribute.",
                                                    "type": "object",
                                                    "required": [
                                                      "field",
                                                      "operator"
                                                    ],
                                                    "properties": {
                                                      "field": {
                                                        "type": "string",
                                                        "description": "The name of the attribute you want to filter against.",
                                                        "example": "first_name"
                                                      },
                                                      "operator": {
                                                        "type": "string",
                                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                        "enum": [
                                                          "eq",
                                                          "exists"
                                                        ]
                                                      },
                                                      "value": {
                                                        "type": "string",
                                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                                      }
                                                    },
                                                    "example": {
                                                      "field": "unsubscribed",
                                                      "operator": "eq",
                                                      "value": true
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "title": "segment",
                                      "type": "object",
                                      "properties": {
                                        "segment": {
                                          "x-scalar-ignore": true,
                                          "title": "segment",
                                          "type": "object",
                                          "description": "Provide the `id` of a segment containing people you want to search for.",
                                          "properties": {
                                            "id": {
                                              "type": "integer",
                                              "description": "The ID of the segment you want to return people from.",
                                              "example": 4
                                            }
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "title": "attribute",
                                      "type": "object",
                                      "properties": {
                                        "attribute": {
                                          "x-scalar-ignore": true,
                                          "title": "attribute",
                                          "description": "Filter your audience by attribute.",
                                          "type": "object",
                                          "required": [
                                            "field",
                                            "operator"
                                          ],
                                          "properties": {
                                            "field": {
                                              "type": "string",
                                              "description": "The name of the attribute you want to filter against.",
                                              "example": "first_name"
                                            },
                                            "operator": {
                                              "type": "string",
                                              "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                              "enum": [
                                                "eq",
                                                "exists"
                                              ]
                                            },
                                            "value": {
                                              "type": "string",
                                              "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                            }
                                          },
                                          "example": {
                                            "field": "unsubscribed",
                                            "operator": "eq",
                                            "value": true
                                          }
                                        }
                                      }
                                    }
                                  ]
                                },
                                "or": {
                                  "type": "array",
                                  "description": "Returns results matching *any* conditions.",
                                  "items": {
                                    "x-scalar-ignore": true,
                                    "anyOf": [
                                      {
                                        "title": "segment",
                                        "description": "Filter for people who belong to a segment.",
                                        "type": "object",
                                        "properties": {
                                          "segment": {
                                            "x-scalar-ignore": true,
                                            "title": "segment",
                                            "type": "object",
                                            "description": "Provide the `id` of a segment containing people you want to search for.",
                                            "properties": {
                                              "id": {
                                                "type": "integer",
                                                "description": "The ID of the segment you want to return people from.",
                                                "example": 4
                                              }
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "title": "audience",
                                        "type": "object",
                                        "description": "filter for people who have an attribute or an attribute value.",
                                        "properties": {
                                          "attribute": {
                                            "x-scalar-ignore": true,
                                            "title": "attribute",
                                            "description": "Filter your audience by attribute.",
                                            "type": "object",
                                            "required": [
                                              "field",
                                              "operator"
                                            ],
                                            "properties": {
                                              "field": {
                                                "type": "string",
                                                "description": "The name of the attribute you want to filter against.",
                                                "example": "first_name"
                                              },
                                              "operator": {
                                                "type": "string",
                                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                "enum": [
                                                  "eq",
                                                  "exists"
                                                ]
                                              },
                                              "value": {
                                                "type": "string",
                                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                              }
                                            },
                                            "example": {
                                              "field": "unsubscribed",
                                              "operator": "eq",
                                              "value": true
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                },
                                "segment": {
                                  "x-scalar-ignore": true,
                                  "title": "segment",
                                  "type": "object",
                                  "description": "Provide the `id` of a segment containing people you want to search for.",
                                  "properties": {
                                    "id": {
                                      "type": "integer",
                                      "description": "The ID of the segment you want to return people from.",
                                      "example": 4
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                      {
                        "title": "or",
                        "type": "object",
                        "properties": {
                          "or": {
                            "type": "array",
                            "description": "Match *any* condition to return results.",
                            "items": {
                              "x-scalar-ignore": true,
                              "title": "People Filter",
                              "type": "object",
                              "description": "Filter people with `and`, `or`, and `not` groups made from `segment` and `attribute` conditions.",
                              "properties": {
                                "and": {
                                  "type": "array",
                                  "description": "Returns results matching *all* conditions.",
                                  "items": {
                                    "x-scalar-ignore": true,
                                    "anyOf": [
                                      {
                                        "title": "segment",
                                        "description": "Filter for people who belong to a segment.",
                                        "type": "object",
                                        "properties": {
                                          "segment": {
                                            "x-scalar-ignore": true,
                                            "title": "segment",
                                            "type": "object",
                                            "description": "Provide the `id` of a segment containing people you want to search for.",
                                            "properties": {
                                              "id": {
                                                "type": "integer",
                                                "description": "The ID of the segment you want to return people from.",
                                                "example": 4
                                              }
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "title": "audience",
                                        "type": "object",
                                        "description": "filter for people who have an attribute or an attribute value.",
                                        "properties": {
                                          "attribute": {
                                            "x-scalar-ignore": true,
                                            "title": "attribute",
                                            "description": "Filter your audience by attribute.",
                                            "type": "object",
                                            "required": [
                                              "field",
                                              "operator"
                                            ],
                                            "properties": {
                                              "field": {
                                                "type": "string",
                                                "description": "The name of the attribute you want to filter against.",
                                                "example": "first_name"
                                              },
                                              "operator": {
                                                "type": "string",
                                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                "enum": [
                                                  "eq",
                                                  "exists"
                                                ]
                                              },
                                              "value": {
                                                "type": "string",
                                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                              }
                                            },
                                            "example": {
                                              "field": "unsubscribed",
                                              "operator": "eq",
                                              "value": true
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                },
                                "attribute": {
                                  "x-scalar-ignore": true,
                                  "title": "attribute",
                                  "description": "Filter your audience by attribute.",
                                  "type": "object",
                                  "required": [
                                    "field",
                                    "operator"
                                  ],
                                  "properties": {
                                    "field": {
                                      "type": "string",
                                      "description": "The name of the attribute you want to filter against.",
                                      "example": "first_name"
                                    },
                                    "operator": {
                                      "type": "string",
                                      "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                      "enum": [
                                        "eq",
                                        "exists"
                                      ]
                                    },
                                    "value": {
                                      "type": "string",
                                      "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                    }
                                  },
                                  "example": {
                                    "field": "unsubscribed",
                                    "operator": "eq",
                                    "value": true
                                  }
                                },
                                "not": {
                                  "description": "Returns results if a condition is false. While and/or support an array of items, `not` supports a single filter object.",
                                  "oneOf": [
                                    {
                                      "title": "and",
                                      "type": "object",
                                      "properties": {
                                        "and": {
                                          "type": "array",
                                          "description": "Match *all* conditions to return results.",
                                          "items": {
                                            "x-scalar-ignore": true,
                                            "anyOf": [
                                              {
                                                "title": "segment",
                                                "description": "Filter for people who belong to a segment.",
                                                "type": "object",
                                                "properties": {
                                                  "segment": {
                                                    "x-scalar-ignore": true,
                                                    "title": "segment",
                                                    "type": "object",
                                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                                    "properties": {
                                                      "id": {
                                                        "type": "integer",
                                                        "description": "The ID of the segment you want to return people from.",
                                                        "example": 4
                                                      }
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "title": "audience",
                                                "type": "object",
                                                "description": "filter for people who have an attribute or an attribute value.",
                                                "properties": {
                                                  "attribute": {
                                                    "x-scalar-ignore": true,
                                                    "title": "attribute",
                                                    "description": "Filter your audience by attribute.",
                                                    "type": "object",
                                                    "required": [
                                                      "field",
                                                      "operator"
                                                    ],
                                                    "properties": {
                                                      "field": {
                                                        "type": "string",
                                                        "description": "The name of the attribute you want to filter against.",
                                                        "example": "first_name"
                                                      },
                                                      "operator": {
                                                        "type": "string",
                                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                        "enum": [
                                                          "eq",
                                                          "exists"
                                                        ]
                                                      },
                                                      "value": {
                                                        "type": "string",
                                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                                      }
                                                    },
                                                    "example": {
                                                      "field": "unsubscribed",
                                                      "operator": "eq",
                                                      "value": true
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "title": "or",
                                      "type": "object",
                                      "properties": {
                                        "or": {
                                          "type": "array",
                                          "description": "Match *any* condition to return results.",
                                          "items": {
                                            "x-scalar-ignore": true,
                                            "anyOf": [
                                              {
                                                "title": "segment",
                                                "description": "Filter for people who belong to a segment.",
                                                "type": "object",
                                                "properties": {
                                                  "segment": {
                                                    "x-scalar-ignore": true,
                                                    "title": "segment",
                                                    "type": "object",
                                                    "description": "Provide the `id` of a segment containing people you want to search for.",
                                                    "properties": {
                                                      "id": {
                                                        "type": "integer",
                                                        "description": "The ID of the segment you want to return people from.",
                                                        "example": 4
                                                      }
                                                    }
                                                  }
                                                }
                                              },
                                              {
                                                "title": "audience",
                                                "type": "object",
                                                "description": "filter for people who have an attribute or an attribute value.",
                                                "properties": {
                                                  "attribute": {
                                                    "x-scalar-ignore": true,
                                                    "title": "attribute",
                                                    "description": "Filter your audience by attribute.",
                                                    "type": "object",
                                                    "required": [
                                                      "field",
                                                      "operator"
                                                    ],
                                                    "properties": {
                                                      "field": {
                                                        "type": "string",
                                                        "description": "The name of the attribute you want to filter against.",
                                                        "example": "first_name"
                                                      },
                                                      "operator": {
                                                        "type": "string",
                                                        "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                        "enum": [
                                                          "eq",
                                                          "exists"
                                                        ]
                                                      },
                                                      "value": {
                                                        "type": "string",
                                                        "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                                      }
                                                    },
                                                    "example": {
                                                      "field": "unsubscribed",
                                                      "operator": "eq",
                                                      "value": true
                                                    }
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "title": "segment",
                                      "type": "object",
                                      "properties": {
                                        "segment": {
                                          "x-scalar-ignore": true,
                                          "title": "segment",
                                          "type": "object",
                                          "description": "Provide the `id` of a segment containing people you want to search for.",
                                          "properties": {
                                            "id": {
                                              "type": "integer",
                                              "description": "The ID of the segment you want to return people from.",
                                              "example": 4
                                            }
                                          }
                                        }
                                      }
                                    },
                                    {
                                      "title": "attribute",
                                      "type": "object",
                                      "properties": {
                                        "attribute": {
                                          "x-scalar-ignore": true,
                                          "title": "attribute",
                                          "description": "Filter your audience by attribute.",
                                          "type": "object",
                                          "required": [
                                            "field",
                                            "operator"
                                          ],
                                          "properties": {
                                            "field": {
                                              "type": "string",
                                              "description": "The name of the attribute you want to filter against.",
                                              "example": "first_name"
                                            },
                                            "operator": {
                                              "type": "string",
                                              "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                              "enum": [
                                                "eq",
                                                "exists"
                                              ]
                                            },
                                            "value": {
                                              "type": "string",
                                              "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                            }
                                          },
                                          "example": {
                                            "field": "unsubscribed",
                                            "operator": "eq",
                                            "value": true
                                          }
                                        }
                                      }
                                    }
                                  ]
                                },
                                "or": {
                                  "type": "array",
                                  "description": "Returns results matching *any* conditions.",
                                  "items": {
                                    "x-scalar-ignore": true,
                                    "anyOf": [
                                      {
                                        "title": "segment",
                                        "description": "Filter for people who belong to a segment.",
                                        "type": "object",
                                        "properties": {
                                          "segment": {
                                            "x-scalar-ignore": true,
                                            "title": "segment",
                                            "type": "object",
                                            "description": "Provide the `id` of a segment containing people you want to search for.",
                                            "properties": {
                                              "id": {
                                                "type": "integer",
                                                "description": "The ID of the segment you want to return people from.",
                                                "example": 4
                                              }
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "title": "audience",
                                        "type": "object",
                                        "description": "filter for people who have an attribute or an attribute value.",
                                        "properties": {
                                          "attribute": {
                                            "x-scalar-ignore": true,
                                            "title": "attribute",
                                            "description": "Filter your audience by attribute.",
                                            "type": "object",
                                            "required": [
                                              "field",
                                              "operator"
                                            ],
                                            "properties": {
                                              "field": {
                                                "type": "string",
                                                "description": "The name of the attribute you want to filter against.",
                                                "example": "first_name"
                                              },
                                              "operator": {
                                                "type": "string",
                                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                                "enum": [
                                                  "eq",
                                                  "exists"
                                                ]
                                              },
                                              "value": {
                                                "type": "string",
                                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                                              }
                                            },
                                            "example": {
                                              "field": "unsubscribed",
                                              "operator": "eq",
                                              "value": true
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                },
                                "segment": {
                                  "x-scalar-ignore": true,
                                  "title": "segment",
                                  "type": "object",
                                  "description": "Provide the `id` of a segment containing people you want to search for.",
                                  "properties": {
                                    "id": {
                                      "type": "integer",
                                      "description": "The ID of the segment you want to return people from.",
                                      "example": 4
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                      {
                        "title": "segment",
                        "type": "object",
                        "properties": {
                          "segment": {
                            "x-scalar-ignore": true,
                            "title": "segment",
                            "type": "object",
                            "description": "Provide the `id` of a segment containing people you want to search for.",
                            "properties": {
                              "id": {
                                "type": "integer",
                                "description": "The ID of the segment you want to return people from.",
                                "example": 4
                              }
                            }
                          }
                        }
                      },
                      {
                        "title": "attribute",
                        "type": "object",
                        "properties": {
                          "attribute": {
                            "x-scalar-ignore": true,
                            "title": "attribute",
                            "description": "Filter your audience by attribute.",
                            "type": "object",
                            "required": [
                              "field",
                              "operator"
                            ],
                            "properties": {
                              "field": {
                                "type": "string",
                                "description": "The name of the attribute you want to filter against.",
                                "example": "first_name"
                              },
                              "operator": {
                                "type": "string",
                                "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                                "enum": [
                                  "eq",
                                  "exists"
                                ]
                              },
                              "value": {
                                "type": "string",
                                "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                              }
                            },
                            "example": {
                              "field": "unsubscribed",
                              "operator": "eq",
                              "value": true
                            }
                          }
                        }
                      }
                    ]
                  },
                  {
                    "title": "segment",
                    "description": "Filter for people who belong to a segment.",
                    "type": "object",
                    "properties": {
                      "segment": {
                        "x-scalar-ignore": true,
                        "title": "segment",
                        "type": "object",
                        "description": "Provide the `id` of a segment containing people you want to search for.",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "description": "The ID of the segment you want to return people from.",
                            "example": 4
                          }
                        }
                      }
                    }
                  },
                  {
                    "title": "audience",
                    "type": "object",
                    "description": "filter for people who have an attribute or an attribute value.",
                    "properties": {
                      "attribute": {
                        "x-scalar-ignore": true,
                        "title": "attribute",
                        "description": "Filter your audience by attribute.",
                        "type": "object",
                        "required": [
                          "field",
                          "operator"
                        ],
                        "properties": {
                          "field": {
                            "type": "string",
                            "description": "The name of the attribute you want to filter against.",
                            "example": "first_name"
                          },
                          "operator": {
                            "type": "string",
                            "description": "Determine how to evaluate criteria against the field—`exists` returns results if a person in the audience has the attribute; `eq` returns results if the audience has the attribute and the attribute has the `value` you specify.",
                            "enum": [
                              "eq",
                              "exists"
                            ]
                          },
                          "value": {
                            "type": "string",
                            "description": "The value you want to match for this attribute. You must include a value if you use the `eq` operator."
                          }
                        },
                        "example": {
                          "field": "unsubscribed",
                          "operator": "eq",
                          "value": true
                        }
                      }
                    }
                  }
                ]
              },
              "data": {
                "type": "object",
                "description": "Contains information you want to use to populate your broadcast.",
                "additionalProperties": {
                  "x-additionalPropertiesName": "Broadcast liquid data",
                  "description": "Insert key-values that you want to reference in your message here."
                },
                "example": {
                  "headline": "Roadrunner spotted in Albuquerque!",
                  "date": 1511315635,
                  "text": "We received reports of a roadrunner in your immediate area! Head to your dashboard to view more information!"
                }
              },
              "email_add_duplicates": {
                "type": "boolean",
                "default": false,
                "description": "an email address associated with more than one profile id is an error."
              },
              "email_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing email causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have emails, and continue sending to the rest of your audience."
              },
              "id_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing customer ID causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have IDs, and continue sending to the rest of your audience."
              }
            },
            "required": [
              "recipients"
            ]
          },
          {
            "title": "Emails",
            "description": "An array of emails you want to send the broadcast to. These addresses must already exist; your request cannot create a new person.",
            "properties": {
              "emails": {
                "description": "An array of email addresses you want to send the broadcast to. These addresses must already exist; your request cannot create a new person.",
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "email"
                },
                "example": [
                  "recipient1@example.com",
                  "anotherRecipient@example.com"
                ]
              },
              "data": {
                "type": "object",
                "description": "Contains information you want to use to populate your broadcast.",
                "additionalProperties": {
                  "x-additionalPropertiesName": "Broadcast liquid data",
                  "description": "Insert key-values that you want to reference in your message here."
                },
                "example": {
                  "headline": "Roadrunner spotted in Albuquerque!",
                  "date": 1511315635,
                  "text": "We received reports of a roadrunner in your immediate area! Head to your dashboard to view more information!"
                }
              },
              "email_add_duplicates": {
                "type": "boolean",
                "default": false,
                "description": "an email address associated with more than one profile id is an error."
              },
              "email_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing email causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have emails, and continue sending to the rest of your audience."
              },
              "id_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing customer ID causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have IDs, and continue sending to the rest of your audience."
              }
            },
            "required": [
              "emails"
            ]
          },
          {
            "title": "IDs",
            "description": "An array of customer ids that you want to send the broadcast to. These IDs must already exist; your request cannot create a new person.",
            "properties": {
              "ids": {
                "description": "An array of IDs you want to send a broadcast to. **NOTE**: If your workspace identifies people by `email`, don't use this option. Identify your audience by `emails` instead.\n",
                "type": "array",
                "maxItems": 10000,
                "items": {
                  "type": "string"
                },
                "example": [
                  "id1",
                  "id4"
                ]
              },
              "data": {
                "type": "object",
                "description": "Contains information you want to use to populate your broadcast.",
                "additionalProperties": {
                  "x-additionalPropertiesName": "Broadcast liquid data",
                  "description": "Insert key-values that you want to reference in your message here."
                },
                "example": {
                  "headline": "Roadrunner spotted in Albuquerque!",
                  "date": 1511315635,
                  "text": "We received reports of a roadrunner in your immediate area! Head to your dashboard to view more information!"
                }
              },
              "email_add_duplicates": {
                "type": "boolean",
                "default": false,
                "description": "an email address associated with more than one profile id is an error."
              },
              "email_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing email causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have emails, and continue sending to the rest of your audience."
              },
              "id_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing customer ID causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have IDs, and continue sending to the rest of your audience."
              }
            },
            "required": [
              "ids"
            ]
          },
          {
            "title": "User Maps",
            "description": "An array of JSON objects containing `id` or `email` keys and a `data` key. Each object represents a person you want to send the broadcast to and data you want to personalize their message with using liquid.",
            "properties": {
              "per_user_data": {
                "description": "The people you want to send a broadcast to, with custom data to personalize each message. Each person must already exist in your workspace—a broadcast trigger can't create people.",
                "type": "array",
                "maxItems": 10000,
                "items": {
                  "oneOf": [
                    {
                      "title": "ids",
                      "type": "object",
                      "required": [
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The ID of the recipient.",
                          "example": 1
                        },
                        "data": {
                          "type": "object",
                          "description": "Merge data associated with the recipient.",
                          "additionalProperties": {
                            "x-additionalPropertiesName": "Liquid merge data",
                            "description": "Insert key-values that you want to reference in your message here."
                          },
                          "example": {
                            "firstName": "Hugh",
                            "lastName": "Mann",
                            "purchase": "shoes"
                          }
                        }
                      }
                    },
                    {
                      "title": "emails",
                      "type": "object",
                      "required": [
                        "email"
                      ],
                      "properties": {
                        "email": {
                          "type": "string",
                          "description": "The email address of the recipient. This address must be unique in your workspace. If more than one person has the same `email` attribute, your request will produce an error.",
                          "example": "recipient1@example.com"
                        },
                        "data": {
                          "description": "Merge data associated with the recipient.",
                          "type": "object",
                          "additionalProperties": {
                            "x-additionalPropertiesName": "Liquid merge data",
                            "description": "Insert key-values that you want to reference in your message here."
                          },
                          "example": {
                            "firstName": "Hugh",
                            "lastName": "Mann",
                            "purchase": "shoes"
                          }
                        }
                      }
                    }
                  ]
                },
                "example": [
                  {
                    "id": "wiley_coyote",
                    "data": {
                      "voucher_code": "FESwYm"
                    }
                  },
                  {
                    "email": "road@runner.net",
                    "data": {
                      "voucher_code": "cYm6XJ"
                    }
                  }
                ]
              },
              "data": {
                "type": "object",
                "description": "Contains information you want to use to populate your broadcast.",
                "additionalProperties": {
                  "x-additionalPropertiesName": "Broadcast liquid data",
                  "description": "Insert key-values that you want to reference in your message here."
                },
                "example": {
                  "headline": "Roadrunner spotted in Albuquerque!",
                  "date": 1511315635,
                  "text": "We received reports of a roadrunner in your immediate area! Head to your dashboard to view more information!"
                }
              },
              "email_add_duplicates": {
                "type": "boolean",
                "default": false,
                "description": "an email address associated with more than one profile id is an error."
              },
              "email_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing email causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have emails, and continue sending to the rest of your audience."
              },
              "id_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing customer ID causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have IDs, and continue sending to the rest of your audience."
              }
            },
            "required": [
              "per_user_data"
            ]
          },
          {
            "title": "Data file URL",
            "description": "The URL of a data file with one JSON object per line, using either `id` and `data` or `email` and `data`. The people you reference must already exist in your workspace. The file may be gzip-compressed to reduce transfer size (recommended for large files); if compressed, it must use gzip and the hosting server must return a `Content-Encoding` header set to `gzip` when the file is downloaded.",
            "properties": {
              "data_file_url": {
                "description": "The URL of a JSON Lines file with one person per line, using `id` and `data` or `email` and `data`. The people you reference must already exist in your workspace. The file may be gzip-compressed to reduce transfer size (recommended for large files); if compressed, it must use gzip and the hosting server must return a `Content-Encoding` header set to `gzip` when the file is downloaded.",
                "type": "string",
                "format": "url",
                "example": "https://myFile.example.com"
              },
              "data": {
                "type": "object",
                "description": "Contains information you want to use to populate your broadcast.",
                "additionalProperties": {
                  "x-additionalPropertiesName": "Broadcast liquid data",
                  "description": "Insert key-values that you want to reference in your message here."
                },
                "example": {
                  "headline": "Roadrunner spotted in Albuquerque!",
                  "date": 1511315635,
                  "text": "We received reports of a roadrunner in your immediate area! Head to your dashboard to view more information!"
                }
              },
              "email_add_duplicates": {
                "type": "boolean",
                "default": false,
                "description": "an email address associated with more than one profile id is an error."
              },
              "email_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing email causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have emails, and continue sending to the rest of your audience."
              },
              "id_ignore_missing": {
                "type": "boolean",
                "default": false,
                "description": "If false, a missing customer ID causes the broadcast to error and fail. If true, the broadcast will skip over any people in your audience who don't have IDs, and continue sending to the rest of your audience."
              }
            },
            "required": [
              "data_file_url"
            ]
          }
        ]
      },
      "customer_id": {
        "x-scalar-ignore": true,
        "type": [
          "string",
          "null"
        ],
        "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.",
        "example": "42"
      },
      "object_type_id": {
        "x-scalar-ignore": true,
        "type": "string",
        "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.",
        "example": "1"
      },
      "object_identifiers": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "identifiers": {
            "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
            "oneOf": [
              {
                "title": "Object ID",
                "type": "object",
                "required": [
                  "object_type_id",
                  "object_id"
                ],
                "properties": {
                  "object_id": {
                    "type": "string",
                    "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                    "example": "acme"
                  },
                  "object_type_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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.",
                    "example": "1"
                  }
                }
              },
              {
                "title": "CIO Object ID",
                "type": "object",
                "required": [
                  "cio_object_id"
                ],
                "properties": {
                  "cio_object_id": {
                    "type": "string",
                    "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                    "example": "obb7fd050101"
                  }
                }
              }
            ]
          }
        }
      },
      "not_nullable_customer_id": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
        "example": "42"
      },
      "not_nullable_email_address": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The email address of the customer.",
        "example": "test@example.com"
      },
      "email_address": {
        "x-scalar-ignore": true,
        "type": [
          "string",
          "null"
        ],
        "description": "The email address of the customer.",
        "example": "test@example.com"
      },
      "device_id": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The identifier for a person's device—typically a device token."
      },
      "created": {
        "x-scalar-ignore": true,
        "type": "integer",
        "format": "unix timestamp",
        "description": "The date time when the referenced ID was created.",
        "example": 1552341937,
        "readOnly": true
      },
      "updated": {
        "x-scalar-ignore": true,
        "type": "integer",
        "format": "unix timestamp",
        "description": "The date time when the referenced ID was last updated.",
        "example": 1552341937,
        "readOnly": true
      },
      "segment_id": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "The identifier for a segment; used to target a segment in requests.",
        "example": 7
      },
      "deduplicate_id": {
        "x-scalar-ignore": true,
        "type": "string",
        "readOnly": true,
        "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
        "example": "15:1492548073"
      },
      "segment_name": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The name of the segment.",
        "example": "Manual Segment 1"
      },
      "segment_description": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "A description for the segment. This can help you understand the purpose of the segment when you encounter it in other requests or in the UI.",
        "example": "My first manual segment"
      },
      "segmentResponseObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "created_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "description": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "A description for the segment. This can help you understand the purpose of the segment when you encounter it in other requests or in the UI.",
            "example": "My first manual segment"
          },
          "id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier for a segment; used to target a segment in requests.",
            "example": 7
          },
          "name": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The name of the segment.",
            "example": "Manual Segment 1"
          },
          "progress": {
            "type": [
              "integer",
              "null"
            ],
            "description": "If Customer.io has not finished processing the segment, this indicates the percentage complete. Otherwise, this key is null.",
            "example": null
          },
          "state": {
            "type": "string",
            "description": "The segment build state:\n- `events`—handling event conditions for this segment\n- `build`—handling profile attribute conditions for this segment\n- `events_queued`—waiting to start handling event conditions\n- `build_queued`—waiting to start handling profile attribute conditions\n- `finished`—the segment is finished building\n",
            "enum": [
              "events",
              "build",
              "events_queued",
              "build_queued",
              "finished"
            ]
          },
          "tags": {
            "type": [
              "array",
              "null"
            ],
            "description": "The tags assigned to the segment, if any. Tags may help you sort through your segments.",
            "items": {
              "type": "string"
            },
            "example": null
          },
          "type": {
            "type": "string",
            "description": "The type of segment.",
            "enum": [
              "dynamic",
              "manual"
            ],
            "example": "manual"
          },
          "updated_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        }
      },
      "broadcast_id": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "The identifier for a broadcast.",
        "example": 2
      },
      "msg_template_ids": {
        "x-scalar-ignore": true,
        "type": "array",
        "deprecated": true,
        "description": "Indicates the message template(s) used in this broadcast.",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "description": "The identifier for the template."
            },
            "type": {
              "type": "string",
              "description": "The type of template.",
              "enum": [
                "email",
                "webhook",
                "push",
                "sms",
                "slack"
              ]
            }
          }
        }
      },
      "broadcastTriggerObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "You can get triggers to know when you triggered a broadcast and whether or not it's been processed.",
        "properties": {
          "broadcast_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier for a broadcast.",
            "example": 2
          },
          "created_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "id": {
            "type": "integer",
            "description": "The identifier for a broadcast trigger."
          },
          "processed_at": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date-time when Customer.io processed the trigger."
          }
        }
      },
      "broadcastObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "actions": {
            "type": "array",
            "description": "A list of actions used by the broadcast.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "The identifier for the action."
                },
                "type": {
                  "type": "string",
                  "description": "The type of action.",
                  "enum": [
                    "email",
                    "webhook",
                    "push",
                    "sms",
                    "slack"
                  ]
                }
              }
            }
          },
          "active": {
            "type": "boolean",
            "description": "If true, the broadcast is active."
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "first_started": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date and time when you activated the broadcast.",
            "example": 1552341937
          },
          "id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier for a broadcast.",
            "example": 2
          },
          "msg_template_ids": {
            "x-scalar-ignore": true,
            "type": "array",
            "deprecated": true,
            "description": "Indicates the message template(s) used in this broadcast.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "The identifier for the template."
                },
                "type": {
                  "type": "string",
                  "description": "The type of template.",
                  "enum": [
                    "email",
                    "webhook",
                    "push",
                    "sms",
                    "slack"
                  ]
                }
              }
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the broadcast.",
            "readOnly": true
          },
          "state": {
            "type": "string",
            "description": "The state of the broadcast.",
            "enum": [
              "running",
              "draft"
            ]
          },
          "tags": {
            "type": "array",
            "description": "An array of tags you set on this broadcast.",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string",
            "description": "The type of broadcast.",
            "enum": [
              "triggered_broadcast"
            ]
          },
          "updated": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        },
        "example": {
          "actions": [
            {
              "id": 3,
              "type": "email"
            },
            {
              "id": 4
            },
            {
              "type": "webhook"
            }
          ],
          "active": true,
          "created": 1520467200,
          "deduplicate_id": "2:1520467200",
          "first_started": 1520467200,
          "id": 2,
          "name": "basic",
          "state": "running",
          "tags": "nil",
          "type": "triggered_broadcast",
          "updated": 1520467200,
          "created_by": "ExamplePerson"
        }
      },
      "sendpush": {
        "x-scalar-ignore": true,
        "example": {
          "identifiers": {
            "id": 12345
          },
          "transactional_message_id": 44,
          "message_data": {
            "password_reset_token": "abcde-12345-fghij-d888",
            "account_id": "123dj"
          },
          "title": "Did you really login from a new location?"
        },
        "properties": {
          "identifiers": {
            "description": "Identifies the person represented by your transactional message by one of, and only one of, `id`, `email`, or `cio_id`.",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "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",
                    "example": 12345
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "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`.",
                    "example": "cool.person@example.com"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "type": "string",
                    "description": "A unique, immutable identifier for a person, set by Customer.io when you add a person.",
                    "example": 3000001
                  }
                }
              }
            ]
          },
          "transactional_message_id": {
            "description": "The transactional message template that you want to use for your message. You can call the template by its numerical ID or by the *Trigger Name* that you assigned to the template in the UI (case insensitive).",
            "oneOf": [
              {
                "title": "ID (integer)",
                "type": "integer",
                "description": "The ID of the transactional message you want to send.",
                "example": 44
              },
              {
                "title": "Trigger Name (string)",
                "type": "string",
                "description": "The name of trigger for the transactional message you want to send; you set the trigger name in the *Configure Settings* step when setting up your message. This is case insensitive.",
                "example": "pwdreset"
              }
            ]
          },
          "auto_create": {
            "type": "boolean",
            "default": false,
            "description": "If `true` and your `transactional_message_id` doesn't match a record, Customer.io creates an empty record using that value as the *Trigger Name*. The ID must be a string. If the name already belongs to another channel, the request fails with `400`, and numeric IDs ignore this setting. See [details](/journeys/transactional-email/#auto-create-transactional-message-records)."
          },
          "custom_data": {
            "type": "object",
            "description": "Optional key/value pairs you want to attach to the push payload. Firebase only supports string values. This overrides the Custom Data from your transactional template."
          },
          "custom_device": {
            "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.",
            "properties": {
              "platform": {
                "type": "string",
                "enum": [
                  "ios",
                  "android"
                ],
                "description": "The device/messaging platform."
              },
              "token": {
                "description": "The device token.",
                "type": "string"
              },
              "attributes": {
                "type": "object",
                "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.",
                "properties": {
                  "_last_status": {
                    "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.",
                    "enum": [
                      "",
                      "bounced",
                      "sent",
                      "suppressed"
                    ]
                  },
                  "app_identifier": {
                    "type": "string",
                    "description": "The app that the device belongs to—the **Bundle ID / App identifier** you entered with that app's push credentials. If you have more than one app, we use this attribute to send push notifications to the right app. A device without an app identifier receives push notifications you send to your [default app](/messaging/channels/push/getting-started/#the-default-app)."
                  },
                  "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."
                  },
                  "cio_sdk_version": {
                    "type": "string",
                    "description": "The version of the Customer.io SDK in the app."
                  },
                  "device_locale": {
                    "type": "string",
                    "description": "The device's [IETF language code](/journeys/channels/localization/getting-started/#supported-languages), such as `en-MX` or `es-ES`."
                  },
                  "device_model": {
                    "type": "string",
                    "description": "The model of the device a person uses."
                  },
                  "device_os": {
                    "type": "string",
                    "description": "The operating system, including the version, on the device."
                  },
                  "push_enabled": {
                    "type": "string",
                    "description": "If `\"true\"`, the device is opted-in and can receive push notifications.",
                    "enum": [
                      "true",
                      "false"
                    ]
                  }
                },
                "additionalProperties": {
                  "x-additionalPropertiesName": "Custom Device Attributes",
                  "description": "Custom properties that you want to associate with the device.",
                  "type": "string"
                }
              },
              "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."
              }
            },
            "required": [
              "token",
              "platform"
            ]
          },
          "custom_payload": {
            "type": "object",
            "description": "Optional key/value pairs you want to attach to the push payload. Firebase only supports string values. This overrides all other payload values, including the Custom Payload from your transactional template.",
            "properties": {
              "android": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "A custom push payload for Android devices.",
                "required": [
                  "message"
                ],
                "properties": {
                  "message": {
                    "type": "object",
                    "description": "The parent object for Android custom push payloads.",
                    "properties": {
                      "android": {
                        "type": "object",
                        "description": "Contains custom push options for your notification.",
                        "properties": {
                          "notification": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "Properties supported specifically by Android on FCM.",
                            "properties": {
                              "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": "String resource key used to localize the body text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                              },
                              "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."
                              },
                              "color": {
                                "type": "string",
                                "description": "The notification's icon color in `#rrggbb` format."
                              },
                              "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."
                              },
                              "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/`."
                              },
                              "tag": {
                                "type": "string",
                                "description": "An identifier you use to replace an existing notification. If a notification with the same tag is already showing, the new one replaces it. Leave it empty to create a new notification each time."
                              },
                              "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": "String resource key used to localize the title text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                              }
                            }
                          }
                        }
                      },
                      "data": {
                        "type": "object",
                        "description": "Contains key-value pairs that your app interprets.",
                        "additionalProperties": {
                          "x-additionalPropertiesName": "Attachment Names",
                          "x-doNotRender": true,
                          "type": "string"
                        }
                      },
                      "notification": {
                        "type": "object",
                        "description": "Contains the push body and title.",
                        "properties": {
                          "body": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The body of your push notification."
                          },
                          "title": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The title of your push notification."
                          }
                        }
                      }
                    }
                  }
                }
              },
              "ios": {
                "x-scalar-ignore": true,
                "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).",
                "oneOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "required": [
                      "message"
                    ],
                    "properties": {
                      "message": {
                        "type": "object",
                        "description": "The base object for all FCM payloads.",
                        "required": [
                          "apns"
                        ],
                        "properties": {
                          "apns": {
                            "type": "object",
                            "required": [
                              "payload"
                            ],
                            "description": "Defines a payload for iOS devices sent through Firebase Cloud Messaging (FCM).",
                            "properties": {
                              "payload": {
                                "type": "object",
                                "description": "Contains a push payload.",
                                "properties": {
                                  "aps": {
                                    "x-scalar-ignore": true,
                                    "type": "object",
                                    "description": "A push payload intended for an iOS device.",
                                    "properties": {
                                      "alert": {
                                        "oneOf": [
                                          {
                                            "title": "Simple alert",
                                            "type": "string",
                                            "description": "A simple alert message."
                                          },
                                          {
                                            "title": "Complex alert",
                                            "type": "object",
                                            "properties": {
                                              "body": {
                                                "x-scalar-ignore": true,
                                                "type": "string",
                                                "description": "The body of your push notification."
                                              },
                                              "launch-image": {
                                                "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.",
                                                "type": "string"
                                              },
                                              "loc-args": {
                                                "type": "array",
                                                "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.",
                                                "items": {
                                                  "type": "string"
                                                }
                                              },
                                              "loc-key": {
                                                "description": "The key for a localized message string in your app’s Localizable.strings file.",
                                                "type": "string"
                                              },
                                              "subtitle": {
                                                "description": "Additional information that explains the purpose of the notification.",
                                                "type": "string"
                                              },
                                              "subtitle-loc-args": {
                                                "type": "array",
                                                "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.",
                                                "items": {
                                                  "type": "string"
                                                }
                                              },
                                              "subtitle-loc-key": {
                                                "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                                                "type": "string"
                                              },
                                              "title": {
                                                "x-scalar-ignore": true,
                                                "type": "string",
                                                "description": "The title of your push notification."
                                              },
                                              "title-loc-args": {
                                                "type": "array",
                                                "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.",
                                                "items": {
                                                  "type": "string"
                                                }
                                              },
                                              "title-loc-key": {
                                                "description": "The key for a localized title string in your app’s Localizable.strings files.",
                                                "type": "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."
                                      },
                                      "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."
                                      },
                                      "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."
                                      },
                                      "interruption-level": {
                                        "type": "string",
                                        "description": "Indicates the importance and delivery timing of a notification.",
                                        "enum": [
                                          "passive",
                                          "active",
                                          "time-sensitive",
                                          "critical"
                                        ]
                                      },
                                      "mutable-content": {
                                        "type": "integer",
                                        "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
                                      },
                                      "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."
                                      },
                                      "sound": {
                                        "oneOf": [
                                          {
                                            "title": "Regular alert",
                                            "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. For critical alerts, you'll pass an object instead."
                                          },
                                          {
                                            "title": "Critical alert",
                                            "type": "object",
                                            "properties": {
                                              "critical": {
                                                "type": "integer",
                                                "description": "1 indicates critical. 0 is not critical."
                                              },
                                              "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."
                                              }
                                            }
                                          }
                                        ]
                                      },
                                      "target-content-id": {
                                        "type": "string",
                                        "description": "The identifier of the window brought forward."
                                      },
                                      "thread-id": {
                                        "type": "string",
                                        "description": "An identifier to group related notifications."
                                      }
                                    }
                                  },
                                  "CIO": {
                                    "type": "object",
                                    "description": "Contains properties interpreted by the Customer.io iOS SDK.",
                                    "required": [
                                      "push"
                                    ],
                                    "properties": {
                                      "push": {
                                        "type": "object",
                                        "description": "A push payload for the iOS SDK.",
                                        "properties": {
                                          "body": {
                                            "x-scalar-ignore": true,
                                            "type": "string",
                                            "description": "The body of your push notification."
                                          },
                                          "image": {
                                            "x-scalar-ignore": true,
                                            "type": "string",
                                            "description": "The URL of an HTTPS image that you want to use for your message."
                                          },
                                          "link": {
                                            "x-scalar-ignore": true,
                                            "type": "string",
                                            "description": "A deep link (to a page in your app), or a link to a web page."
                                          },
                                          "title": {
                                            "x-scalar-ignore": true,
                                            "type": "string",
                                            "description": "The title of your push notification."
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                "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"
                                }
                              },
                              "headers": {
                                "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.",
                                "type": "object"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "properties": {
                      "aps": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "A push payload intended for an iOS device.",
                        "properties": {
                          "alert": {
                            "oneOf": [
                              {
                                "title": "Simple alert",
                                "type": "string",
                                "description": "A simple alert message."
                              },
                              {
                                "title": "Complex alert",
                                "type": "object",
                                "properties": {
                                  "body": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The body of your push notification."
                                  },
                                  "launch-image": {
                                    "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.",
                                    "type": "string"
                                  },
                                  "loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "loc-key": {
                                    "description": "The key for a localized message string in your app’s Localizable.strings file.",
                                    "type": "string"
                                  },
                                  "subtitle": {
                                    "description": "Additional information that explains the purpose of the notification.",
                                    "type": "string"
                                  },
                                  "subtitle-loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "subtitle-loc-key": {
                                    "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                                    "type": "string"
                                  },
                                  "title": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The title of your push notification."
                                  },
                                  "title-loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "title-loc-key": {
                                    "description": "The key for a localized title string in your app’s Localizable.strings files.",
                                    "type": "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."
                          },
                          "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."
                          },
                          "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."
                          },
                          "interruption-level": {
                            "type": "string",
                            "description": "Indicates the importance and delivery timing of a notification.",
                            "enum": [
                              "passive",
                              "active",
                              "time-sensitive",
                              "critical"
                            ]
                          },
                          "mutable-content": {
                            "type": "integer",
                            "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
                          },
                          "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."
                          },
                          "sound": {
                            "oneOf": [
                              {
                                "title": "Regular alert",
                                "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. For critical alerts, you'll pass an object instead."
                              },
                              {
                                "title": "Critical alert",
                                "type": "object",
                                "properties": {
                                  "critical": {
                                    "type": "integer",
                                    "description": "1 indicates critical. 0 is not critical."
                                  },
                                  "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."
                                  }
                                }
                              }
                            ]
                          },
                          "target-content-id": {
                            "type": "string",
                            "description": "The identifier of the window brought forward."
                          },
                          "thread-id": {
                            "type": "string",
                            "description": "An identifier to group related notifications."
                          }
                        }
                      },
                      "CIO": {
                        "type": "object",
                        "required": [
                          "push"
                        ],
                        "description": "Contains options supported by the Customer.io SDK.",
                        "properties": {
                          "push": {
                            "type": "object",
                            "description": "Describes push notification options supported by the CIO SDK.",
                            "properties": {
                              "image": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The URL of an HTTPS image that you want to use for your message."
                              },
                              "link": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "A deep link (to a page in your app), or a link to a web page."
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              }
            }
          },
          "disable_message_retention": {
            "x-scalar-ignore": true,
            "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`."
          },
          "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`)."
          },
          "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](/journeys/channels/localization/getting-started/#supported-languages)."
          },
          "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`)."
          },
          "message": {
            "type": "string",
            "description": "The message body for your notification. This overrides the notification body of the transactional template (referenced by `transactional_message_id`)."
          },
          "message_data": {
            "type": "object",
            "description": "An object containing the key-value pairs referenced using liquid in your message.",
            "additionalProperties": {
              "x-additionalPropertiesName": "Liquid Data",
              "description": "Insert key-values that you want to reference in your message here."
            },
            "example": {
              "password_reset_token": "abcde-12345-fghij-d888",
              "account_id": "123dj"
            }
          },
          "queue_draft": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "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.",
            "default": false
          },
          "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."
          },
          "send_to_unsubscribed": {
            "x-scalar-ignore": true,
            "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`."
          },
          "sound": {
            "type": "string",
            "description": "**For iOS Only**: your notification can alert users with the device's default notification sound or play no sound at all.\n",
            "enum": [
              "default",
              "none"
            ],
            "default": "default"
          },
          "title": {
            "type": "string",
            "description": "The title for your notification. This overrides the title of the transactional template (referenced by `transactional_message_id`)."
          },
          "to": {
            "type": "string",
            "description": "The devices you want to send this push to—`all`, `last_used`, or a custom device token from the identified profile. Defaults to `all` and overrides the `To` value from your transactional template.",
            "enum": [
              "all",
              "last_used",
              "$device_token"
            ],
            "default": "all"
          }
        },
        "required": [
          "transactional_message_id",
          "identifiers"
        ]
      },
      "sendinbox": {
        "x-scalar-ignore": true,
        "example": {
          "identifiers": {
            "id": "user_123"
          },
          "transactional_message_id": "order_shipped",
          "message_data": {
            "order_id": "ORD-5678",
            "tracking_url": "https://track.example.com/5678",
            "product_name": "Blue Widget",
            "product_image": "https://cdn.example.com/widget.jpg"
          }
        },
        "properties": {
          "identifiers": {
            "description": "Identifies the person represented by your transactional message by one of, and only one of, `id`, `email`, or `cio_id`.",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "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",
                    "example": "user_123"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "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`.",
                    "example": "user@example.com"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "type": "string",
                    "description": "A unique, immutable identifier for a person, set by Customer.io when you add a person.",
                    "example": 3000001
                  }
                }
              }
            ]
          },
          "transactional_message_id": {
            "description": "The transactional message template that you want to use for your message. You can call the template by its numerical ID or by the *Trigger Name* that you assigned to the template in the UI (case insensitive).",
            "oneOf": [
              {
                "title": "ID (integer)",
                "type": "integer",
                "description": "The ID of the transactional message you want to send.",
                "example": 44
              },
              {
                "title": "Trigger Name (string)",
                "type": "string",
                "description": "The name of trigger for the transactional message you want to send; you set the trigger name in the *Configure Settings* step when setting up your message. This is case insensitive.",
                "example": "order_shipped"
              }
            ]
          },
          "auto_create": {
            "type": "boolean",
            "default": false,
            "description": "Accepted for inbox sends, but of limited use. An auto-created record has no content or layout until you populate it in the UI, so we recommend [creating the inbox message in the UI](/journeys/channels/in-app/inbox/send-inbox-txnl/) instead. Your `transactional_message_id` must be a new string."
          },
          "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](/journeys/channels/localization/getting-started/#supported-languages)."
          },
          "message_data": {
            "type": "object",
            "description": "An object containing the key-value pairs referenced using liquid in the format `{{trigger.<property_name>}}` in your inbox message. These values will populate the `properties` field in the message received by your application.",
            "additionalProperties": {
              "x-additionalPropertiesName": "Liquid Data",
              "description": "Insert key-values that you want to reference in your message here."
            },
            "example": {
              "order_id": "ORD-5678",
              "tracking_url": "https://track.example.com/5678"
            }
          },
          "queue_draft": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "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.",
            "default": false
          },
          "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."
          },
          "to": {
            "type": "string",
            "description": "Optional override for the recipient. This is typically not needed as the message is sent to the person identified by `identifiers`."
          }
        },
        "required": [
          "transactional_message_id",
          "identifiers"
        ]
      },
      "sendinapp": {
        "x-scalar-ignore": true,
        "example": {
          "identifiers": {
            "id": "user_123"
          },
          "transactional_message_id": "order_confirmation",
          "message_data": {
            "order_id": "ORD-5678",
            "tracking_url": "https://track.example.com/5678"
          }
        },
        "properties": {
          "identifiers": {
            "description": "Identifies the person represented by your transactional message by one of, and only one of, `id`, `email`, or `cio_id`.",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "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",
                    "example": "user_123"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "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`.",
                    "example": "user@example.com"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "type": "string",
                    "description": "A unique, immutable identifier for a person, set by Customer.io when you add a person.",
                    "example": 3000001
                  }
                }
              }
            ]
          },
          "transactional_message_id": {
            "description": "The transactional message template that you want to use for your message. You can call the template by its numerical ID or by the *Trigger Name* that you assigned to the template in the UI (case insensitive).",
            "oneOf": [
              {
                "title": "ID (integer)",
                "type": "integer",
                "description": "The ID of the transactional message you want to send.",
                "example": 44
              },
              {
                "title": "Trigger Name (string)",
                "type": "string",
                "description": "The name of trigger for the transactional message you want to send; you set the trigger name in the *Configure Settings* step when setting up your message. This is case insensitive.",
                "example": "order_confirmation"
              }
            ]
          },
          "auto_create": {
            "type": "boolean",
            "default": false,
            "description": "Accepted for in-app sends, but of limited use. An auto-created record has no content or layout until you populate it in the UI, so we recommend [creating the in-app message in the UI](/journeys/send/transactional/in-app/) instead. Your `transactional_message_id` must be a new string."
          },
          "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](/journeys/channels/localization/getting-started/#supported-languages)."
          },
          "message_data": {
            "type": "object",
            "description": "An object containing the key-value pairs referenced using liquid in the format `{{trigger.<property_name>}}` in your in-app message. These values populate the `properties` field in the message that the SDK delivers to your application.",
            "additionalProperties": {
              "x-additionalPropertiesName": "Liquid Data",
              "description": "Insert key-values that you want to reference in your message here."
            },
            "example": {
              "order_id": "ORD-5678",
              "tracking_url": "https://track.example.com/5678"
            }
          },
          "queue_draft": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "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.",
            "default": false
          },
          "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."
          }
        },
        "required": [
          "transactional_message_id",
          "identifiers"
        ]
      },
      "sendemail": {
        "x-scalar-ignore": true,
        "example": {
          "to": "cool.person@example.com",
          "attachments": {
            "file1.csv": "base64encodedcontent",
            "file2.pdf": "base64encodedcontent"
          },
          "bcc": "bcc@example.com",
          "disable_css_preprocessing": true,
          "disable_message_retention": false,
          "from": "override-templated-address@example.com",
          "headers": {
            "X-Mailgun-Tag": "my-cool-tag"
          },
          "identifiers": {
            "email": "cool.person@example.com"
          },
          "message_data": {
            "password_reset_token": "abcde-12345-fghij-d888",
            "account_id": "123dj"
          },
          "queue_draft": false,
          "send_to_unsubscribed": true,
          "subject": "Order receipt",
          "tracked": true,
          "transactional_message_id": 44
        },
        "properties": {
          "to": {
            "type": "string",
            "description": "The recipients you want to send to, separated by commas. You can include up to 15 total recipients across `to`, `cc`, and `bcc`, with optional display names in quotes.",
            "example": "cool.person@example.com"
          },
          "attachments": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "A dictionary of attachments where the filename is the key and the value is the base64-encoded contents. The filename must include the extension (i.e. `name.csv`). The total size of all attachments must be less than 2 MB.",
            "properties": {
              "<file-name>": {
                "type": "string",
                "format": "base64"
              }
            }
          },
          "auto_create": {
            "type": "boolean",
            "default": false,
            "description": "If `true` and your `transactional_message_id` doesn't match a record, Customer.io creates an empty record using that value as the *Trigger Name*. The ID must be a string. If the name already belongs to another channel, the request fails with `400`, and numeric IDs ignore this setting. See [details](/journeys/transactional-email/#auto-create-transactional-message-records)."
          },
          "bcc": {
            "type": "string",
            "description": "Blind copy message recipients. Supports multiple addresses separated by commas. Your request can contain up to 15 total recipients between the `to`, `cc`, and `bcc` keys.",
            "example": "bcc@example.com"
          },
          "body": {
            "type": "string",
            "description": "The HTML body of your message. If you provide a `transactional_message_id`, this overrides the template's body. It's also the fallback when you send AMP email (`body_amp`) to a client that doesn't support AMP.",
            "example": "Your temporary password is {{message_data.password_reset_token}}"
          },
          "body_amp": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
          },
          "body_plain": {
            "type": "string",
            "description": "The plaintext body of your message. If you provide `transactional_message_id`, this overrides the template's plaintext body."
          },
          "cc": {
            "type": "string",
            "description": "Carbon copy message recipients, separated by commas. Unlike BCC recipients, CC recipients are visible to everyone who receives the message. Their opens, clicks, and bounces count toward your message metrics. CC recipients count toward the limit of 15 total recipients across the `to`, `cc`, and `bcc` keys.",
            "example": "cc@example.com"
          },
          "disable_css_preprocessing": {
            "type": "boolean",
            "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.",
            "example": false,
            "default": false
          },
          "disable_message_retention": {
            "x-scalar-ignore": true,
            "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`."
          },
          "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"
          },
          "from": {
            "type": "string",
            "description": "The address your email is from. It must be a [verified sender](/journeys/channels/email/deliverability/authentication/). Quote any display name, like `\\\"Person\\\" <person@example.com>`. This overrides the template's sender; omit it to use the template or your workspace default.",
            "example": "support@example.com"
          },
          "headers": {
            "x-scalar-ignore": true,
            "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
            "type": "string",
            "format": "json",
            "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
          },
          "identifiers": {
            "description": "Identifies the person represented by your transactional message by one of, and only one of, `id`, `email`, or `cio_id`.",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "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",
                    "example": 12345
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "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`.",
                    "example": "cool.person@example.com"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "type": "string",
                    "description": "A unique, immutable identifier for a person, set by Customer.io when you add a person.",
                    "example": 3000001
                  }
                }
              }
            ]
          },
          "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](/journeys/channels/localization/getting-started/#supported-languages)."
          },
          "message_data": {
            "type": "object",
            "description": "An object containing the key-value pairs referenced using liquid in your message.",
            "additionalProperties": {
              "x-additionalPropertiesName": "Liquid Data",
              "description": "Insert key-values that you want to reference in your message here."
            },
            "example": {
              "password_reset_token": "abcde-12345-fghij-d888",
              "account_id": "123dj"
            }
          },
          "preheader": {
            "x-scalar-ignore": true,
            "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."
          },
          "queue_draft": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "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.",
            "default": false
          },
          "reply_to": {
            "type": "string",
            "description": "The address that recipients can reply to, if different from the `from` address.",
            "example": "replyto@example.com"
          },
          "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."
          },
          "send_to_unsubscribed": {
            "x-scalar-ignore": true,
            "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`."
          },
          "subject": {
            "type": "string",
            "description": "The subject line for your message. If you provide `transactional_message_id`, this overrides the template's subject.",
            "example": "Reset your password!"
          },
          "tracked": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "description": "If true, Customer.io tracks opens and link clicks in your message.",
            "default": true
          },
          "transactional_message_id": {
            "description": "The transactional message template you want to use. You can call the template by its numerical ID or by the *Trigger Name* that you assigned to the template in the UI (case insensitive).",
            "oneOf": [
              {
                "title": "ID (integer)",
                "type": "integer",
                "description": "The ID of the transactional message you want to send.",
                "example": 44
              },
              {
                "title": "Trigger Name (string)",
                "type": "string",
                "description": "The name of trigger for the transactional message you want to send. You set the trigger name in the **Configure Settings** step in the UI when setting up your message. This is case insensitive.",
                "example": "pwdreset"
              }
            ]
          }
        },
        "required": [
          "to"
        ]
      },
      "sendsms": {
        "x-scalar-ignore": true,
        "example": {
          "identifiers": {
            "id": "123456"
          },
          "to": "+15559876543",
          "transactional_message_id": "confirmation code",
          "from": "+15551234567",
          "message_data": {
            "confirmation_code": "123456",
            "account_name": "Jane Doe"
          }
        },
        "properties": {
          "identifiers": {
            "description": "Identifies the person represented by your transactional message by one of, and only one of, `id`, `email`, or `cio_id`.",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "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",
                    "example": 12345
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "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`.",
                    "example": "cool.person@example.com"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "type": "string",
                    "description": "A unique, immutable identifier for a person, set by Customer.io when you add a person.",
                    "example": 3000001
                  }
                }
              }
            ]
          },
          "to": {
            "type": "string",
            "description": "The phone number you want to send your SMS to. Use E.164 format, like `+15551234567`, or Liquid if you store phone numbers as attributes.",
            "example": "{{customer.phone}}"
          },
          "transactional_message_id": {
            "description": "The transactional message template that you want to use for your message. You can call the template by its numerical ID or by the *Trigger Name* that you assigned to the template in the UI (case insensitive).",
            "oneOf": [
              {
                "title": "ID (integer)",
                "type": "integer",
                "description": "The ID of the transactional message you want to send.",
                "example": 44
              },
              {
                "title": "Trigger Name (string)",
                "type": "string",
                "description": "The name of trigger for the transactional message you want to send; you set the trigger name in the *Configure Settings* step when setting up your message. This is case insensitive.",
                "example": "verification_code"
              }
            ]
          },
          "auto_create": {
            "type": "boolean",
            "default": false,
            "description": "If `true` and your `transactional_message_id` doesn't match a record, Customer.io creates an empty record using that value as the *Trigger Name*. The ID must be a string. If the name already belongs to another channel, the request fails with `400`, and numeric IDs ignore this setting. See [details](/journeys/transactional-email/#auto-create-transactional-message-records)."
          },
          "disable_message_retention": {
            "x-scalar-ignore": true,
            "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`."
          },
          "from": {
            "type": "string",
            "description": "The phone number or sender ID your SMS is from. It must be verified in your Twilio account. This overrides the template's sender. Use E.164 format for a phone number.",
            "example": "+15551234567"
          },
          "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](/journeys/channels/localization/getting-started/#supported-languages)."
          },
          "message_data": {
            "type": "object",
            "description": "An object containing the key-value pairs referenced using liquid in your message.",
            "additionalProperties": {
              "x-additionalPropertiesName": "Liquid Data",
              "description": "Insert key-values that you want to reference in your message here."
            },
            "example": {
              "password_reset_token": "abcde-12345-fghij-d888",
              "account_id": "123dj"
            }
          },
          "queue_draft": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "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.",
            "default": false
          },
          "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."
          },
          "send_to_unsubscribed": {
            "x-scalar-ignore": true,
            "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`."
          },
          "tracked": {
            "type": "boolean",
            "default": true,
            "description": "Whether to track link clicks for this SMS. Defaults to the transactional message's own tracking setting."
          }
        },
        "required": [
          "transactional_message_id",
          "identifiers",
          "to"
        ]
      },
      "sendwhatsapp": {
        "x-scalar-ignore": true,
        "example": {
          "identifiers": {
            "id": "123456"
          },
          "to": "+15559876543",
          "transactional_message_id": "confirmation code",
          "from": "+15551234567",
          "message_data": {
            "confirmation_code": "123456",
            "account_name": "Jane Doe"
          }
        },
        "properties": {
          "identifiers": {
            "description": "Identifies the person represented by your transactional message by one of, and only one of, `id`, `email`, or `cio_id`.",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "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",
                    "example": 12345
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "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`.",
                    "example": "cool.person@example.com"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "type": "string",
                    "description": "A unique, immutable identifier for a person, set by Customer.io when you add a person.",
                    "example": 3000001
                  }
                }
              }
            ]
          },
          "to": {
            "type": "string",
            "description": "The WhatsApp phone number you want to send your message to. Use E.164 format, like `+15551234567`, or Liquid if you store phone numbers as attributes. The recipient must be able to receive WhatsApp messages.",
            "example": "{{customer.phone}}"
          },
          "transactional_message_id": {
            "description": "The transactional message template that you want to use for your message. You can call the template by its numerical ID or by the *Trigger Name* that you assigned to the template in the UI (case insensitive).",
            "oneOf": [
              {
                "title": "ID (integer)",
                "type": "integer",
                "description": "The ID of the transactional message you want to send.",
                "example": 44
              },
              {
                "title": "Trigger Name (string)",
                "type": "string",
                "description": "The name of trigger for the transactional message you want to send; you set the trigger name in the *Configure Settings* step when setting up your message. This is case insensitive.",
                "example": "verification_code"
              }
            ]
          },
          "disable_message_retention": {
            "x-scalar-ignore": true,
            "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`."
          },
          "from": {
            "type": "string",
            "description": "The WhatsApp-approved sender (phone number or sender ID) that your message is from. It must be a WhatsApp-approved sender configured in your workspace. This overrides the template's sender. Use E.164 format for a phone number.",
            "example": "+15551234567"
          },
          "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](/messaging/channels/localization/getting-started/#supported-languages)."
          },
          "message_data": {
            "type": "object",
            "description": "An object containing the key-value pairs referenced using liquid in your message.",
            "additionalProperties": {
              "x-additionalPropertiesName": "Liquid Data",
              "description": "Insert key-values that you want to reference in your message here."
            },
            "example": {
              "password_reset_token": "abcde-12345-fghij-d888",
              "account_id": "123dj"
            }
          },
          "queue_draft": {
            "x-scalar-ignore": true,
            "type": "boolean",
            "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.",
            "default": false
          },
          "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."
          },
          "send_to_unsubscribed": {
            "x-scalar-ignore": true,
            "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`."
          },
          "tracked": {
            "type": "boolean",
            "default": true,
            "description": "Whether to track link clicks for this WhatsApp message. Defaults to the transactional message's own tracking setting."
          }
        },
        "required": [
          "transactional_message_id",
          "identifiers",
          "to"
        ]
      },
      "transactionalObject": {
        "x-scalar-ignore": true,
        "description": "Contains information about a transactional message.",
        "type": "object",
        "properties": {
          "created_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "description": "A description of the transactional message.",
            "example": "sends a temporary password and lets the customer reset their password."
          },
          "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."
          },
          "id": {
            "type": "integer",
            "description": "The identifier Customer.io assigned to the transactional message",
            "example": 2
          },
          "link_tracking": {
            "type": "boolean",
            "description": "If true, link tracking is enabled for this message."
          },
          "name": {
            "type": "string",
            "description": "The name you set for the transactional message.",
            "example": "password reset"
          },
          "open_tracking": {
            "type": "boolean",
            "description": "If true, open-tracking is enabled for this 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."
          },
          "send_to_unsubscribed": {
            "type": "boolean",
            "description": "If true, people with an `unsubscribed` attribute set to `true` can trigger the message."
          },
          "updated_at": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        }
      },
      "updateContentRequest": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "x-scalar-ignore": true,
            "title": "Email",
            "description": "Update the contents of an email one-time send variant. You can set the sender with `from_id`. If you don't provide it, the existing sender is preserved.\n",
            "properties": {
              "type": {
                "x-scalar-ignore": true,
                "description": "Channel type for a one-time send or one-time send content variant.",
                "type": "string",
                "enum": [
                  "email"
                ],
                "readOnly": true,
                "example": "email"
              },
              "body": {
                "type": "string",
                "description": "The HTML body of the email. You cannot modify the body if you created the one-time send with Design Studio or the drag-and-drop editor."
              },
              "body_amp": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
              },
              "body_plain": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "By default, your workspace generates a plaintext version of your message body for each delivery. Use this key to override the default plain text body."
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "from_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 1
              },
              "preheader_text": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
              },
              "recipient": {
                "type": "string",
                "description": "The recipient address for the one-time send. By default, it's `{{customer.email}}`."
              },
              "reply_to_id": {
                "x-scalar-ignore": true,
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 38
              },
              "subject": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The subject line for an `email` action.",
                "example": "Did you get that thing I sent you?"
              }
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "SMS",
            "description": "Update the contents of an SMS one-time send variant.",
            "properties": {
              "type": {
                "x-scalar-ignore": true,
                "description": "Channel type for a one-time send or one-time send content variant.",
                "type": "string",
                "enum": [
                  "twilio"
                ],
                "readOnly": true,
                "example": "email"
              },
              "body": {
                "type": "string",
                "description": "The body of the SMS message.",
                "example": "Hi {{ customer.first_name }}, check out our latest deals!"
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              }
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "Push",
            "description": "Update the contents of a push notification one-time send variant.",
            "properties": {
              "type": {
                "x-scalar-ignore": true,
                "description": "Channel type for a one-time send or one-time send content variant.",
                "type": "string",
                "enum": [
                  "push"
                ],
                "readOnly": true,
                "example": "email"
              },
              "body": {
                "type": "string",
                "description": "The body of the push notification.",
                "example": "Get 30% off everything. Tap to shop now."
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "subject": {
                "type": "string",
                "description": "The title of the push notification.",
                "example": "24-hour flash sale!"
              }
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "Webhook",
            "description": "Update the contents of a webhook one-time send variant.",
            "properties": {
              "type": {
                "x-scalar-ignore": true,
                "description": "Channel type for a one-time send or one-time send content variant.",
                "type": "string",
                "enum": [
                  "webhook"
                ],
                "readOnly": true,
                "example": "email"
              },
              "body": {
                "type": "string",
                "description": "The body content of the webhook request.",
                "example": "{\"channel\":\"#marketing\",\"text\":\"One-time send sent to {{ customer.email }}\"}"
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "headers": {
                "x-scalar-ignore": true,
                "description": "Headers you want to add or update. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "The name of the header."
                    },
                    "value": {
                      "type": "string",
                      "description": "The value of the header."
                    }
                  },
                  "example": [
                    {
                      "name": "X-Mailgun-Tag",
                      "value": "my-cool-tag"
                    }
                  ]
                }
              }
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "In-App",
            "description": "You can't update in-app message content through the API—you can only set it when you [create the message](/integrations/api/app/tag/newsletters/createNewsletter/). Use the message editor to update the content of your message.\n",
            "properties": {
              "type": {
                "x-scalar-ignore": true,
                "description": "Channel type for a one-time send or one-time send content variant.",
                "type": "string",
                "enum": [
                  "in_app"
                ],
                "readOnly": true,
                "example": "email"
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              }
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "Inbox message",
            "description": "You can't update inbox message content through the API—you can only set it when you [create the message](/integrations/api/app/tag/newsletters/createNewsletter/). Use the message editor to update the content of your inbox message.\n",
            "properties": {
              "type": {
                "x-scalar-ignore": true,
                "description": "Channel type for a one-time send or one-time send content variant.",
                "type": "string",
                "enum": [
                  "inbox"
                ],
                "readOnly": true,
                "example": "email"
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              }
            }
          }
        ],
        "discriminator": {
          "propertyName": "type"
        }
      },
      "updateContentCommon": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "email",
              "webhook",
              "twilio",
              "push",
              "in_app",
              "inbox"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "updateEmailContent": {
        "x-scalar-ignore": true,
        "title": "Email",
        "description": "Update the contents of an email one-time send variant. You can set the sender with `from_id`. If you don't provide it, the existing sender is preserved.\n",
        "properties": {
          "body": {
            "type": "string",
            "description": "The HTML body of the email. You cannot modify the body if you created the one-time send with Design Studio or the drag-and-drop editor."
          },
          "body_amp": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
          },
          "body_plain": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "By default, your workspace generates a plaintext version of your message body for each delivery. Use this key to override the default plain text body."
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "from_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 1
          },
          "preheader_text": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
          },
          "recipient": {
            "type": "string",
            "description": "The recipient address for the one-time send. By default, it's `{{customer.email}}`."
          },
          "reply_to_id": {
            "x-scalar-ignore": true,
            "type": [
              "integer",
              "null"
            ],
            "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 38
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "email"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "updateSmsContent": {
        "x-scalar-ignore": true,
        "title": "SMS",
        "description": "Update the contents of an SMS one-time send variant.",
        "properties": {
          "body": {
            "type": "string",
            "description": "The body of the SMS message.",
            "example": "Hi {{ customer.first_name }}, check out our latest deals!"
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "twilio"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "updatePushContent": {
        "x-scalar-ignore": true,
        "title": "Push",
        "description": "Update the contents of a push notification one-time send variant.",
        "properties": {
          "body": {
            "type": "string",
            "description": "The body of the push notification.",
            "example": "Get 30% off everything. Tap to shop now."
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "subject": {
            "type": "string",
            "description": "The title of the push notification.",
            "example": "24-hour flash sale!"
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "push"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "updateInAppContent": {
        "x-scalar-ignore": true,
        "title": "In-App",
        "description": "You can't update in-app message content through the API—you can only set it when you [create the message](/integrations/api/app/tag/newsletters/createNewsletter/). Use the message editor to update the content of your message.\n",
        "properties": {
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "in_app"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "updateInboxContent": {
        "x-scalar-ignore": true,
        "title": "Inbox message",
        "description": "You can't update inbox message content through the API—you can only set it when you [create the message](/integrations/api/app/tag/newsletters/createNewsletter/). Use the message editor to update the content of your inbox message.\n",
        "properties": {
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "inbox"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "updateWebhookContent": {
        "x-scalar-ignore": true,
        "title": "Webhook",
        "description": "Update the contents of a webhook one-time send variant.",
        "properties": {
          "body": {
            "type": "string",
            "description": "The body content of the webhook request.",
            "example": "{\"channel\":\"#marketing\",\"text\":\"One-time send sent to {{ customer.email }}\"}"
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "headers": {
            "x-scalar-ignore": true,
            "description": "Headers you want to add or update. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The name of the header."
                },
                "value": {
                  "type": "string",
                  "description": "The value of the header."
                }
              },
              "example": [
                {
                  "name": "X-Mailgun-Tag",
                  "value": "my-cool-tag"
                }
              ]
            }
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "webhook"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "getContentObject": {
        "x-scalar-ignore": true,
        "properties": {
          "bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The blind-copy address(es) for this action.",
            "type": "string"
          },
          "body": {
            "type": "string",
            "description": "The body of the variant. You cannot modify the body if you created it with our drag-and-drop editor.",
            "example": "<strong>Hello from the API</strong>"
          },
          "body_amp": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
          },
          "cc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The carbon-copy address(es) for this action.",
            "type": "string"
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "fake_bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "type": "boolean",
            "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
          },
          "from": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that the message is from, relevant if the action `type` is `email`.",
            "readOnly": true,
            "example": "sentFrom@example.com"
          },
          "from_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 1
          },
          "headers": {
            "x-scalar-ignore": true,
            "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
            "type": "string",
            "format": "json",
            "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
          },
          "id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier of a one-time send variant—a language in a multi-language one-time send or a test in an A/B test.",
            "readOnly": true
          },
          "language": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
            "example": "fr",
            "readOnly": true
          },
          "layout": {
            "type": "string",
            "description": "The layout used for the variant, if it exists.",
            "example": "<html><body>{{ content }}</body></html>",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "description": "The name of the variant, if it exists.",
            "readOnly": true,
            "example": "one-time send variant A"
          },
          "newsletter_id": {
            "x-scalar-ignore": true,
            "description": "The identifier for a one-time send.",
            "type": "integer",
            "example": 10
          },
          "preheader_text": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
          },
          "preprocessor": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
            "enum": [
              "premailer"
            ],
            "readOnly": true
          },
          "recipient": {
            "x-scalar-ignore": true,
            "description": "The recipient address for an action.",
            "type": "string",
            "example": "{{customer.email}}"
          },
          "reply_to": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that receives replies for the message, if applicable.",
            "readOnly": true,
            "example": "replyto@example.com"
          },
          "reply_to_id": {
            "x-scalar-ignore": true,
            "type": [
              "integer",
              "null"
            ],
            "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 38
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "email",
              "webhook",
              "twilio",
              "push",
              "in_app",
              "inbox"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "contentObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The blind-copy address(es) for this action.",
            "type": "string"
          },
          "body": {
            "type": "string",
            "description": "The body of the variant. You cannot modify the body if you created it with our drag-and-drop editor.",
            "example": "<strong>Hello from the API</strong>"
          },
          "body_amp": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
          },
          "cc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The carbon-copy address(es) for this action.",
            "type": "string"
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "fake_bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "type": "boolean",
            "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
          },
          "from": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that the message is from, relevant if the action `type` is `email`.",
            "readOnly": true,
            "example": "sentFrom@example.com"
          },
          "from_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 1
          },
          "id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier of a one-time send variant—a language in a multi-language one-time send or a test in an A/B test.",
            "readOnly": true
          },
          "language": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
            "example": "fr",
            "readOnly": true
          },
          "layout": {
            "type": "string",
            "description": "The layout used for the variant, if it exists.",
            "example": "<html><body>{{ content }}</body></html>",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "description": "The name of the variant, if it exists.",
            "readOnly": true,
            "example": "one-time send variant A"
          },
          "newsletter_id": {
            "x-scalar-ignore": true,
            "description": "The identifier for a one-time send.",
            "type": "integer",
            "example": 10
          },
          "preheader_text": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
          },
          "preprocessor": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
            "enum": [
              "premailer"
            ],
            "readOnly": true
          },
          "recipient": {
            "x-scalar-ignore": true,
            "description": "The recipient address for an action.",
            "type": "string",
            "example": "{{customer.email}}"
          },
          "reply_to": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that receives replies for the message, if applicable.",
            "readOnly": true,
            "example": "replyto@example.com"
          },
          "reply_to_id": {
            "x-scalar-ignore": true,
            "type": [
              "integer",
              "null"
            ],
            "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 38
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "email",
              "webhook",
              "twilio",
              "push",
              "in_app",
              "inbox"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "action_id": {
        "x-scalar-ignore": true,
        "description": "The identifier for an action.",
        "type": "integer",
        "readOnly": true,
        "example": 96
      },
      "campaign_id": {
        "x-scalar-ignore": true,
        "description": "The identifier for an automation.",
        "type": "integer",
        "example": 5
      },
      "message_id": {
        "x-scalar-ignore": true,
        "description": "The identifier for a delivery—the instance of a message intended for an individual recipient.",
        "type": "string",
        "readOnly": true,
        "example": "dgOq6QWq6QUBAAF4_CGoeVX7mFkDbRFu7ek="
      },
      "message_template_id": {
        "x-scalar-ignore": true,
        "description": "The identifier of the message template used to create a message.",
        "type": "integer",
        "readOnly": true,
        "deprecated": true
      },
      "recipient": {
        "x-scalar-ignore": true,
        "description": "The recipient address for an action.",
        "type": "string",
        "example": "{{customer.email}}"
      },
      "recipient_not_templated": {
        "x-scalar-ignore": true,
        "description": "The recipient address for an action.",
        "type": "string",
        "example": "test@example.com"
      },
      "subject": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The subject line for an `email` action.",
        "example": "Did you get that thing I sent you?"
      },
      "newsletter_id": {
        "x-scalar-ignore": true,
        "description": "The identifier for a one-time send.",
        "type": "integer",
        "example": 10
      },
      "content_id": {
        "x-scalar-ignore": true,
        "description": "The identifier for a message in a one-time send. One-time sends can have multiple content IDs (for multi-language messages or A/B tests).",
        "type": "integer",
        "readOnly": true,
        "example": 1
      },
      "newsletterMessageType": {
        "x-scalar-ignore": true,
        "description": "Channel type for a one-time send or one-time send content variant.",
        "type": "string",
        "enum": [
          "email",
          "webhook",
          "twilio",
          "push",
          "in_app",
          "inbox"
        ],
        "readOnly": true,
        "example": "email"
      },
      "messageType": {
        "x-scalar-ignore": true,
        "description": "The type of message or action for a delivery, automation action, or related object. Includes channels that one-time sends do not support (for example, `slack` and `whatsapp`).",
        "type": "string",
        "enum": [
          "email",
          "webhook",
          "twilio",
          "push",
          "in_app",
          "slack",
          "whatsapp",
          "live_notification"
        ],
        "readOnly": true,
        "example": "email"
      },
      "from": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The address that the message is from, relevant if the action `type` is `email`.",
        "readOnly": true,
        "example": "sentFrom@example.com"
      },
      "from_id": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
        "example": 1
      },
      "reply_to": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The address that receives replies for the message, if applicable.",
        "readOnly": true,
        "example": "replyto@example.com"
      },
      "reply_to_settable": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The address that receives replies for the message, if applicable.",
        "example": "replyto@example.com"
      },
      "from_address": {
        "x-scalar-ignore": true,
        "type": "string",
        "format": "email",
        "description": "The address you want to trigger messages from, overriding the `from` field in emails triggered by the event."
      },
      "reply_to_id": {
        "x-scalar-ignore": true,
        "type": [
          "integer",
          "null"
        ],
        "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
        "example": 38
      },
      "preprocessor": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
        "enum": [
          "premailer"
        ],
        "readOnly": true
      },
      "cc": {
        "x-scalar-ignore": true,
        "readOnly": true,
        "description": "The carbon-copy address(es) for this action.",
        "type": "string"
      },
      "bcc": {
        "x-scalar-ignore": true,
        "readOnly": true,
        "description": "The blind-copy address(es) for this action.",
        "type": "string"
      },
      "fake_bcc": {
        "x-scalar-ignore": true,
        "readOnly": true,
        "type": "boolean",
        "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
      },
      "preheader_text": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
      },
      "trigger_event_id": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
      },
      "body_amp": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
      },
      "language": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
        "example": "fr",
        "readOnly": true
      },
      "messageObjectBase": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Describes an individual message delivery. The object contains keys for all possible parents of the message (`newsletter_id`, `broadcast_id`, etc) but only the parents of the delivery are populated. Other parent IDs are null.",
        "properties": {
          "action_id": {
            "x-scalar-ignore": true,
            "description": "The identifier for an action.",
            "type": "integer",
            "readOnly": true,
            "example": 96
          },
          "broadcast_id": {
            "oneOf": [
              {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              {
                "type": "null"
              }
            ]
          },
          "campaign_id": {
            "oneOf": [
              {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              {
                "type": "null"
              }
            ]
          },
          "content_id": {
            "x-scalar-ignore": true,
            "description": "The identifier for a message in a one-time send. One-time sends can have multiple content IDs (for multi-language messages or A/B tests).",
            "type": "integer",
            "readOnly": true,
            "example": 1
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "customer_id": {
            "x-scalar-ignore": true,
            "type": [
              "string",
              "null"
            ],
            "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.",
            "example": "42"
          },
          "customer_identifiers": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "Identifiers for the person in a response—`id`, `cio_id`, and `email`. Unset `id` or `email` values are `null`. We recommend this object over the less descriptive `customer_id`. This object doesn't include `phone`, even if your workspace uses phone numbers as an identifier; look for the person's `phone` attribute instead.",
            "required": [
              "email",
              "id",
              "cio_id"
            ],
            "properties": {
              "cio_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                "example": "a3000001"
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "email",
                "description": "A person's email address, if set.",
                "example": "test@example.com"
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "A person's unique ID, if set. This is the same as the `customer_id` if present.",
                "example": 2
              }
            }
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "failure_message": {
            "type": [
              "string",
              "null"
            ],
            "description": "Explains why a message failed, if applicable."
          },
          "forgotten": {
            "type": "boolean",
            "description": "If true message contents are not retained by Customer.io."
          },
          "id": {
            "x-scalar-ignore": true,
            "description": "The identifier for a delivery—the instance of a message intended for an individual recipient.",
            "type": "string",
            "readOnly": true,
            "example": "dgOq6QWq6QUBAAF4_CGoeVX7mFkDbRFu7ek="
          },
          "message_template_id": {
            "x-scalar-ignore": true,
            "description": "The identifier of the message template used to create a message.",
            "type": "integer",
            "readOnly": true,
            "deprecated": true
          },
          "metrics": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "Metrics for an individual instance of a message; each item in the object represents the timestamp when a message achieved a particular metric. This object only contains metrics that have been recorded.",
            "properties": {
              "bounced": {
                "type": "integer",
                "description": "The timestamp when the message `bounced`."
              },
              "clicked": {
                "type": "integer",
                "description": "The timestamp when the message was `clicked`."
              },
              "converted": {
                "type": "integer",
                "description": "The timestamp when the message was `converted`."
              },
              "created": {
                "type": "integer",
                "description": "The timestamp when the message was `created`."
              },
              "delivered": {
                "type": "integer",
                "description": "The timestamp when the message was `delivered`."
              },
              "drafted": {
                "type": "integer",
                "description": "The timestamp when the message was `drafted`."
              },
              "dropped": {
                "type": "integer",
                "description": "The timestamp when the message was `dropped`."
              },
              "failed": {
                "type": "integer",
                "description": "The timestamp when the message `failed`."
              },
              "human_clicked": {
                "type": "integer",
                "description": "The number of `clicked` messages excluding machine clicks. This metric is reliable starting April 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
              },
              "human_opened": {
                "type": "integer",
                "description": "The number of `opened` messages excluding machine opens. This metric is reliable starting March 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
              },
              "opened": {
                "type": "integer",
                "description": "The timestamp when the message was `opened`."
              },
              "prefetch_clicked": {
                "type": "integer",
                "description": "The number of `clicked` messages attributed to machines. This metric is reliable starting April 20, 2025."
              },
              "prefetch_opened": {
                "type": "integer",
                "description": "The number of `opened` messages attributed to machines. This metric is reliable starting March 20, 2025."
              },
              "sent": {
                "type": "integer",
                "description": "The timestamp when the message was `sent`."
              },
              "spammed": {
                "type": "integer",
                "description": "The timestamp when the message was marked as spam."
              },
              "undeliverable": {
                "type": "integer",
                "description": "The timestamp when the message became `undeliverable`."
              },
              "unsubscribed": {
                "type": "integer",
                "description": "The timestamp when a person unsubscribed based on this message."
              }
            }
          },
          "newsletter_id": {
            "oneOf": [
              {
                "x-scalar-ignore": true,
                "description": "The identifier for a one-time send.",
                "type": "integer",
                "example": 10
              },
              {
                "type": "null"
              }
            ]
          },
          "parent_action_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
            "example": 1,
            "readOnly": true
          },
          "recipient": {
            "x-scalar-ignore": true,
            "description": "The recipient address for an action.",
            "type": "string",
            "example": "{{customer.email}}"
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "tracked_responses": {
            "type": "object",
            "description": "Tracked in-app survey responses, keyed by response option name. Present only when `get_tracked_responses` is `true`.",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "The identifier for the tracked response."
                },
                "ts": {
                  "type": "integer",
                  "description": "A unix timestamp representing when the response was tracked."
                }
              }
            },
            "example": {
              "cool-button": {
                "id": 1,
                "ts": 1715769600
              },
              "cool-button-2": {
                "id": 2,
                "ts": 1715769600
              }
            }
          },
          "trigger_event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
          }
        }
      },
      "messageObject": {
        "x-scalar-ignore": true,
        "description": "Describes an individual message delivery. The object contains keys for all possible parents of the message (`newsletter_id`, `broadcast_id`, etc) but only the parents of the delivery are populated. Other parent IDs are null.",
        "example": {
          "action_id": 215,
          "broadcast_id": null,
          "campaign_id": 23,
          "content_id": null,
          "created": 1619137767,
          "customer_id": null,
          "deduplicate_id": "ag1q6QWq6QUBAAF4_CGoeVX7mFkDbRFu7ek=:1619137768",
          "failure_message": null,
          "forgotten": false,
          "id": "ag1q6QWq6QUBAAF4_CGoeVX7mFkDbRFu7ek=",
          "metrics": {
            "delivered": 1619137768,
            "sent": 1619137768
          },
          "newsletter_id": null,
          "parent_action_id": null,
          "recipient": "person@example.com",
          "subject": "Did you get that thing I sent you?",
          "trigger_event_id": null,
          "type": "email",
          "msg_template_id": 43
        },
        "properties": {
          "action_id": {
            "x-scalar-ignore": true,
            "description": "The identifier for an action.",
            "type": "integer",
            "readOnly": true,
            "example": 96
          },
          "broadcast_id": {
            "oneOf": [
              {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              {
                "type": "null"
              }
            ]
          },
          "campaign_id": {
            "oneOf": [
              {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              {
                "type": "null"
              }
            ]
          },
          "content_id": {
            "x-scalar-ignore": true,
            "description": "The identifier for a message in a one-time send. One-time sends can have multiple content IDs (for multi-language messages or A/B tests).",
            "type": "integer",
            "readOnly": true,
            "example": 1
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "customer_id": {
            "x-scalar-ignore": true,
            "type": [
              "string",
              "null"
            ],
            "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.",
            "example": "42"
          },
          "customer_identifiers": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "Identifiers for the person in a response—`id`, `cio_id`, and `email`. Unset `id` or `email` values are `null`. We recommend this object over the less descriptive `customer_id`. This object doesn't include `phone`, even if your workspace uses phone numbers as an identifier; look for the person's `phone` attribute instead.",
            "required": [
              "email",
              "id",
              "cio_id"
            ],
            "properties": {
              "cio_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                "example": "a3000001"
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "email",
                "description": "A person's email address, if set.",
                "example": "test@example.com"
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "A person's unique ID, if set. This is the same as the `customer_id` if present.",
                "example": 2
              }
            }
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "failure_message": {
            "type": [
              "string",
              "null"
            ],
            "description": "Explains why a message failed, if applicable."
          },
          "forgotten": {
            "type": "boolean",
            "description": "If true message contents are not retained by Customer.io."
          },
          "id": {
            "x-scalar-ignore": true,
            "description": "The identifier for a delivery—the instance of a message intended for an individual recipient.",
            "type": "string",
            "readOnly": true,
            "example": "dgOq6QWq6QUBAAF4_CGoeVX7mFkDbRFu7ek="
          },
          "message_template_id": {
            "x-scalar-ignore": true,
            "description": "The identifier of the message template used to create a message.",
            "type": "integer",
            "readOnly": true,
            "deprecated": true
          },
          "metrics": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "Metrics for an individual instance of a message; each item in the object represents the timestamp when a message achieved a particular metric. This object only contains metrics that have been recorded.",
            "properties": {
              "bounced": {
                "type": "integer",
                "description": "The timestamp when the message `bounced`."
              },
              "clicked": {
                "type": "integer",
                "description": "The timestamp when the message was `clicked`."
              },
              "converted": {
                "type": "integer",
                "description": "The timestamp when the message was `converted`."
              },
              "created": {
                "type": "integer",
                "description": "The timestamp when the message was `created`."
              },
              "delivered": {
                "type": "integer",
                "description": "The timestamp when the message was `delivered`."
              },
              "drafted": {
                "type": "integer",
                "description": "The timestamp when the message was `drafted`."
              },
              "dropped": {
                "type": "integer",
                "description": "The timestamp when the message was `dropped`."
              },
              "failed": {
                "type": "integer",
                "description": "The timestamp when the message `failed`."
              },
              "human_clicked": {
                "type": "integer",
                "description": "The number of `clicked` messages excluding machine clicks. This metric is reliable starting April 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
              },
              "human_opened": {
                "type": "integer",
                "description": "The number of `opened` messages excluding machine opens. This metric is reliable starting March 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
              },
              "opened": {
                "type": "integer",
                "description": "The timestamp when the message was `opened`."
              },
              "prefetch_clicked": {
                "type": "integer",
                "description": "The number of `clicked` messages attributed to machines. This metric is reliable starting April 20, 2025."
              },
              "prefetch_opened": {
                "type": "integer",
                "description": "The number of `opened` messages attributed to machines. This metric is reliable starting March 20, 2025."
              },
              "sent": {
                "type": "integer",
                "description": "The timestamp when the message was `sent`."
              },
              "spammed": {
                "type": "integer",
                "description": "The timestamp when the message was marked as spam."
              },
              "undeliverable": {
                "type": "integer",
                "description": "The timestamp when the message became `undeliverable`."
              },
              "unsubscribed": {
                "type": "integer",
                "description": "The timestamp when a person unsubscribed based on this message."
              }
            }
          },
          "newsletter_id": {
            "oneOf": [
              {
                "x-scalar-ignore": true,
                "description": "The identifier for a one-time send.",
                "type": "integer",
                "example": 10
              },
              {
                "type": "null"
              }
            ]
          },
          "parent_action_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
            "example": 1,
            "readOnly": true
          },
          "recipient": {
            "x-scalar-ignore": true,
            "description": "The recipient address for an action.",
            "type": "string",
            "example": "{{customer.email}}"
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "tracked_responses": {
            "type": "object",
            "description": "Tracked in-app survey responses, keyed by response option name. Present only when `get_tracked_responses` is `true`.",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "The identifier for the tracked response."
                },
                "ts": {
                  "type": "integer",
                  "description": "A unix timestamp representing when the response was tracked."
                }
              }
            },
            "example": {
              "cool-button": {
                "id": 1,
                "ts": 1715769600
              },
              "cool-button-2": {
                "id": 2,
                "ts": 1715769600
              }
            }
          },
          "trigger_event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "The type of message or action for a delivery, automation action, or related object. Includes channels that one-time sends do not support (for example, `slack` and `whatsapp`).",
            "type": "string",
            "enum": [
              "email",
              "webhook",
              "twilio",
              "push",
              "in_app",
              "slack",
              "whatsapp",
              "live_notification"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "newsletterMessageObject": {
        "x-scalar-ignore": true,
        "description": "Each object is a delivery of a one-time send.",
        "properties": {
          "action_id": {
            "x-scalar-ignore": true,
            "description": "The identifier for an action.",
            "type": "integer",
            "readOnly": true,
            "example": 96
          },
          "broadcast_id": {
            "oneOf": [
              {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              {
                "type": "null"
              }
            ]
          },
          "campaign_id": {
            "oneOf": [
              {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              {
                "type": "null"
              }
            ]
          },
          "content_id": {
            "x-scalar-ignore": true,
            "description": "The identifier for a message in a one-time send. One-time sends can have multiple content IDs (for multi-language messages or A/B tests).",
            "type": "integer",
            "readOnly": true,
            "example": 1
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "customer_id": {
            "x-scalar-ignore": true,
            "type": [
              "string",
              "null"
            ],
            "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.",
            "example": "42"
          },
          "customer_identifiers": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "Identifiers for the person in a response—`id`, `cio_id`, and `email`. Unset `id` or `email` values are `null`. We recommend this object over the less descriptive `customer_id`. This object doesn't include `phone`, even if your workspace uses phone numbers as an identifier; look for the person's `phone` attribute instead.",
            "required": [
              "email",
              "id",
              "cio_id"
            ],
            "properties": {
              "cio_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                "example": "a3000001"
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "email",
                "description": "A person's email address, if set.",
                "example": "test@example.com"
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "A person's unique ID, if set. This is the same as the `customer_id` if present.",
                "example": 2
              }
            }
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "failure_message": {
            "type": [
              "string",
              "null"
            ],
            "description": "Explains why a message failed, if applicable."
          },
          "forgotten": {
            "type": "boolean",
            "description": "If true message contents are not retained by Customer.io."
          },
          "id": {
            "x-scalar-ignore": true,
            "description": "The identifier for a delivery—the instance of a message intended for an individual recipient.",
            "type": "string",
            "readOnly": true,
            "example": "dgOq6QWq6QUBAAF4_CGoeVX7mFkDbRFu7ek="
          },
          "message_template_id": {
            "x-scalar-ignore": true,
            "description": "The identifier of the message template used to create a message.",
            "type": "integer",
            "readOnly": true,
            "deprecated": true
          },
          "metrics": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "Metrics for an individual instance of a message; each item in the object represents the timestamp when a message achieved a particular metric. This object only contains metrics that have been recorded.",
            "properties": {
              "bounced": {
                "type": "integer",
                "description": "The timestamp when the message `bounced`."
              },
              "clicked": {
                "type": "integer",
                "description": "The timestamp when the message was `clicked`."
              },
              "converted": {
                "type": "integer",
                "description": "The timestamp when the message was `converted`."
              },
              "created": {
                "type": "integer",
                "description": "The timestamp when the message was `created`."
              },
              "delivered": {
                "type": "integer",
                "description": "The timestamp when the message was `delivered`."
              },
              "drafted": {
                "type": "integer",
                "description": "The timestamp when the message was `drafted`."
              },
              "dropped": {
                "type": "integer",
                "description": "The timestamp when the message was `dropped`."
              },
              "failed": {
                "type": "integer",
                "description": "The timestamp when the message `failed`."
              },
              "human_clicked": {
                "type": "integer",
                "description": "The number of `clicked` messages excluding machine clicks. This metric is reliable starting April 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
              },
              "human_opened": {
                "type": "integer",
                "description": "The number of `opened` messages excluding machine opens. This metric is reliable starting March 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
              },
              "opened": {
                "type": "integer",
                "description": "The timestamp when the message was `opened`."
              },
              "prefetch_clicked": {
                "type": "integer",
                "description": "The number of `clicked` messages attributed to machines. This metric is reliable starting April 20, 2025."
              },
              "prefetch_opened": {
                "type": "integer",
                "description": "The number of `opened` messages attributed to machines. This metric is reliable starting March 20, 2025."
              },
              "sent": {
                "type": "integer",
                "description": "The timestamp when the message was `sent`."
              },
              "spammed": {
                "type": "integer",
                "description": "The timestamp when the message was marked as spam."
              },
              "undeliverable": {
                "type": "integer",
                "description": "The timestamp when the message became `undeliverable`."
              },
              "unsubscribed": {
                "type": "integer",
                "description": "The timestamp when a person unsubscribed based on this message."
              }
            }
          },
          "newsletter_id": {
            "oneOf": [
              {
                "x-scalar-ignore": true,
                "description": "The identifier for a one-time send.",
                "type": "integer",
                "example": 10
              },
              {
                "type": "null"
              }
            ]
          },
          "parent_action_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
            "example": 1,
            "readOnly": true
          },
          "recipient": {
            "x-scalar-ignore": true,
            "description": "The recipient address for an action.",
            "type": "string",
            "example": "{{customer.email}}"
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "tracked_responses": {
            "type": "object",
            "description": "Tracked in-app survey responses, keyed by response option name. Present only when `get_tracked_responses` is `true`.",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "The identifier for the tracked response."
                },
                "ts": {
                  "type": "integer",
                  "description": "A unix timestamp representing when the response was tracked."
                }
              }
            },
            "example": {
              "cool-button": {
                "id": 1,
                "ts": 1715769600
              },
              "cool-button-2": {
                "id": 2,
                "ts": 1715769600
              }
            }
          },
          "trigger_event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
          },
          "type": {
            "x-scalar-ignore": true,
            "description": "Channel type for a one-time send or one-time send content variant.",
            "type": "string",
            "enum": [
              "email",
              "webhook",
              "twilio",
              "push",
              "in_app",
              "inbox"
            ],
            "readOnly": true,
            "example": "email"
          }
        }
      },
      "webhookActionObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "body": {
            "type": "string",
            "description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "headers": {
            "x-scalar-ignore": true,
            "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
            "type": "string",
            "format": "json",
            "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
          },
          "layout": {
            "type": "string",
            "description": "The layout used for the action, if it exists.",
            "readOnly": true
          },
          "method": {
            "description": "The HTTP method for your webhook.",
            "type": "string",
            "enum": [
              "get",
              "post",
              "put",
              "delete",
              "patch"
            ],
            "example": "post"
          },
          "name": {
            "type": "string",
            "description": "The name of the action, if it exists.",
            "readOnly": true,
            "example": "Opening Message"
          },
          "sending_state": {
            "x-scalar-ignore": true,
            "type": "string",
            "enum": [
              "automatic",
              "draft",
              "off"
            ],
            "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
          },
          "type": {
            "type": "string",
            "description": "The type of action.",
            "enum": [
              "webhook"
            ],
            "readOnly": true
          },
          "updated": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          },
          "url": {
            "type": "string",
            "description": "The URL to send a webhook to, applies to `webhook` type actions.",
            "example": "https://my.example.com/webhook"
          }
        }
      },
      "emailActionObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The blind-copy address(es) for this action.",
            "type": "string"
          },
          "body": {
            "type": "string",
            "description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
          },
          "body_amp": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
          },
          "broadcast_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier for a broadcast.",
            "example": 2
          },
          "cc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The carbon-copy address(es) for this action.",
            "type": "string"
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "fake_bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "type": "boolean",
            "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
          },
          "from": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that the message is from, relevant if the action `type` is `email`.",
            "readOnly": true,
            "example": "sentFrom@example.com"
          },
          "from_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 1
          },
          "id": {
            "x-scalar-ignore": true,
            "description": "The identifier for an action.",
            "type": "integer",
            "readOnly": true,
            "example": 96
          },
          "language": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
            "example": "fr",
            "readOnly": true
          },
          "layout": {
            "type": "string",
            "description": "The layout used for the action, if it exists.",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "description": "The name of the action, if it exists.",
            "readOnly": true,
            "example": "Opening Message"
          },
          "preheader_text": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
          },
          "preprocessor": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
            "enum": [
              "premailer"
            ],
            "readOnly": true
          },
          "recipient": {
            "x-scalar-ignore": true,
            "description": "The recipient address for an action.",
            "type": "string",
            "example": "{{customer.email}}"
          },
          "reply_to": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that receives replies for the message, if applicable.",
            "readOnly": true,
            "example": "replyto@example.com"
          },
          "reply_to_id": {
            "x-scalar-ignore": true,
            "type": [
              "integer",
              "null"
            ],
            "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 38
          },
          "sending_state": {
            "x-scalar-ignore": true,
            "type": "string",
            "enum": [
              "automatic",
              "draft",
              "off"
            ],
            "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "type": {
            "type": "string",
            "description": "The type of action.",
            "enum": [
              "email",
              "in_app",
              "push",
              "twilio",
              "slack",
              "whatsapp"
            ],
            "readOnly": true
          },
          "updated": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        }
      },
      "updateBroadcastActionObject": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "title": "Email / message",
            "properties": {
              "bcc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "description": "The blind-copy address(es) for this action.",
                "type": "string"
              },
              "body": {
                "type": "string",
                "description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
              },
              "body_amp": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
              },
              "broadcast_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              "cc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "description": "The carbon-copy address(es) for this action.",
                "type": "string"
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "fake_bcc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "type": "boolean",
                "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
              },
              "from": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The address that the message is from, relevant if the action `type` is `email`.",
                "readOnly": true,
                "example": "sentFrom@example.com"
              },
              "from_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 1
              },
              "headers": {
                "x-scalar-ignore": true,
                "description": "Headers you want to add or update. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "The name of the header."
                    },
                    "value": {
                      "type": "string",
                      "description": "The value of the header."
                    }
                  },
                  "example": [
                    {
                      "name": "X-Mailgun-Tag",
                      "value": "my-cool-tag"
                    }
                  ]
                }
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action, if it exists.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "preheader_text": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
              },
              "preprocessor": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
                "enum": [
                  "premailer"
                ],
                "readOnly": true
              },
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "{{customer.email}}"
              },
              "reply_to": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The address that receives replies for the message, if applicable.",
                "readOnly": true,
                "example": "replyto@example.com"
              },
              "reply_to_id": {
                "x-scalar-ignore": true,
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 38
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "subject": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The subject line for an `email` action.",
                "example": "Did you get that thing I sent you?"
              },
              "type": {
                "type": "string",
                "description": "The type of action.",
                "enum": [
                  "email",
                  "in_app",
                  "push",
                  "twilio",
                  "slack",
                  "whatsapp"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "SMS / MMS",
            "properties": {
              "body": {
                "type": "string",
                "description": "The body of your SMS."
              },
              "broadcast_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "image_url": {
                "type": "string",
                "description": "The URL of the image in your SMS (MMS) message."
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "recipient": {
                "type": "string",
                "description": "The recipient, usually an attribute you reference with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time.",
                "example": ""
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "type": {
                "type": "string",
                "description": "For SMS/MMS messages, the `type` is always `twilio`.",
                "enum": [
                  "twilio"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "WhatsApp",
            "properties": {
              "body": {
                "type": "string",
                "description": "A JSON string containing WhatsApp template metadata from Meta and template parameters with Liquid variables. Use `GET /v1/environments/{environment_id}/whatsapp/templates` to list templates.",
                "example": "{\"body\":\"\",\"image_url\":\"\",\"whatsapp_message_template\":{\"id\":\"12345\",\"name\":\"welcome\",\"language\":\"en_US\",\"status\":\"APPROVED\",\"components\":[...]},\"template_parameters\":{\"name\":\"welcome\",\"components\":[{\"type\":\"BODY\",\"parameters\":[{\"type\":\"text\",\"text\":\"{{customer.name}}\",\"parameter_name\":\"name\"}]}]}}"
              },
              "body_json": {
                "type": "string",
                "description": "For visual editor content (if applicable)."
              },
              "broadcast_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action.",
                "readOnly": true,
                "example": "Welcome Message"
              },
              "recipient": {
                "type": "string",
                "description": "The recipient's phone number in E.164 format, usually referenced with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time.",
                "example": ""
              },
              "send_to_unsubscribed": {
                "type": "boolean",
                "description": "Whether to send this message to unsubscribed customers."
              },
              "sender_identity_id": {
                "type": "integer",
                "description": "The ID of the WhatsApp Business phone number to send from. This corresponds to\na phone number registered in your WhatsApp Business Account and synced via\n`GET /v1/environments/{environment_id}/whatsapp/sync`.\n"
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "tracked": {
                "type": "boolean",
                "description": "Whether links in template parameters should be tracked.",
                "default": false
              },
              "type": {
                "type": "string",
                "description": "For WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio), the `type` is always `whatsapp`.",
                "enum": [
                  "whatsapp"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            },
            "description": "The action object for WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio). Messages sent through Twilio still use the `twilio` type and are treated similarly to SMS messages."
          },
          {
            "title": "Webhook",
            "properties": {
              "body": {
                "type": "string",
                "description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
              },
              "broadcast_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "headers": {
                "x-scalar-ignore": true,
                "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
                "type": "string",
                "format": "json",
                "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "method": {
                "description": "The HTTP method for your webhook.",
                "type": "string",
                "enum": [
                  "get",
                  "post",
                  "put",
                  "delete",
                  "patch"
                ],
                "example": "post"
              },
              "name": {
                "type": "string",
                "description": "The name of the action, if it exists.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "type": {
                "type": "string",
                "description": "The type of action.",
                "enum": [
                  "webhook"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              },
              "url": {
                "type": "string",
                "description": "The URL to send a webhook to, applies to `webhook` type actions.",
                "example": "https://my.example.com/webhook"
              }
            }
          }
        ]
      },
      "broadcastActionObject": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "title": "Email / message",
            "properties": {
              "bcc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "description": "The blind-copy address(es) for this action.",
                "type": "string"
              },
              "body": {
                "type": "string",
                "description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
              },
              "body_amp": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
              },
              "broadcast_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              "cc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "description": "The carbon-copy address(es) for this action.",
                "type": "string"
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "fake_bcc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "type": "boolean",
                "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
              },
              "from": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The address that the message is from, relevant if the action `type` is `email`.",
                "readOnly": true,
                "example": "sentFrom@example.com"
              },
              "from_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 1
              },
              "headers": {
                "x-scalar-ignore": true,
                "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
                "type": "string",
                "format": "json",
                "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action, if it exists.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "preheader_text": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
              },
              "preprocessor": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
                "enum": [
                  "premailer"
                ],
                "readOnly": true
              },
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "{{customer.email}}"
              },
              "reply_to": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The address that receives replies for the message, if applicable.",
                "readOnly": true,
                "example": "replyto@example.com"
              },
              "reply_to_id": {
                "x-scalar-ignore": true,
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 38
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "subject": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The subject line for an `email` action.",
                "example": "Did you get that thing I sent you?"
              },
              "type": {
                "type": "string",
                "description": "The type of action.",
                "enum": [
                  "email",
                  "in_app",
                  "push",
                  "twilio",
                  "slack",
                  "whatsapp"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "SMS / MMS",
            "properties": {
              "body": {
                "type": "string",
                "description": "The body of your SMS."
              },
              "broadcast_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "image_url": {
                "type": "string",
                "description": "The URL of the image in your SMS (MMS) message."
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "recipient": {
                "type": "string",
                "description": "The recipient, usually an attribute you reference with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time.",
                "example": ""
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "type": {
                "type": "string",
                "description": "For SMS/MMS messages, the `type` is always `twilio`.",
                "enum": [
                  "twilio"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "WhatsApp",
            "properties": {
              "body": {
                "type": "string",
                "description": "A JSON string containing WhatsApp template metadata from Meta and template parameters with Liquid variables. Use `GET /v1/environments/{environment_id}/whatsapp/templates` to list templates.",
                "example": "{\"body\":\"\",\"image_url\":\"\",\"whatsapp_message_template\":{\"id\":\"12345\",\"name\":\"welcome\",\"language\":\"en_US\",\"status\":\"APPROVED\",\"components\":[...]},\"template_parameters\":{\"name\":\"welcome\",\"components\":[{\"type\":\"BODY\",\"parameters\":[{\"type\":\"text\",\"text\":\"{{customer.name}}\",\"parameter_name\":\"name\"}]}]}}"
              },
              "body_json": {
                "type": "string",
                "description": "For visual editor content (if applicable)."
              },
              "broadcast_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action.",
                "readOnly": true,
                "example": "Welcome Message"
              },
              "recipient": {
                "type": "string",
                "description": "The recipient's phone number in E.164 format, usually referenced with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time.",
                "example": ""
              },
              "send_to_unsubscribed": {
                "type": "boolean",
                "description": "Whether to send this message to unsubscribed customers."
              },
              "sender_identity_id": {
                "type": "integer",
                "description": "The ID of the WhatsApp Business phone number to send from. This corresponds to\na phone number registered in your WhatsApp Business Account and synced via\n`GET /v1/environments/{environment_id}/whatsapp/sync`.\n"
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "tracked": {
                "type": "boolean",
                "description": "Whether links in template parameters should be tracked.",
                "default": false
              },
              "type": {
                "type": "string",
                "description": "For WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio), the `type` is always `whatsapp`.",
                "enum": [
                  "whatsapp"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            },
            "description": "The action object for WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio). Messages sent through Twilio still use the `twilio` type and are treated similarly to SMS messages."
          },
          {
            "title": "Webhook",
            "properties": {
              "body": {
                "type": "string",
                "description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
              },
              "broadcast_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "headers": {
                "x-scalar-ignore": true,
                "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
                "type": "string",
                "format": "json",
                "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "method": {
                "description": "The HTTP method for your webhook.",
                "type": "string",
                "enum": [
                  "get",
                  "post",
                  "put",
                  "delete",
                  "patch"
                ],
                "example": "post"
              },
              "name": {
                "type": "string",
                "description": "The name of the action, if it exists.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "type": {
                "type": "string",
                "description": "The type of action.",
                "enum": [
                  "webhook"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              },
              "url": {
                "type": "string",
                "description": "The URL to send a webhook to, applies to `webhook` type actions.",
                "example": "https://my.example.com/webhook"
              }
            }
          }
        ]
      },
      "updateTransactionalActionObject": {
        "x-scalar-ignore": true,
        "properties": {
          "bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The blind-copy address(es) for this action.",
            "type": "string"
          },
          "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."
          },
          "body_amp": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
          },
          "cc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The carbon-copy address(es) for this action.",
            "type": "string"
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "fake_bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "type": "boolean",
            "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
          },
          "from": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that the message is from, relevant if the action `type` is `email`.",
            "readOnly": true,
            "example": "sentFrom@example.com"
          },
          "from_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 1
          },
          "headers": {
            "x-scalar-ignore": true,
            "description": "Headers you want to add or update. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The name of the header."
                },
                "value": {
                  "type": "string",
                  "description": "The value of the header."
                }
              },
              "example": [
                {
                  "name": "X-Mailgun-Tag",
                  "value": "my-cool-tag"
                }
              ]
            }
          },
          "id": {
            "x-scalar-ignore": true,
            "description": "The identifier for an action.",
            "type": "integer",
            "readOnly": true,
            "example": 96
          },
          "language": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
            "example": "fr",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "description": "The name of the transactional message.",
            "readOnly": true,
            "example": "Receipt"
          },
          "preheader_text": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
          },
          "preprocessor": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
            "enum": [
              "premailer"
            ],
            "readOnly": true
          },
          "recipient": {
            "x-scalar-ignore": true,
            "description": "The recipient address for an action.",
            "type": "string",
            "example": "{{customer.email}}"
          },
          "reply_to": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that receives replies for the message, if applicable.",
            "readOnly": true,
            "example": "replyto@example.com"
          },
          "reply_to_id": {
            "x-scalar-ignore": true,
            "type": [
              "integer",
              "null"
            ],
            "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 38
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "type": {
            "type": "string",
            "description": "The type of message.",
            "enum": [
              "email",
              "push"
            ],
            "readOnly": true
          },
          "updated": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        }
      },
      "getTransactionalActionObject": {
        "x-scalar-ignore": true,
        "properties": {
          "bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The blind-copy address(es) for this action.",
            "type": "string"
          },
          "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."
          },
          "body_amp": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
          },
          "cc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The carbon-copy address(es) for this action.",
            "type": "string"
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "fake_bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "type": "boolean",
            "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
          },
          "from": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that the message is from, relevant if the action `type` is `email`.",
            "readOnly": true,
            "example": "sentFrom@example.com"
          },
          "from_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 1
          },
          "headers": {
            "x-scalar-ignore": true,
            "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
            "type": "string",
            "format": "json",
            "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
          },
          "id": {
            "x-scalar-ignore": true,
            "description": "The identifier for an action.",
            "type": "integer",
            "readOnly": true,
            "example": 96
          },
          "language": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
            "example": "fr",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "description": "The name of the transactional message.",
            "readOnly": true,
            "example": "Receipt"
          },
          "preheader_text": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
          },
          "preprocessor": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
            "enum": [
              "premailer"
            ],
            "readOnly": true
          },
          "recipient": {
            "x-scalar-ignore": true,
            "description": "The recipient address for an action.",
            "type": "string",
            "example": "{{customer.email}}"
          },
          "reply_to": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that receives replies for the message, if applicable.",
            "readOnly": true,
            "example": "replyto@example.com"
          },
          "reply_to_id": {
            "x-scalar-ignore": true,
            "type": [
              "integer",
              "null"
            ],
            "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 38
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "type": {
            "type": "string",
            "description": "The type of message.",
            "enum": [
              "email",
              "push"
            ],
            "readOnly": true
          },
          "updated": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        }
      },
      "transactionalActionObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The blind-copy address(es) for this action.",
            "type": "string"
          },
          "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."
          },
          "body_amp": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
          },
          "cc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "description": "The carbon-copy address(es) for this action.",
            "type": "string"
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "fake_bcc": {
            "x-scalar-ignore": true,
            "readOnly": true,
            "type": "boolean",
            "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
          },
          "from": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that the message is from, relevant if the action `type` is `email`.",
            "readOnly": true,
            "example": "sentFrom@example.com"
          },
          "from_id": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 1
          },
          "id": {
            "x-scalar-ignore": true,
            "description": "The identifier for an action.",
            "type": "integer",
            "readOnly": true,
            "example": 96
          },
          "language": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
            "example": "fr",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "description": "The name of the transactional message.",
            "readOnly": true,
            "example": "Receipt"
          },
          "preheader_text": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
          },
          "preprocessor": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
            "enum": [
              "premailer"
            ],
            "readOnly": true
          },
          "recipient": {
            "x-scalar-ignore": true,
            "description": "The recipient address for an action.",
            "type": "string",
            "example": "{{customer.email}}"
          },
          "reply_to": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The address that receives replies for the message, if applicable.",
            "readOnly": true,
            "example": "replyto@example.com"
          },
          "reply_to_id": {
            "x-scalar-ignore": true,
            "type": [
              "integer",
              "null"
            ],
            "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
            "example": 38
          },
          "subject": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The subject line for an `email` action.",
            "example": "Did you get that thing I sent you?"
          },
          "type": {
            "type": "string",
            "description": "The type of message.",
            "enum": [
              "email",
              "push"
            ],
            "readOnly": true
          },
          "updated": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        }
      },
      "parent_action_id": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
        "example": 1,
        "readOnly": true
      },
      "smsActionObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "body": {
            "type": "string",
            "description": "The body of your SMS."
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "image_url": {
            "type": "string",
            "description": "The URL of the image in your SMS (MMS) message."
          },
          "language": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
            "example": "fr",
            "readOnly": true
          },
          "layout": {
            "type": "string",
            "description": "The layout used for the action, if it exists.",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "description": "The name of the action.",
            "readOnly": true,
            "example": "Opening Message"
          },
          "recipient": {
            "type": "string",
            "description": "The recipient, usually an attribute you reference with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time.",
            "example": ""
          },
          "sending_state": {
            "x-scalar-ignore": true,
            "type": "string",
            "enum": [
              "automatic",
              "draft",
              "off"
            ],
            "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
          },
          "type": {
            "type": "string",
            "description": "For SMS/MMS messages, the `type` is always `twilio`.",
            "enum": [
              "twilio"
            ],
            "readOnly": true
          },
          "updated": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        }
      },
      "whatsAppActionObject": {
        "x-scalar-ignore": true,
        "description": "The action object for WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio). Messages sent through Twilio still use the `twilio` type and are treated similarly to SMS messages.",
        "type": "object",
        "properties": {
          "body": {
            "type": "string",
            "description": "A JSON string containing WhatsApp template metadata from Meta and template parameters with Liquid variables. Use `GET /v1/environments/{environment_id}/whatsapp/templates` to list templates.",
            "example": "{\"body\":\"\",\"image_url\":\"\",\"whatsapp_message_template\":{\"id\":\"12345\",\"name\":\"welcome\",\"language\":\"en_US\",\"status\":\"APPROVED\",\"components\":[...]},\"template_parameters\":{\"name\":\"welcome\",\"components\":[{\"type\":\"BODY\",\"parameters\":[{\"type\":\"text\",\"text\":\"{{customer.name}}\",\"parameter_name\":\"name\"}]}]}}"
          },
          "body_json": {
            "type": "string",
            "description": "For visual editor content (if applicable)."
          },
          "created": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was created.",
            "example": 1552341937,
            "readOnly": true
          },
          "deduplicate_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "readOnly": true,
            "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
            "example": "15:1492548073"
          },
          "language": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
            "example": "fr",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "description": "The name of the action.",
            "readOnly": true,
            "example": "Welcome Message"
          },
          "recipient": {
            "type": "string",
            "description": "The recipient's phone number in E.164 format, usually referenced with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time.",
            "example": ""
          },
          "send_to_unsubscribed": {
            "type": "boolean",
            "description": "Whether to send this message to unsubscribed customers."
          },
          "sender_identity_id": {
            "type": "integer",
            "description": "The ID of the WhatsApp Business phone number to send from. This corresponds to\na phone number registered in your WhatsApp Business Account and synced via\n`GET /v1/environments/{environment_id}/whatsapp/sync`.\n"
          },
          "sending_state": {
            "x-scalar-ignore": true,
            "type": "string",
            "enum": [
              "automatic",
              "draft",
              "off"
            ],
            "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
          },
          "tracked": {
            "type": "boolean",
            "description": "Whether links in template parameters should be tracked.",
            "default": false
          },
          "type": {
            "type": "string",
            "description": "For WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio), the `type` is always `whatsapp`.",
            "enum": [
              "whatsapp"
            ],
            "readOnly": true
          },
          "updated": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The date time when the referenced ID was last updated.",
            "example": 1552341937,
            "readOnly": true
          }
        }
      },
      "updateActionObject": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "title": "Email / message",
            "properties": {
              "bcc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "description": "The blind-copy address(es) for this action.",
                "type": "string"
              },
              "body": {
                "type": "string",
                "description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
              },
              "body_amp": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
              },
              "broadcast_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              "campaign_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "cc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "description": "The carbon-copy address(es) for this action.",
                "type": "string"
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "fake_bcc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "type": "boolean",
                "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
              },
              "from": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The address that the message is from, relevant if the action `type` is `email`.",
                "readOnly": true,
                "example": "sentFrom@example.com"
              },
              "from_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 1
              },
              "headers": {
                "x-scalar-ignore": true,
                "description": "Headers you want to add or update. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "The name of the header."
                    },
                    "value": {
                      "type": "string",
                      "description": "The value of the header."
                    }
                  },
                  "example": [
                    {
                      "name": "X-Mailgun-Tag",
                      "value": "my-cool-tag"
                    }
                  ]
                }
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action, if it exists.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "parent_action_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                "example": 1,
                "readOnly": true
              },
              "preheader_text": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
              },
              "preprocessor": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
                "enum": [
                  "premailer"
                ],
                "readOnly": true
              },
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "{{customer.email}}"
              },
              "reply_to": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The address that receives replies for the message, if applicable.",
                "readOnly": true,
                "example": "replyto@example.com"
              },
              "reply_to_id": {
                "x-scalar-ignore": true,
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 38
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "subject": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The subject line for an `email` action.",
                "example": "Did you get that thing I sent you?"
              },
              "type": {
                "type": "string",
                "description": "The type of action.",
                "enum": [
                  "email",
                  "in_app",
                  "push",
                  "twilio",
                  "slack",
                  "whatsapp"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "SMS/MMS",
            "properties": {
              "body": {
                "type": "string",
                "description": "The body of your SMS."
              },
              "campaign_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "image_url": {
                "type": "string",
                "description": "The URL of the image in your SMS (MMS) message."
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "parent_action_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                "example": 1,
                "readOnly": true
              },
              "recipient": {
                "type": "string",
                "description": "The recipient, usually an attribute you reference with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time.",
                "example": ""
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "type": {
                "type": "string",
                "description": "For SMS/MMS messages, the `type` is always `twilio`.",
                "enum": [
                  "twilio"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "WhatsApp",
            "properties": {
              "body": {
                "type": "string",
                "description": "A JSON string containing WhatsApp template metadata from Meta and template parameters with Liquid variables. Use `GET /v1/environments/{environment_id}/whatsapp/templates` to list templates.",
                "example": "{\"body\":\"\",\"image_url\":\"\",\"whatsapp_message_template\":{\"id\":\"12345\",\"name\":\"welcome\",\"language\":\"en_US\",\"status\":\"APPROVED\",\"components\":[...]},\"template_parameters\":{\"name\":\"welcome\",\"components\":[{\"type\":\"BODY\",\"parameters\":[{\"type\":\"text\",\"text\":\"{{customer.name}}\",\"parameter_name\":\"name\"}]}]}}"
              },
              "body_json": {
                "type": "string",
                "description": "For visual editor content (if applicable)."
              },
              "campaign_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action.",
                "readOnly": true,
                "example": "Welcome Message"
              },
              "parent_action_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                "example": 1,
                "readOnly": true
              },
              "recipient": {
                "type": "string",
                "description": "The recipient's phone number in E.164 format, usually referenced with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time.",
                "example": ""
              },
              "send_to_unsubscribed": {
                "type": "boolean",
                "description": "Whether to send this message to unsubscribed customers."
              },
              "sender_identity_id": {
                "type": "integer",
                "description": "The ID of the WhatsApp Business phone number to send from. This corresponds to\na phone number registered in your WhatsApp Business Account and synced via\n`GET /v1/environments/{environment_id}/whatsapp/sync`.\n"
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "tracked": {
                "type": "boolean",
                "description": "Whether links in template parameters should be tracked.",
                "default": false
              },
              "type": {
                "type": "string",
                "description": "For WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio), the `type` is always `whatsapp`.",
                "enum": [
                  "whatsapp"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            },
            "description": "The action object for WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio). Messages sent through Twilio still use the `twilio` type and are treated similarly to SMS messages."
          },
          {
            "title": "Webhook",
            "properties": {
              "body": {
                "type": "string",
                "description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
              },
              "campaign_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "headers": {
                "x-scalar-ignore": true,
                "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
                "type": "string",
                "format": "json",
                "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "method": {
                "description": "The HTTP method for your webhook.",
                "type": "string",
                "enum": [
                  "get",
                  "post",
                  "put",
                  "delete",
                  "patch"
                ],
                "example": "post"
              },
              "name": {
                "type": "string",
                "description": "The name of the action, if it exists.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "parent_action_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                "example": 1,
                "readOnly": true
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "type": {
                "type": "string",
                "description": "The type of action.",
                "enum": [
                  "webhook"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              },
              "url": {
                "type": "string",
                "description": "The URL to send a webhook to, applies to `webhook` type actions.",
                "example": "https://my.example.com/webhook"
              }
            }
          }
        ]
      },
      "actionObject": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "title": "Email / message",
            "properties": {
              "bcc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "description": "The blind-copy address(es) for this action.",
                "type": "string"
              },
              "body": {
                "type": "string",
                "description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
              },
              "body_amp": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "AMP-enabled content for your email. If a recipient's email client doesn't support AMP, they receive your `body` content instead. Make sure you're [set up to send AMP](/journeys/channels/email/layouts/amp-for-email/) first."
              },
              "broadcast_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for a broadcast.",
                "example": 2
              },
              "campaign_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "cc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "description": "The carbon-copy address(es) for this action.",
                "type": "string"
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "fake_bcc": {
                "x-scalar-ignore": true,
                "readOnly": true,
                "type": "boolean",
                "description": "If true, rather than sending true copies to BCC addresses, Customer.io sends a copy of the message with the subject line containing the recipient address(es).\n"
              },
              "from": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The address that the message is from, relevant if the action `type` is `email`.",
                "readOnly": true,
                "example": "sentFrom@example.com"
              },
              "from_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier of the `from` address, commonly known as the \"sender\". Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 1
              },
              "headers": {
                "x-scalar-ignore": true,
                "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
                "type": "string",
                "format": "json",
                "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action, if it exists.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "parent_action_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                "example": 1,
                "readOnly": true
              },
              "preheader_text": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "[Also known as \"preview text\"](/journeys/channels/email/headers/custom-preheader-text/), this is the small block of text shown in an email inbox next to or underneath the subject line.\n"
              },
              "preprocessor": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "If CSS pre-processing is enabled, this key is populated with `premailer`. Note, Juice replaced Premailer as the pre-processor, but you will only see `premailer` as the value.",
                "enum": [
                  "premailer"
                ],
                "readOnly": true
              },
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "{{customer.email}}"
              },
              "reply_to": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The address that receives replies for the message, if applicable.",
                "readOnly": true,
                "example": "replyto@example.com"
              },
              "reply_to_id": {
                "x-scalar-ignore": true,
                "type": [
                  "integer",
                  "null"
                ],
                "description": "The identifier for the `reply_to` address, if applicable. Use [List sender identities](/integrations/api/app/tag/sender-identities/listSenders/) to find valid IDs.",
                "example": 38
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "subject": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The subject line for an `email` action.",
                "example": "Did you get that thing I sent you?"
              },
              "type": {
                "type": "string",
                "description": "The type of action.",
                "enum": [
                  "email",
                  "in_app",
                  "push",
                  "twilio",
                  "slack",
                  "whatsapp"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "SMS/MMS",
            "properties": {
              "body": {
                "type": "string",
                "description": "The body of your SMS."
              },
              "campaign_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "image_url": {
                "type": "string",
                "description": "The URL of the image in your SMS (MMS) message."
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "parent_action_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                "example": 1,
                "readOnly": true
              },
              "recipient": {
                "type": "string",
                "description": "The recipient, usually an attribute you reference with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time.",
                "example": ""
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "type": {
                "type": "string",
                "description": "For SMS/MMS messages, the `type` is always `twilio`.",
                "enum": [
                  "twilio"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "WhatsApp",
            "properties": {
              "body": {
                "type": "string",
                "description": "A JSON string containing WhatsApp template metadata from Meta and template parameters with Liquid variables. Use `GET /v1/environments/{environment_id}/whatsapp/templates` to list templates.",
                "example": "{\"body\":\"\",\"image_url\":\"\",\"whatsapp_message_template\":{\"id\":\"12345\",\"name\":\"welcome\",\"language\":\"en_US\",\"status\":\"APPROVED\",\"components\":[...]},\"template_parameters\":{\"name\":\"welcome\",\"components\":[{\"type\":\"BODY\",\"parameters\":[{\"type\":\"text\",\"text\":\"{{customer.name}}\",\"parameter_name\":\"name\"}]}]}}"
              },
              "body_json": {
                "type": "string",
                "description": "For visual editor content (if applicable)."
              },
              "campaign_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "language": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The language variant for your message. If you don't use our [localization feature](/journeys/channels/localization/getting-started), or this is the default message, this value is an empty string.",
                "example": "fr",
                "readOnly": true
              },
              "name": {
                "type": "string",
                "description": "The name of the action.",
                "readOnly": true,
                "example": "Welcome Message"
              },
              "parent_action_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                "example": 1,
                "readOnly": true
              },
              "recipient": {
                "type": "string",
                "description": "The recipient's phone number in E.164 format, usually referenced with Liquid like `{{customer.phone}}`. If you use Liquid, this field is blank in `GET` responses because we resolve the recipient at send time.",
                "example": ""
              },
              "send_to_unsubscribed": {
                "type": "boolean",
                "description": "Whether to send this message to unsubscribed customers."
              },
              "sender_identity_id": {
                "type": "integer",
                "description": "The ID of the WhatsApp Business phone number to send from. This corresponds to\na phone number registered in your WhatsApp Business Account and synced via\n`GET /v1/environments/{environment_id}/whatsapp/sync`.\n"
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "tracked": {
                "type": "boolean",
                "description": "Whether links in template parameters should be tracked.",
                "default": false
              },
              "type": {
                "type": "string",
                "description": "For WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio), the `type` is always `whatsapp`.",
                "enum": [
                  "whatsapp"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            },
            "description": "The action object for WhatsApp messages sent from Customer.io using your Facebook Business Account (not Twilio). Messages sent through Twilio still use the `twilio` type and are treated similarly to SMS messages."
          },
          {
            "title": "Webhook",
            "properties": {
              "body": {
                "type": "string",
                "description": "The body of the action. You cannot modify the body if you created it with our drag-and-drop editor."
              },
              "campaign_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "headers": {
                "x-scalar-ignore": true,
                "description": "A JSON string containing header objects with `name` and `value`. Names and values must be strings, with no non-ASCII characters or spaces. You can't overwrite reserved headers.",
                "type": "string",
                "format": "json",
                "example": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "layout": {
                "type": "string",
                "description": "The layout used for the action, if it exists.",
                "readOnly": true
              },
              "method": {
                "description": "The HTTP method for your webhook.",
                "type": "string",
                "enum": [
                  "get",
                  "post",
                  "put",
                  "delete",
                  "patch"
                ],
                "example": "post"
              },
              "name": {
                "type": "string",
                "description": "The name of the action, if it exists.",
                "readOnly": true,
                "example": "Opening Message"
              },
              "parent_action_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                "example": 1,
                "readOnly": true
              },
              "sending_state": {
                "x-scalar-ignore": true,
                "type": "string",
                "enum": [
                  "automatic",
                  "draft",
                  "off"
                ],
                "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
              },
              "type": {
                "type": "string",
                "description": "The type of action.",
                "enum": [
                  "webhook"
                ],
                "readOnly": true
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              },
              "url": {
                "type": "string",
                "description": "The URL to send a webhook to, applies to `webhook` type actions.",
                "example": "https://my.example.com/webhook"
              }
            }
          }
        ]
      },
      "sending_state": {
        "x-scalar-ignore": true,
        "type": "string",
        "enum": [
          "automatic",
          "draft",
          "off"
        ],
        "description": "Determines the sending behavior for the action. `automatic` sends the action automatically when triggered; `draft` queues drafts when the action is triggered; or `off` to disable the action."
      },
      "languageVariantMetrics": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Metrics for each language variant of a multi-language message, keyed by the variant's action ID. Only returned when you request metrics for a multi-language branch action.\n",
        "additionalProperties": {
          "type": "object",
          "properties": {
            "default": {
              "type": "boolean",
              "description": "Whether this is the default variant. Exactly one variant per multi-language message is the default, and it always has an empty `language`.",
              "example": false
            },
            "language": {
              "type": "string",
              "description": "The language code for this variant, such as `es` or `fr-CA`. Empty for the default variant—the one that people fall back to when no other variant matches their language.",
              "example": "es"
            },
            "series": {
              "x-scalar-ignore": true,
              "description": "Metrics grouped by the requested resolution. Each property is an array where each entry represents one period, such as one day.",
              "type": "object",
              "properties": {
                "attempted": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `attempted` messages."
                },
                "bounced": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `bounced` messages."
                },
                "clicked": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `clicked` messages."
                },
                "converted": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `converted` messages."
                },
                "created": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `created` messages."
                },
                "deferred": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `deferred` messages."
                },
                "delivered": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `delivered` messages."
                },
                "drafted": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `drafted` messages."
                },
                "failed": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `failed` messages."
                },
                "human_clicked": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `clicked` emails excluding machine clicks. This metric is reliable starting April 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
                },
                "human_opened": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `opened` emails excluding machine opens. This metric is reliable starting March 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
                },
                "link_untracked": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of emails delivered with link tracking inactive for any reason. We subtract these from the click-rate denominator."
                },
                "machine_clicked": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `clicked` emails attributed to machines—security scanners, bot user agents, known proxy services, and repetitive click patterns. This metric is reliable starting April 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
                },
                "open_untracked": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of emails delivered with open tracking inactive for any reason—including the consent opt-outs that `untracked` counts and messages sent with open tracking disabled. We subtract these from the open-rate denominator."
                },
                "opened": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `opened` messages."
                },
                "prefetch_opened": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `opened` emails attributed to machines. This metric is reliable starting March 20, 2025."
                },
                "replied": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of SMS/MMS messages a person replied to with a keyword. [Learn more about inbound messages](/messaging/channels/sms/inbound/get-started/)."
                },
                "sent": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of sent messages."
                },
                "spammed": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of spam complaints."
                },
                "suppressed": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `suppressed` messages."
                },
                "topic_unsubscribed": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of topic unsubscribes in a given period."
                },
                "tracking_consent_denied": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of people who denied consent to email open tracking in the period."
                },
                "tracking_consent_granted": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of people who granted consent to email open tracking in the period."
                },
                "undeliverable": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `undeliverable` messages."
                },
                "unsubscribed": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of unsubscribes attributed to the automation or message."
                },
                "untracked": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  },
                  "description": "The number of `sent` emails whose open pixel we withheld because the person opted out of open tracking. We exclude these from the open-rate denominator; click tracking is unaffected."
                }
              }
            }
          }
        }
      },
      "periodMessageMetrics": {
        "x-scalar-ignore": true,
        "description": "Metrics grouped by the requested resolution. Each property is an array where each entry represents one period, such as one day.",
        "type": "object",
        "properties": {
          "attempted": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `attempted` messages."
          },
          "bounced": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `bounced` messages."
          },
          "clicked": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `clicked` messages."
          },
          "converted": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `converted` messages."
          },
          "created": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `created` messages."
          },
          "deferred": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `deferred` messages."
          },
          "delivered": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `delivered` messages."
          },
          "drafted": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `drafted` messages."
          },
          "failed": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `failed` messages."
          },
          "human_clicked": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `clicked` emails excluding machine clicks. This metric is reliable starting April 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
          },
          "human_opened": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `opened` emails excluding machine opens. This metric is reliable starting March 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
          },
          "link_untracked": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of emails delivered with link tracking inactive for any reason. We subtract these from the click-rate denominator."
          },
          "machine_clicked": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `clicked` emails attributed to machines—security scanners, bot user agents, known proxy services, and repetitive click patterns. This metric is reliable starting April 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
          },
          "open_untracked": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of emails delivered with open tracking inactive for any reason—including the consent opt-outs that `untracked` counts and messages sent with open tracking disabled. We subtract these from the open-rate denominator."
          },
          "opened": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `opened` messages."
          },
          "prefetch_opened": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `opened` emails attributed to machines. This metric is reliable starting March 20, 2025."
          },
          "replied": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of SMS/MMS messages a person replied to with a keyword. [Learn more about inbound messages](/messaging/channels/sms/inbound/get-started/)."
          },
          "sent": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of sent messages."
          },
          "spammed": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of spam complaints."
          },
          "suppressed": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `suppressed` messages."
          },
          "topic_unsubscribed": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of topic unsubscribes in a given period."
          },
          "tracking_consent_denied": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of people who denied consent to email open tracking in the period."
          },
          "tracking_consent_granted": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of people who granted consent to email open tracking in the period."
          },
          "undeliverable": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `undeliverable` messages."
          },
          "unsubscribed": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of unsubscribes attributed to the automation or message."
          },
          "untracked": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "The number of `sent` emails whose open pixel we withheld because the person opted out of open tracking. We exclude these from the open-rate denominator; click tracking is unaffected."
          }
        }
      },
      "webhookMetrics": {
        "x-scalar-ignore": true,
        "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."
          }
        }
      },
      "messageMetrics": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Metrics for an individual instance of a message; each item in the object represents the timestamp when a message achieved a particular metric. This object only contains metrics that have been recorded.",
        "properties": {
          "bounced": {
            "type": "integer",
            "description": "The timestamp when the message `bounced`."
          },
          "clicked": {
            "type": "integer",
            "description": "The timestamp when the message was `clicked`."
          },
          "converted": {
            "type": "integer",
            "description": "The timestamp when the message was `converted`."
          },
          "created": {
            "type": "integer",
            "description": "The timestamp when the message was `created`."
          },
          "delivered": {
            "type": "integer",
            "description": "The timestamp when the message was `delivered`."
          },
          "drafted": {
            "type": "integer",
            "description": "The timestamp when the message was `drafted`."
          },
          "dropped": {
            "type": "integer",
            "description": "The timestamp when the message was `dropped`."
          },
          "failed": {
            "type": "integer",
            "description": "The timestamp when the message `failed`."
          },
          "human_clicked": {
            "type": "integer",
            "description": "The number of `clicked` messages excluding machine clicks. This metric is reliable starting April 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
          },
          "human_opened": {
            "type": "integer",
            "description": "The number of `opened` messages excluding machine opens. This metric is reliable starting March 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics)."
          },
          "opened": {
            "type": "integer",
            "description": "The timestamp when the message was `opened`."
          },
          "prefetch_clicked": {
            "type": "integer",
            "description": "The number of `clicked` messages attributed to machines. This metric is reliable starting April 20, 2025."
          },
          "prefetch_opened": {
            "type": "integer",
            "description": "The number of `opened` messages attributed to machines. This metric is reliable starting March 20, 2025."
          },
          "sent": {
            "type": "integer",
            "description": "The timestamp when the message was `sent`."
          },
          "spammed": {
            "type": "integer",
            "description": "The timestamp when the message was marked as spam."
          },
          "undeliverable": {
            "type": "integer",
            "description": "The timestamp when the message became `undeliverable`."
          },
          "unsubscribed": {
            "type": "integer",
            "description": "The timestamp when a person unsubscribed based on this message."
          }
        }
      },
      "messageTotalMetrics": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Total metrics over the lifespan of the requested item.",
        "properties": {
          "bounced": {
            "type": "integer",
            "description": "The number of `bounced` messages."
          },
          "clicked": {
            "type": "integer",
            "description": "The number of `clicked` messages."
          },
          "converted": {
            "type": "integer",
            "description": "The number of `converted` messages."
          },
          "created": {
            "type": "integer",
            "description": "The number of `created` messages."
          },
          "delivered": {
            "type": "integer",
            "description": "The number of `delivered` messages."
          },
          "drafted": {
            "type": "integer",
            "description": "The number of `drafted` messages."
          },
          "dropped": {
            "type": "integer",
            "description": "The number of `dropped` messages."
          },
          "failed": {
            "type": "integer",
            "description": "The number of `failed` messages."
          },
          "opened": {
            "type": "integer",
            "description": "The number of `opened` messages"
          },
          "sent": {
            "type": "integer",
            "description": "The number of `sent` messages"
          },
          "spammed": {
            "type": "integer",
            "description": "The number of messages marked as spam."
          },
          "undeliverable": {
            "type": "integer",
            "description": "The number of `undeliverable` messages."
          },
          "unsubscribed": {
            "type": "integer",
            "description": "The number of unsubscribes attributed to messages."
          }
        }
      },
      "linkMetrics": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "link": {
            "type": "object",
            "properties": {
              "href": {
                "type": "string",
                "description": "The link destination—a URL, mailto, etc.",
                "example": "https://docs.customer.io"
              },
              "id": {
                "type": "integer",
                "description": "The ID of the link.",
                "example": 1234
              }
            }
          },
          "metric": {
            "type": "object",
            "description": "Contains metrics for the link.",
            "properties": {
              "series": {
                "type": "object",
                "properties": {
                  "clicked": {
                    "type": "array",
                    "description": "An array of results from oldest to newest, where each result indicates a period.",
                    "items": {
                      "type": "integer"
                    },
                    "example": [
                      1,
                      3,
                      5,
                      7
                    ]
                  },
                  "human_clicked": {
                    "type": "array",
                    "description": "An array of human click counts (clicks excluding machine clicks) from oldest to newest, where each result indicates a period. This metric is reliable starting April 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics).",
                    "items": {
                      "type": "integer"
                    },
                    "example": [
                      1,
                      2,
                      3,
                      4
                    ]
                  },
                  "machine_clicked": {
                    "type": "array",
                    "description": "An array of machine click counts (clicks attributed to bots or prefetching) from oldest to newest, where each result indicates a period. This metric is reliable starting April 20, 2025. [Learn more](/messaging/metrics/analytics/#delivery-metrics).",
                    "items": {
                      "type": "integer"
                    },
                    "example": [
                      0,
                      1,
                      1,
                      2
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "campaignObject": {
        "x-scalar-ignore": true,
        "type": "object",
        "oneOf": [
          {
            "title": "Segment",
            "type": "object",
            "properties": {
              "actions": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of actions contained within the automation.",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The identifier for the action.",
                      "example": 259
                    },
                    "type": {
                      "type": "string",
                      "description": "The action type.",
                      "example": "email"
                    }
                  }
                }
              },
              "active": {
                "x-scalar-ignore": true,
                "type": "boolean",
                "description": "If true, the automation is active and can still send messages."
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The description of the automation, if one was set.",
                "example": "Sends a welcome series to new trial signups."
              },
              "filter_segment_ids": {
                "x-scalar-ignore": true,
                "description": "A list of segments used in the automation filter, returned if the automation audience was filtered on one or more segments.",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  21,
                  42
                ]
              },
              "first_started": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date and time when you first started the automation and it first became eligible to be triggered.",
                "example": 1552341937
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "msg_templates": {
                "type": "array",
                "deprecated": true,
                "description": "Indicates the message templates used in this automation.",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The identifier for the template."
                    },
                    "type": {
                      "type": "string",
                      "description": "The message type the template represents.",
                      "enum": [
                        "email",
                        "sms",
                        "push",
                        "slack"
                      ]
                    }
                  }
                }
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The name of the automation.",
                "readOnly": true
              },
              "state": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The status of the automation.",
                "enum": [
                  "running",
                  "draft",
                  "stopped"
                ]
              },
              "tags": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of tags you set on this automation.",
                "items": {
                  "type": "string"
                },
                "example": [
                  "new",
                  "welcome"
                ]
              },
              "trigger_segment_ids": {
                "description": "A list of segments used in the automation trigger, returned if the automation trigger included one or more segment conditions.",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  90
                ]
              },
              "type": {
                "type": "string",
                "deprecated": true,
                "description": "The type of automation trigger. **Sunsetting on March 30, 2025**",
                "enum": [
                  "segment"
                ]
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "Event",
            "type": "object",
            "properties": {
              "actions": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of actions contained within the automation.",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The identifier for the action.",
                      "example": 259
                    },
                    "type": {
                      "type": "string",
                      "description": "The action type.",
                      "example": "email"
                    }
                  }
                }
              },
              "active": {
                "x-scalar-ignore": true,
                "type": "boolean",
                "description": "If true, the automation is active and can still send messages."
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The description of the automation, if one was set.",
                "example": "Sends a welcome series to new trial signups."
              },
              "event_name": {
                "description": "The name of the event. How you reference the event in automations or segments.",
                "type": "string"
              },
              "filter_segment_ids": {
                "x-scalar-ignore": true,
                "description": "A list of segments used in the automation filter, returned if the automation audience was filtered on one or more segments.",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  21,
                  42
                ]
              },
              "first_started": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date and time when you first started the automation and it first became eligible to be triggered.",
                "example": 1552341937
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The name of the automation.",
                "readOnly": true
              },
              "state": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The status of the automation.",
                "enum": [
                  "running",
                  "draft",
                  "stopped"
                ]
              },
              "tags": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of tags you set on this automation.",
                "items": {
                  "type": "string"
                },
                "example": [
                  "new",
                  "welcome"
                ]
              },
              "type": {
                "type": "string",
                "deprecated": true,
                "description": "The type of automation trigger. **Sunsetting on March 30, 2025**",
                "enum": [
                  "event"
                ]
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "Form",
            "type": "object",
            "properties": {
              "actions": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of actions contained within the automation.",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The identifier for the action.",
                      "example": 259
                    },
                    "type": {
                      "type": "string",
                      "description": "The action type.",
                      "example": "email"
                    }
                  }
                }
              },
              "active": {
                "x-scalar-ignore": true,
                "type": "boolean",
                "description": "If true, the automation is active and can still send messages."
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The description of the automation, if one was set.",
                "example": "Sends a welcome series to new trial signups."
              },
              "filter_segment_ids": {
                "x-scalar-ignore": true,
                "description": "A list of segments used in the automation filter, returned if the automation audience was filtered on one or more segments.",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  21,
                  42
                ]
              },
              "first_started": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date and time when you first started the automation and it first became eligible to be triggered.",
                "example": 1552341937
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The name of the automation.",
                "readOnly": true
              },
              "state": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The status of the automation.",
                "enum": [
                  "running",
                  "draft",
                  "stopped"
                ]
              },
              "tags": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of tags you set on this automation.",
                "items": {
                  "type": "string"
                },
                "example": [
                  "new",
                  "welcome"
                ]
              },
              "type": {
                "type": "string",
                "deprecated": true,
                "description": "The type of automation trigger. **Sunsetting on March 30, 2025**",
                "enum": [
                  "form"
                ]
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "Date",
            "type": "object",
            "properties": {
              "actions": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of actions contained within the automation.",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The identifier for the action.",
                      "example": 259
                    },
                    "type": {
                      "type": "string",
                      "description": "The action type.",
                      "example": "email"
                    }
                  }
                }
              },
              "active": {
                "x-scalar-ignore": true,
                "type": "boolean",
                "description": "If true, the automation is active and can still send messages."
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "date_attribute": {
                "description": "The attribute on people's profiles you use to configure the date of the automation trigger.",
                "type": "string"
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The description of the automation, if one was set.",
                "example": "Sends a welcome series to new trial signups."
              },
              "filter_segment_ids": {
                "x-scalar-ignore": true,
                "description": "A list of segments used in the automation filter, returned if the automation audience was filtered on one or more segments.",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  21,
                  42
                ]
              },
              "first_started": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date and time when you first started the automation and it first became eligible to be triggered.",
                "example": 1552341937
              },
              "frequency": {
                "description": "How often a person will receive this automation based on the date specified in the automation trigger.",
                "type": "string",
                "enum": [
                  "once",
                  "monthly",
                  "yearly"
                ]
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The name of the automation.",
                "readOnly": true
              },
              "start_hour": {
                "description": "The hour you set the automation to trigger. Follows the 24-hour clock.",
                "type": "integer"
              },
              "start_minutes": {
                "description": "The minutes you set the automation to trigger. Follows the 24-hour clock.",
                "type": "integer"
              },
              "state": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The status of the automation.",
                "enum": [
                  "running",
                  "draft",
                  "stopped"
                ]
              },
              "tags": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of tags you set on this automation.",
                "items": {
                  "type": "string"
                },
                "example": [
                  "new",
                  "welcome"
                ]
              },
              "timezone": {
                "description": "The time zone you set to configure the date of the automation trigger.",
                "type": "string",
                "example": "America/Chicago"
              },
              "type": {
                "type": "string",
                "deprecated": true,
                "description": "The type of automation trigger. **Sunsetting on March 30, 2025**",
                "enum": [
                  "date"
                ]
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              },
              "use_customer_timezone": {
                "description": "If you chose \"the user's time zone\" while configuring the date of the automation trigger, this is `true`. Otherwise, you set a specific time zone so it's `false`.",
                "type": "boolean"
              }
            }
          },
          {
            "title": "Relationship",
            "type": "object",
            "properties": {
              "actions": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of actions contained within the automation.",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The identifier for the action.",
                      "example": 259
                    },
                    "type": {
                      "type": "string",
                      "description": "The action type.",
                      "example": "email"
                    }
                  }
                }
              },
              "active": {
                "x-scalar-ignore": true,
                "type": "boolean",
                "description": "If true, the automation is active and can still send messages."
              },
              "audience": {
                "description": "Defines the people who will start a journey in your automation.",
                "type": "object",
                "properties": {
                  "person_filters": {
                    "description": "Returns the profile attributes you filtered the audience by, if any. Only applies to `type 1`, \"Certain people in the object\".",
                    "type": "object",
                    "example": "{\"and\":[{\"attribute\":{\"field\":\"title\",\"operator\":\"eq\",\"value\":\"asdca\"}}]}"
                  },
                  "relationship_filters": {
                    "description": "Returns the relationship attributes you filtered the audience by, if any. Only applies to `type 1`, \"Certain people in the object\".",
                    "type": "object",
                    "example": "{\"and\":[{\"relationship_attribute\":{\"type_id\":1,\"field\":\"trig\",\"operator\":\"eq\",\"value\":\"asd\"}}]}"
                  },
                  "type": {
                    "description": "The selected audience type. `0` means person added to object; `1` can mean every or certain people in the object. Filters appear only for subset audiences.",
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1
                  }
                }
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The description of the automation, if one was set.",
                "example": "Sends a welcome series to new trial signups."
              },
              "filter_object_attributes": {
                "x-scalar-ignore": true,
                "description": "A list of object attributes used in the automation filter, returned if the automation audience was filtered on one or more object attributes.",
                "type": "string",
                "example": "{\"and\":[{\"object_attribute\":{\"type_id\":1,\"field\":\"name\",\"operator\":\"eq\",\"value\":\"sfa\"}},{\"object_attribute\":{\"type_id\":1,\"field\":\"renewal_date\",\"operator\":\"eq\",\"value\":\"sdfs\"}}]}"
              },
              "filter_relationship_attributes": {
                "x-scalar-ignore": true,
                "description": "A list of relationship attributes used in the automation filter, returned if the automation audience was filtered on one or more relationship attributes.",
                "type": "string",
                "example": "{\"and\":[{\"relationship_attribute\":{\"type_id\":1,\"field\":\"email\",\"operator\":\"eq\",\"value\":\"dscs@test.com\"}},{\"relationship_attribute\":{\"type_id\":1,\"field\":\"trig\",\"operator\":\"eq\",\"value\":\"false\"}}]}"
              },
              "filter_segment_ids": {
                "x-scalar-ignore": true,
                "description": "A list of segments used in the automation filter, returned if the automation audience was filtered on one or more segments.",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  21,
                  42
                ]
              },
              "first_started": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date and time when you first started the automation and it first became eligible to be triggered.",
                "example": 1552341937
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The name of the automation.",
                "readOnly": true
              },
              "object_type_id": {
                "x-scalar-ignore": true,
                "description": "The object type ID of the trigger.",
                "type": "integer"
              },
              "relationship_attribute_triggers": {
                "description": "A list of relationship attributes used to trigger the automation.",
                "type": "object",
                "example": "{\"and\":[{\"relationship_attribute\":{\"type_id\":1,\"field\":\"trig\",\"operator\":\"eq\",\"value\":\"true\"}}]}"
              },
              "state": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The status of the automation.",
                "enum": [
                  "running",
                  "draft",
                  "stopped"
                ]
              },
              "tags": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of tags you set on this automation.",
                "items": {
                  "type": "string"
                },
                "example": [
                  "new",
                  "welcome"
                ]
              },
              "type": {
                "type": "string",
                "deprecated": true,
                "description": "The type of automation trigger. **Sunsetting on March 30, 2025**",
                "enum": [
                  "relationship"
                ]
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "Object",
            "type": "object",
            "properties": {
              "actions": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of actions contained within the automation.",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The identifier for the action.",
                      "example": 259
                    },
                    "type": {
                      "type": "string",
                      "description": "The action type.",
                      "example": "email"
                    }
                  }
                }
              },
              "active": {
                "x-scalar-ignore": true,
                "type": "boolean",
                "description": "If true, the automation is active and can still send messages."
              },
              "audience": {
                "description": "Defines the people who will start a journey in your automation.",
                "type": "object",
                "properties": {
                  "person_filters": {
                    "description": "Returns the profile attributes you filtered the audience by, if any. Only applies to `type 1`, \"Certain people in the object\".",
                    "type": "object",
                    "example": "{\"and\":[{\"attribute\":{\"field\":\"title\",\"operator\":\"eq\",\"value\":\"asdca\"}}]}"
                  },
                  "relationship_filters": {
                    "description": "Returns the relationship attributes you filtered the audience by, if any. Only applies to `type 1`, \"Certain people in the object\".",
                    "type": "object",
                    "example": "{\"and\":[{\"relationship_attribute\":{\"type_id\":1,\"field\":\"trig\",\"operator\":\"eq\",\"value\":\"asd\"}}]}"
                  },
                  "type": {
                    "description": "The type of audience selected. \"Every person in the object\" is `1`. \"Certain people in the object\" is also `1`. \"Certain people\" will always have one or more audience filters (see below). \"Every person\" will never have an audience filter.",
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1
                  }
                }
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The description of the automation, if one was set.",
                "example": "Sends a welcome series to new trial signups."
              },
              "filter_object_attributes": {
                "x-scalar-ignore": true,
                "description": "A list of object attributes used in the automation filter, returned if the automation audience was filtered on one or more object attributes.",
                "type": "string",
                "example": "{\"and\":[{\"object_attribute\":{\"type_id\":1,\"field\":\"name\",\"operator\":\"eq\",\"value\":\"sfa\"}},{\"object_attribute\":{\"type_id\":1,\"field\":\"renewal_date\",\"operator\":\"eq\",\"value\":\"sdfs\"}}]}"
              },
              "filter_relationship_attributes": {
                "x-scalar-ignore": true,
                "description": "A list of relationship attributes used in the automation filter, returned if the automation audience was filtered on one or more relationship attributes.",
                "type": "string",
                "example": "{\"and\":[{\"relationship_attribute\":{\"type_id\":1,\"field\":\"email\",\"operator\":\"eq\",\"value\":\"dscs@test.com\"}},{\"relationship_attribute\":{\"type_id\":1,\"field\":\"trig\",\"operator\":\"eq\",\"value\":\"false\"}}]}"
              },
              "filter_segment_ids": {
                "x-scalar-ignore": true,
                "description": "A list of segments used in the automation filter, returned if the automation audience was filtered on one or more segments.",
                "type": "array",
                "items": {
                  "type": "integer"
                },
                "example": [
                  21,
                  42
                ]
              },
              "first_started": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date and time when you first started the automation and it first became eligible to be triggered.",
                "example": 1552341937
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The name of the automation.",
                "readOnly": true
              },
              "object_attribute_triggers": {
                "description": "A list of object attributes used to trigger the automation.",
                "type": "object",
                "example": "{\"and\":[{\"object_attribute\":{\"type_id\":1,\"field\":\"name\",\"operator\":\"eq\",\"value\":\"sfa\"}},{\"object_attribute\":{\"type_id\":1,\"field\":\"renewal_date\",\"operator\":\"eq\",\"value\":\"sdfs\"}}]}"
              },
              "object_type_id": {
                "x-scalar-ignore": true,
                "description": "The object type ID of the trigger.",
                "type": "integer"
              },
              "state": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The status of the automation.",
                "enum": [
                  "running",
                  "draft",
                  "stopped"
                ]
              },
              "tags": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of tags you set on this automation.",
                "items": {
                  "type": "string"
                },
                "example": [
                  "new",
                  "welcome"
                ]
              },
              "type": {
                "type": "string",
                "deprecated": true,
                "description": "The type of automation trigger. **Sunsetting on March 30, 2025**",
                "enum": [
                  "object"
                ]
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              }
            }
          },
          {
            "title": "Webhook",
            "type": "object",
            "properties": {
              "actions": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of actions contained within the automation.",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "description": "The identifier for the action.",
                      "example": 259
                    },
                    "type": {
                      "type": "string",
                      "description": "The action type.",
                      "example": "email"
                    }
                  }
                }
              },
              "active": {
                "x-scalar-ignore": true,
                "type": "boolean",
                "description": "If true, the automation is active and can still send messages."
              },
              "created": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was created.",
                "example": 1552341937,
                "readOnly": true
              },
              "deduplicate_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "readOnly": true,
                "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated.",
                "example": "15:1492548073"
              },
              "description": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The description of the automation, if one was set.",
                "example": "Sends a welcome series to new trial signups."
              },
              "first_started": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date and time when you first started the automation and it first became eligible to be triggered.",
                "example": 1552341937
              },
              "id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an automation.",
                "type": "integer",
                "example": 5
              },
              "name": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The name of the automation.",
                "readOnly": true
              },
              "state": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The status of the automation.",
                "enum": [
                  "running",
                  "draft",
                  "stopped"
                ]
              },
              "tags": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "An array of tags you set on this automation.",
                "items": {
                  "type": "string"
                },
                "example": [
                  "new",
                  "welcome"
                ]
              },
              "type": {
                "type": "string",
                "deprecated": true,
                "description": "The type of automation trigger. **Sunsetting on March 30, 2025**",
                "enum": [
                  "webhook"
                ]
              },
              "updated": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The date time when the referenced ID was last updated.",
                "example": 1552341937,
                "readOnly": true
              },
              "webhook_id": {
                "description": "The ID of the webhook trigger generated by Customer.io.",
                "type": "integer"
              }
            }
          }
        ]
      },
      "esp_suppression": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "The reason the addresses are suppressed.",
            "enum": [
              "bounces",
              "spam"
            ],
            "example": "bounces"
          },
          "suppressions": {
            "type": "array",
            "description": "The addresses suppressed in this category.",
            "items": {
              "type": "object",
              "properties": {
                "created": {
                  "type": "integer",
                  "format": "Unix timestamp",
                  "description": "The timestamp (in seconds), when the ESP suppressed the address.",
                  "example": 1650895738
                },
                "email": {
                  "type": "string",
                  "description": "The email address that the ESP suppressed.",
                  "example": "bounced.person@example.com"
                },
                "reason": {
                  "type": "string",
                  "description": "The reason for the suppression, as [recorded by Mailgun](https://documentation.mailgun.com/en/latest/api-suppressions.html).",
                  "example": "Uploaded manually via api.customer.io"
                },
                "status": {
                  "type": "string",
                  "description": "The status code for the suppression, as [recorded by mailgun](https://documentation.mailgun.com/en/latest/api-suppressions.html). This is normally `550`.",
                  "example": "550"
                }
              }
            }
          }
        }
      },
      "pushTitle": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The title of your push notification."
      },
      "pushBody": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The body of your push notification."
      },
      "pushLink": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "A deep link (to a page in your app), or a link to a web page."
      },
      "pushImage": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The URL of an HTTPS image that you want to use for your message."
      },
      "customAndroidProps": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Properties supported specifically by Android on FCM.",
        "properties": {
          "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": "String resource key used to localize the body text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
          },
          "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."
          },
          "color": {
            "type": "string",
            "description": "The notification's icon color in `#rrggbb` format."
          },
          "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."
          },
          "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/`."
          },
          "tag": {
            "type": "string",
            "description": "An identifier you use to replace an existing notification. If a notification with the same tag is already showing, the new one replaces it. Leave it empty to create a new notification each time."
          },
          "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": "String resource key used to localize the title text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
          }
        }
      },
      "allAndroidProps": {
        "x-scalar-ignore": true,
        "properties": {
          "body": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The body of your push notification."
          },
          "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": "String resource key used to localize the body text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
          },
          "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."
          },
          "color": {
            "type": "string",
            "description": "The notification's icon color in `#rrggbb` format."
          },
          "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."
          },
          "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/`."
          },
          "tag": {
            "type": "string",
            "description": "An identifier you use to replace an existing notification. If a notification with the same tag is already showing, the new one replaces it. Leave it empty to create a new notification each time."
          },
          "title": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The title of your push 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": "String resource key used to localize the title text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
          }
        },
        "description": "Properties supported specifically by Android on FCM."
      },
      "fcmBasicPush": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "object",
            "description": "The parent object for all custom push payloads.",
            "required": [
              "notification"
            ],
            "properties": {
              "notification": {
                "type": "object",
                "required": [
                  "body"
                ],
                "description": "Contains properties interpreted by the SDK except for the `link`.",
                "properties": {
                  "body": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The body of your push notification."
                  },
                  "image": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The URL of an HTTPS image that you want to use for your message."
                  },
                  "title": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The title of your push notification."
                  }
                }
              },
              "data": {
                "type": "object",
                "description": "Contains the `link` property (interpreted by the SDK) and additional properties that you want to pass to your app.",
                "properties": {
                  "link": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A deep link (to a page in your app), or a link to a web page."
                  }
                }
              }
            }
          }
        }
      },
      "fcmAndroidWithSdk": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "description": "The parent object for all push payloads.",
            "oneOf": [
              {
                "title": "Data object only",
                "type": "object",
                "required": [
                  "data"
                ],
                "properties": {
                  "data": {
                    "type": "object",
                    "description": "Contains all properties interpreted by the SDK.",
                    "properties": {
                      "body": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The body of your push notification."
                      },
                      "image": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The URL of an HTTPS image that you want to use for your message."
                      },
                      "link": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A deep link (to a page in your app), or a link to a web page."
                      },
                      "title": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The title of your push notification."
                      }
                    }
                  },
                  "android": {
                    "type": "object",
                    "description": "Contains properties that are **not** interpreted by the SDK but are defined by FCM. You need to write your own code to handle these Android push features.",
                    "properties": {
                      "notification": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "Properties supported specifically by Android on FCM.",
                        "properties": {
                          "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": "String resource key used to localize the body text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                          },
                          "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."
                          },
                          "color": {
                            "type": "string",
                            "description": "The notification's icon color in `#rrggbb` format."
                          },
                          "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."
                          },
                          "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/`."
                          },
                          "tag": {
                            "type": "string",
                            "description": "An identifier you use to replace an existing notification. If a notification with the same tag is already showing, the new one replaces it. Leave it empty to create a new notification each time."
                          },
                          "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": "String resource key used to localize the title text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                          }
                        }
                      }
                    }
                  }
                }
              },
              {
                "title": "Notification and data object",
                "type": "object",
                "required": [
                  "notification"
                ],
                "properties": {
                  "notification": {
                    "type": "object",
                    "description": "Contains properties interpreted by the SDK except for the `link`.",
                    "properties": {
                      "body": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The body of your push notification."
                      },
                      "image": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The URL of an HTTPS image that you want to use for your message."
                      },
                      "title": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The title of your push notification."
                      }
                    }
                  },
                  "android": {
                    "type": "object",
                    "description": "Contains properties that are **not** interpreted by the SDK but are defined by FCM. You need to write your own code to handle these Android push features.",
                    "properties": {
                      "notification": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "Properties supported specifically by Android on FCM.",
                        "properties": {
                          "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": "String resource key used to localize the body text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                          },
                          "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."
                          },
                          "color": {
                            "type": "string",
                            "description": "The notification's icon color in `#rrggbb` format."
                          },
                          "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."
                          },
                          "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/`."
                          },
                          "tag": {
                            "type": "string",
                            "description": "An identifier you use to replace an existing notification. If a notification with the same tag is already showing, the new one replaces it. Leave it empty to create a new notification each time."
                          },
                          "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": "String resource key used to localize the title text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                          }
                        }
                      }
                    }
                  },
                  "data": {
                    "type": "object",
                    "description": "Contains the `link` property (interpreted by the SDK) and additional properties that you want to pass to your app.",
                    "properties": {
                      "link": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A deep link (to a page in your app), or a link to a web page."
                      }
                    }
                  }
                }
              }
            ]
          }
        }
      },
      "fcmAndroidWithoutSdk": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "A custom push payload for Android devices.",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "object",
            "description": "The parent object for Android custom push payloads.",
            "properties": {
              "android": {
                "type": "object",
                "description": "Contains custom push options for your notification.",
                "properties": {
                  "notification": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "description": "Properties supported specifically by Android on FCM.",
                    "properties": {
                      "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": "String resource key used to localize the body text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                      },
                      "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."
                      },
                      "color": {
                        "type": "string",
                        "description": "The notification's icon color in `#rrggbb` format."
                      },
                      "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."
                      },
                      "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/`."
                      },
                      "tag": {
                        "type": "string",
                        "description": "An identifier you use to replace an existing notification. If a notification with the same tag is already showing, the new one replaces it. Leave it empty to create a new notification each time."
                      },
                      "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": "String resource key used to localize the title text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                      }
                    }
                  }
                }
              },
              "data": {
                "type": "object",
                "description": "Contains key-value pairs that your app interprets.",
                "additionalProperties": {
                  "x-additionalPropertiesName": "Attachment Names",
                  "x-doNotRender": true,
                  "type": "string"
                }
              },
              "notification": {
                "type": "object",
                "description": "Contains the push body and title.",
                "properties": {
                  "body": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The body of your push notification."
                  },
                  "title": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The title of your push notification."
                  }
                }
              }
            }
          }
        }
      },
      "fcmAndroid": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "title": "SDK Integration",
            "type": "object",
            "required": [
              "message"
            ],
            "properties": {
              "message": {
                "x-scalar-ignore": true,
                "type": "object",
                "required": [
                  "message"
                ],
                "properties": {
                  "message": {
                    "description": "The parent object for all push payloads.",
                    "oneOf": [
                      {
                        "title": "Data object only",
                        "type": "object",
                        "required": [
                          "data"
                        ],
                        "properties": {
                          "data": {
                            "type": "object",
                            "description": "Contains all properties interpreted by the SDK.",
                            "properties": {
                              "body": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The body of your push notification."
                              },
                              "image": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The URL of an HTTPS image that you want to use for your message."
                              },
                              "link": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "A deep link (to a page in your app), or a link to a web page."
                              },
                              "title": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The title of your push notification."
                              }
                            }
                          },
                          "android": {
                            "type": "object",
                            "description": "Contains properties that are **not** interpreted by the SDK but are defined by FCM. You need to write your own code to handle these Android push features.",
                            "properties": {
                              "notification": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "Properties supported specifically by Android on FCM.",
                                "properties": {
                                  "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": "String resource key used to localize the body text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                                  },
                                  "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."
                                  },
                                  "color": {
                                    "type": "string",
                                    "description": "The notification's icon color in `#rrggbb` format."
                                  },
                                  "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."
                                  },
                                  "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/`."
                                  },
                                  "tag": {
                                    "type": "string",
                                    "description": "An identifier you use to replace an existing notification. If a notification with the same tag is already showing, the new one replaces it. Leave it empty to create a new notification each time."
                                  },
                                  "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": "String resource key used to localize the title text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                      {
                        "title": "Notification and data object",
                        "type": "object",
                        "required": [
                          "notification"
                        ],
                        "properties": {
                          "notification": {
                            "type": "object",
                            "description": "Contains properties interpreted by the SDK except for the `link`.",
                            "properties": {
                              "body": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The body of your push notification."
                              },
                              "image": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The URL of an HTTPS image that you want to use for your message."
                              },
                              "title": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The title of your push notification."
                              }
                            }
                          },
                          "android": {
                            "type": "object",
                            "description": "Contains properties that are **not** interpreted by the SDK but are defined by FCM. You need to write your own code to handle these Android push features.",
                            "properties": {
                              "notification": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "Properties supported specifically by Android on FCM.",
                                "properties": {
                                  "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": "String resource key used to localize the body text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                                  },
                                  "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."
                                  },
                                  "color": {
                                    "type": "string",
                                    "description": "The notification's icon color in `#rrggbb` format."
                                  },
                                  "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."
                                  },
                                  "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/`."
                                  },
                                  "tag": {
                                    "type": "string",
                                    "description": "An identifier you use to replace an existing notification. If a notification with the same tag is already showing, the new one replaces it. Leave it empty to create a new notification each time."
                                  },
                                  "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": "String resource key used to localize the title text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                                  }
                                }
                              }
                            }
                          },
                          "data": {
                            "type": "object",
                            "description": "Contains the `link` property (interpreted by the SDK) and additional properties that you want to pass to your app.",
                            "properties": {
                              "link": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "A deep link (to a page in your app), or a link to a web page."
                              }
                            }
                          }
                        }
                      }
                    ]
                  }
                }
              }
            }
          },
          {
            "title": "Custom Integration",
            "type": "object",
            "required": [
              "message"
            ],
            "properties": {
              "message": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "A custom push payload for Android devices.",
                "required": [
                  "message"
                ],
                "properties": {
                  "message": {
                    "type": "object",
                    "description": "The parent object for Android custom push payloads.",
                    "properties": {
                      "android": {
                        "type": "object",
                        "description": "Contains custom push options for your notification.",
                        "properties": {
                          "notification": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "Properties supported specifically by Android on FCM.",
                            "properties": {
                              "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": "String resource key used to localize the body text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                              },
                              "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."
                              },
                              "color": {
                                "type": "string",
                                "description": "The notification's icon color in `#rrggbb` format."
                              },
                              "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."
                              },
                              "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/`."
                              },
                              "tag": {
                                "type": "string",
                                "description": "An identifier you use to replace an existing notification. If a notification with the same tag is already showing, the new one replaces it. Leave it empty to create a new notification each time."
                              },
                              "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": "String resource key used to localize the title text. See Android [String resources](https://developer.android.com/guide/topics/resources/string-resource/)."
                              }
                            }
                          }
                        }
                      },
                      "data": {
                        "type": "object",
                        "description": "Contains key-value pairs that your app interprets.",
                        "additionalProperties": {
                          "x-additionalPropertiesName": "Attachment Names",
                          "x-doNotRender": true,
                          "type": "string"
                        }
                      },
                      "notification": {
                        "type": "object",
                        "description": "Contains the push body and title.",
                        "properties": {
                          "body": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The body of your push notification."
                          },
                          "title": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The title of your push notification."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "iosSharedOptions": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "A push payload intended for an iOS device.",
        "properties": {
          "alert": {
            "oneOf": [
              {
                "title": "Simple alert",
                "type": "string",
                "description": "A simple alert message."
              },
              {
                "title": "Complex alert",
                "type": "object",
                "properties": {
                  "body": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The body of your push notification."
                  },
                  "launch-image": {
                    "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.",
                    "type": "string"
                  },
                  "loc-args": {
                    "type": "array",
                    "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.",
                    "items": {
                      "type": "string"
                    }
                  },
                  "loc-key": {
                    "description": "The key for a localized message string in your app’s Localizable.strings file.",
                    "type": "string"
                  },
                  "subtitle": {
                    "description": "Additional information that explains the purpose of the notification.",
                    "type": "string"
                  },
                  "subtitle-loc-args": {
                    "type": "array",
                    "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.",
                    "items": {
                      "type": "string"
                    }
                  },
                  "subtitle-loc-key": {
                    "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                    "type": "string"
                  },
                  "title": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The title of your push notification."
                  },
                  "title-loc-args": {
                    "type": "array",
                    "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.",
                    "items": {
                      "type": "string"
                    }
                  },
                  "title-loc-key": {
                    "description": "The key for a localized title string in your app’s Localizable.strings files.",
                    "type": "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."
          },
          "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."
          },
          "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."
          },
          "interruption-level": {
            "type": "string",
            "description": "Indicates the importance and delivery timing of a notification.",
            "enum": [
              "passive",
              "active",
              "time-sensitive",
              "critical"
            ]
          },
          "mutable-content": {
            "type": "integer",
            "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
          },
          "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."
          },
          "sound": {
            "oneOf": [
              {
                "title": "Regular alert",
                "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. For critical alerts, you'll pass an object instead."
              },
              {
                "title": "Critical alert",
                "type": "object",
                "properties": {
                  "critical": {
                    "type": "integer",
                    "description": "1 indicates critical. 0 is not critical."
                  },
                  "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."
                  }
                }
              }
            ]
          },
          "target-content-id": {
            "type": "string",
            "description": "The identifier of the window brought forward."
          },
          "thread-id": {
            "type": "string",
            "description": "An identifier to group related notifications."
          }
        }
      },
      "fcmIosWithSdk": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "object",
            "description": "The base object for all FCM payloads.",
            "required": [
              "apns"
            ],
            "properties": {
              "apns": {
                "type": "object",
                "required": [
                  "payload"
                ],
                "description": "Defines a payload for iOS devices sent through Firebase Cloud Messaging (FCM).",
                "properties": {
                  "payload": {
                    "type": "object",
                    "description": "Contains a push payload.",
                    "properties": {
                      "aps": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "A push payload intended for an iOS device.",
                        "properties": {
                          "alert": {
                            "oneOf": [
                              {
                                "title": "Simple alert",
                                "type": "string",
                                "description": "A simple alert message."
                              },
                              {
                                "title": "Complex alert",
                                "type": "object",
                                "properties": {
                                  "body": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The body of your push notification."
                                  },
                                  "launch-image": {
                                    "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.",
                                    "type": "string"
                                  },
                                  "loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "loc-key": {
                                    "description": "The key for a localized message string in your app’s Localizable.strings file.",
                                    "type": "string"
                                  },
                                  "subtitle": {
                                    "description": "Additional information that explains the purpose of the notification.",
                                    "type": "string"
                                  },
                                  "subtitle-loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "subtitle-loc-key": {
                                    "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                                    "type": "string"
                                  },
                                  "title": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The title of your push notification."
                                  },
                                  "title-loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "title-loc-key": {
                                    "description": "The key for a localized title string in your app’s Localizable.strings files.",
                                    "type": "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."
                          },
                          "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."
                          },
                          "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."
                          },
                          "interruption-level": {
                            "type": "string",
                            "description": "Indicates the importance and delivery timing of a notification.",
                            "enum": [
                              "passive",
                              "active",
                              "time-sensitive",
                              "critical"
                            ]
                          },
                          "mutable-content": {
                            "type": "integer",
                            "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
                          },
                          "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."
                          },
                          "sound": {
                            "oneOf": [
                              {
                                "title": "Regular alert",
                                "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. For critical alerts, you'll pass an object instead."
                              },
                              {
                                "title": "Critical alert",
                                "type": "object",
                                "properties": {
                                  "critical": {
                                    "type": "integer",
                                    "description": "1 indicates critical. 0 is not critical."
                                  },
                                  "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."
                                  }
                                }
                              }
                            ]
                          },
                          "target-content-id": {
                            "type": "string",
                            "description": "The identifier of the window brought forward."
                          },
                          "thread-id": {
                            "type": "string",
                            "description": "An identifier to group related notifications."
                          }
                        }
                      },
                      "CIO": {
                        "type": "object",
                        "description": "Contains properties interpreted by the Customer.io iOS SDK.",
                        "required": [
                          "push"
                        ],
                        "properties": {
                          "push": {
                            "type": "object",
                            "description": "A push payload for the iOS SDK.",
                            "properties": {
                              "body": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The body of your push notification."
                              },
                              "image": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The URL of an HTTPS image that you want to use for your message."
                              },
                              "link": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "A deep link (to a page in your app), or a link to a web page."
                              },
                              "title": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The title of your push notification."
                              }
                            }
                          }
                        }
                      }
                    },
                    "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"
                    }
                  },
                  "headers": {
                    "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.",
                    "type": "object"
                  }
                }
              }
            }
          }
        }
      },
      "fcmIosWithoutSdk": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "object",
            "required": [
              "apns"
            ],
            "description": "The base object for all Firebase payloads.",
            "properties": {
              "apns": {
                "type": "object",
                "description": "Defines a push notification for iOS devices.",
                "required": [
                  "payload"
                ],
                "properties": {
                  "payload": {
                    "type": "object",
                    "properties": {
                      "aps": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "A push payload intended for an iOS device.",
                        "properties": {
                          "alert": {
                            "oneOf": [
                              {
                                "title": "Simple alert",
                                "type": "string",
                                "description": "A simple alert message."
                              },
                              {
                                "title": "Complex alert",
                                "type": "object",
                                "properties": {
                                  "body": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The body of your push notification."
                                  },
                                  "launch-image": {
                                    "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.",
                                    "type": "string"
                                  },
                                  "loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "loc-key": {
                                    "description": "The key for a localized message string in your app’s Localizable.strings file.",
                                    "type": "string"
                                  },
                                  "subtitle": {
                                    "description": "Additional information that explains the purpose of the notification.",
                                    "type": "string"
                                  },
                                  "subtitle-loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "subtitle-loc-key": {
                                    "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                                    "type": "string"
                                  },
                                  "title": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The title of your push notification."
                                  },
                                  "title-loc-args": {
                                    "type": "array",
                                    "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.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "title-loc-key": {
                                    "description": "The key for a localized title string in your app’s Localizable.strings files.",
                                    "type": "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."
                          },
                          "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."
                          },
                          "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."
                          },
                          "interruption-level": {
                            "type": "string",
                            "description": "Indicates the importance and delivery timing of a notification.",
                            "enum": [
                              "passive",
                              "active",
                              "time-sensitive",
                              "critical"
                            ]
                          },
                          "mutable-content": {
                            "type": "integer",
                            "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
                          },
                          "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."
                          },
                          "sound": {
                            "oneOf": [
                              {
                                "title": "Regular alert",
                                "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. For critical alerts, you'll pass an object instead."
                              },
                              {
                                "title": "Critical alert",
                                "type": "object",
                                "properties": {
                                  "critical": {
                                    "type": "integer",
                                    "description": "1 indicates critical. 0 is not critical."
                                  },
                                  "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."
                                  }
                                }
                              }
                            ]
                          },
                          "target-content-id": {
                            "type": "string",
                            "description": "The identifier of the window brought forward."
                          },
                          "thread-id": {
                            "type": "string",
                            "description": "An identifier to group related notifications."
                          }
                        }
                      }
                    }
                  },
                  "headers": {
                    "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.",
                    "type": "object"
                  }
                }
              }
            }
          }
        }
      },
      "apsBasicPush": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "aps"
        ],
        "properties": {
          "aps": {
            "type": "object",
            "description": "A push payload intended for an iOS device.",
            "required": [
              "alert"
            ],
            "properties": {
              "alert": {
                "type": "object",
                "description": "An object containing the push title and body",
                "required": [
                  "body"
                ],
                "properties": {
                  "body": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The body of your push notification."
                  },
                  "title": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The title of your push notification."
                  }
                }
              }
            }
          },
          "CIO": {
            "type": "object",
            "required": [
              "push"
            ],
            "description": "Contains options supported by the Customer.io SDK.",
            "properties": {
              "push": {
                "type": "object",
                "description": "Describes push notification options supported by the CIO SDK.",
                "properties": {
                  "image": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The URL of an HTTPS image that you want to use for your message."
                  },
                  "link": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A deep link (to a page in your app), or a link to a web page."
                  }
                }
              }
            }
          }
        }
      },
      "apnsWithoutSdk": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "aps": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "A push payload intended for an iOS device.",
            "properties": {
              "alert": {
                "oneOf": [
                  {
                    "title": "Simple alert",
                    "type": "string",
                    "description": "A simple alert message."
                  },
                  {
                    "title": "Complex alert",
                    "type": "object",
                    "properties": {
                      "body": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The body of your push notification."
                      },
                      "launch-image": {
                        "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.",
                        "type": "string"
                      },
                      "loc-args": {
                        "type": "array",
                        "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.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "loc-key": {
                        "description": "The key for a localized message string in your app’s Localizable.strings file.",
                        "type": "string"
                      },
                      "subtitle": {
                        "description": "Additional information that explains the purpose of the notification.",
                        "type": "string"
                      },
                      "subtitle-loc-args": {
                        "type": "array",
                        "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.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "subtitle-loc-key": {
                        "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                        "type": "string"
                      },
                      "title": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The title of your push notification."
                      },
                      "title-loc-args": {
                        "type": "array",
                        "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.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "title-loc-key": {
                        "description": "The key for a localized title string in your app’s Localizable.strings files.",
                        "type": "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."
              },
              "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."
              },
              "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."
              },
              "interruption-level": {
                "type": "string",
                "description": "Indicates the importance and delivery timing of a notification.",
                "enum": [
                  "passive",
                  "active",
                  "time-sensitive",
                  "critical"
                ]
              },
              "mutable-content": {
                "type": "integer",
                "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
              },
              "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."
              },
              "sound": {
                "oneOf": [
                  {
                    "title": "Regular alert",
                    "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. For critical alerts, you'll pass an object instead."
                  },
                  {
                    "title": "Critical alert",
                    "type": "object",
                    "properties": {
                      "critical": {
                        "type": "integer",
                        "description": "1 indicates critical. 0 is not critical."
                      },
                      "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."
                      }
                    }
                  }
                ]
              },
              "target-content-id": {
                "type": "string",
                "description": "The identifier of the window brought forward."
              },
              "thread-id": {
                "type": "string",
                "description": "An identifier to group related notifications."
              }
            }
          }
        }
      },
      "iosFcmAndApns": {
        "x-scalar-ignore": true,
        "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).",
        "oneOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "required": [
              "message"
            ],
            "properties": {
              "message": {
                "type": "object",
                "description": "The base object for all FCM payloads.",
                "required": [
                  "apns"
                ],
                "properties": {
                  "apns": {
                    "type": "object",
                    "required": [
                      "payload"
                    ],
                    "description": "Defines a payload for iOS devices sent through Firebase Cloud Messaging (FCM).",
                    "properties": {
                      "payload": {
                        "type": "object",
                        "description": "Contains a push payload.",
                        "properties": {
                          "aps": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "A push payload intended for an iOS device.",
                            "properties": {
                              "alert": {
                                "oneOf": [
                                  {
                                    "title": "Simple alert",
                                    "type": "string",
                                    "description": "A simple alert message."
                                  },
                                  {
                                    "title": "Complex alert",
                                    "type": "object",
                                    "properties": {
                                      "body": {
                                        "x-scalar-ignore": true,
                                        "type": "string",
                                        "description": "The body of your push notification."
                                      },
                                      "launch-image": {
                                        "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.",
                                        "type": "string"
                                      },
                                      "loc-args": {
                                        "type": "array",
                                        "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.",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "loc-key": {
                                        "description": "The key for a localized message string in your app’s Localizable.strings file.",
                                        "type": "string"
                                      },
                                      "subtitle": {
                                        "description": "Additional information that explains the purpose of the notification.",
                                        "type": "string"
                                      },
                                      "subtitle-loc-args": {
                                        "type": "array",
                                        "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.",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "subtitle-loc-key": {
                                        "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                                        "type": "string"
                                      },
                                      "title": {
                                        "x-scalar-ignore": true,
                                        "type": "string",
                                        "description": "The title of your push notification."
                                      },
                                      "title-loc-args": {
                                        "type": "array",
                                        "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.",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "title-loc-key": {
                                        "description": "The key for a localized title string in your app’s Localizable.strings files.",
                                        "type": "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."
                              },
                              "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."
                              },
                              "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."
                              },
                              "interruption-level": {
                                "type": "string",
                                "description": "Indicates the importance and delivery timing of a notification.",
                                "enum": [
                                  "passive",
                                  "active",
                                  "time-sensitive",
                                  "critical"
                                ]
                              },
                              "mutable-content": {
                                "type": "integer",
                                "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
                              },
                              "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."
                              },
                              "sound": {
                                "oneOf": [
                                  {
                                    "title": "Regular alert",
                                    "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. For critical alerts, you'll pass an object instead."
                                  },
                                  {
                                    "title": "Critical alert",
                                    "type": "object",
                                    "properties": {
                                      "critical": {
                                        "type": "integer",
                                        "description": "1 indicates critical. 0 is not critical."
                                      },
                                      "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."
                                      }
                                    }
                                  }
                                ]
                              },
                              "target-content-id": {
                                "type": "string",
                                "description": "The identifier of the window brought forward."
                              },
                              "thread-id": {
                                "type": "string",
                                "description": "An identifier to group related notifications."
                              }
                            }
                          },
                          "CIO": {
                            "type": "object",
                            "description": "Contains properties interpreted by the Customer.io iOS SDK.",
                            "required": [
                              "push"
                            ],
                            "properties": {
                              "push": {
                                "type": "object",
                                "description": "A push payload for the iOS SDK.",
                                "properties": {
                                  "body": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The body of your push notification."
                                  },
                                  "image": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The URL of an HTTPS image that you want to use for your message."
                                  },
                                  "link": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "A deep link (to a page in your app), or a link to a web page."
                                  },
                                  "title": {
                                    "x-scalar-ignore": true,
                                    "type": "string",
                                    "description": "The title of your push notification."
                                  }
                                }
                              }
                            }
                          }
                        },
                        "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"
                        }
                      },
                      "headers": {
                        "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.",
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          {
            "x-scalar-ignore": true,
            "type": "object",
            "properties": {
              "aps": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "A push payload intended for an iOS device.",
                "properties": {
                  "alert": {
                    "oneOf": [
                      {
                        "title": "Simple alert",
                        "type": "string",
                        "description": "A simple alert message."
                      },
                      {
                        "title": "Complex alert",
                        "type": "object",
                        "properties": {
                          "body": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The body of your push notification."
                          },
                          "launch-image": {
                            "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.",
                            "type": "string"
                          },
                          "loc-args": {
                            "type": "array",
                            "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.",
                            "items": {
                              "type": "string"
                            }
                          },
                          "loc-key": {
                            "description": "The key for a localized message string in your app’s Localizable.strings file.",
                            "type": "string"
                          },
                          "subtitle": {
                            "description": "Additional information that explains the purpose of the notification.",
                            "type": "string"
                          },
                          "subtitle-loc-args": {
                            "type": "array",
                            "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.",
                            "items": {
                              "type": "string"
                            }
                          },
                          "subtitle-loc-key": {
                            "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                            "type": "string"
                          },
                          "title": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The title of your push notification."
                          },
                          "title-loc-args": {
                            "type": "array",
                            "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.",
                            "items": {
                              "type": "string"
                            }
                          },
                          "title-loc-key": {
                            "description": "The key for a localized title string in your app’s Localizable.strings files.",
                            "type": "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."
                  },
                  "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."
                  },
                  "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."
                  },
                  "interruption-level": {
                    "type": "string",
                    "description": "Indicates the importance and delivery timing of a notification.",
                    "enum": [
                      "passive",
                      "active",
                      "time-sensitive",
                      "critical"
                    ]
                  },
                  "mutable-content": {
                    "type": "integer",
                    "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
                  },
                  "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."
                  },
                  "sound": {
                    "oneOf": [
                      {
                        "title": "Regular alert",
                        "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. For critical alerts, you'll pass an object instead."
                      },
                      {
                        "title": "Critical alert",
                        "type": "object",
                        "properties": {
                          "critical": {
                            "type": "integer",
                            "description": "1 indicates critical. 0 is not critical."
                          },
                          "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."
                          }
                        }
                      }
                    ]
                  },
                  "target-content-id": {
                    "type": "string",
                    "description": "The identifier of the window brought forward."
                  },
                  "thread-id": {
                    "type": "string",
                    "description": "An identifier to group related notifications."
                  }
                }
              },
              "CIO": {
                "type": "object",
                "required": [
                  "push"
                ],
                "description": "Contains options supported by the Customer.io SDK.",
                "properties": {
                  "push": {
                    "type": "object",
                    "description": "Describes push notification options supported by the CIO SDK.",
                    "properties": {
                      "image": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The URL of an HTTPS image that you want to use for your message."
                      },
                      "link": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A deep link (to a page in your app), or a link to a web page."
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "apnsWithSdk": {
        "x-scalar-ignore": true,
        "type": "object",
        "properties": {
          "aps": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "A push payload intended for an iOS device.",
            "properties": {
              "alert": {
                "oneOf": [
                  {
                    "title": "Simple alert",
                    "type": "string",
                    "description": "A simple alert message."
                  },
                  {
                    "title": "Complex alert",
                    "type": "object",
                    "properties": {
                      "body": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The body of your push notification."
                      },
                      "launch-image": {
                        "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.",
                        "type": "string"
                      },
                      "loc-args": {
                        "type": "array",
                        "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.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "loc-key": {
                        "description": "The key for a localized message string in your app’s Localizable.strings file.",
                        "type": "string"
                      },
                      "subtitle": {
                        "description": "Additional information that explains the purpose of the notification.",
                        "type": "string"
                      },
                      "subtitle-loc-args": {
                        "type": "array",
                        "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.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "subtitle-loc-key": {
                        "description": "The key for a localized subtitle string in your app’s Localizable.strings file.",
                        "type": "string"
                      },
                      "title": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The title of your push notification."
                      },
                      "title-loc-args": {
                        "type": "array",
                        "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.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "title-loc-key": {
                        "description": "The key for a localized title string in your app’s Localizable.strings files.",
                        "type": "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."
              },
              "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."
              },
              "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."
              },
              "interruption-level": {
                "type": "string",
                "description": "Indicates the importance and delivery timing of a notification.",
                "enum": [
                  "passive",
                  "active",
                  "time-sensitive",
                  "critical"
                ]
              },
              "mutable-content": {
                "type": "integer",
                "description": "Set this to `1` if you use the Customer.io SDK, so you can support images and delivered metrics in your push notifications. It passes the notification to your service extension before delivery."
              },
              "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."
              },
              "sound": {
                "oneOf": [
                  {
                    "title": "Regular alert",
                    "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. For critical alerts, you'll pass an object instead."
                  },
                  {
                    "title": "Critical alert",
                    "type": "object",
                    "properties": {
                      "critical": {
                        "type": "integer",
                        "description": "1 indicates critical. 0 is not critical."
                      },
                      "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."
                      }
                    }
                  }
                ]
              },
              "target-content-id": {
                "type": "string",
                "description": "The identifier of the window brought forward."
              },
              "thread-id": {
                "type": "string",
                "description": "An identifier to group related notifications."
              }
            }
          },
          "CIO": {
            "type": "object",
            "required": [
              "push"
            ],
            "description": "Contains options supported by the Customer.io SDK.",
            "properties": {
              "push": {
                "type": "object",
                "description": "Describes push notification options supported by the CIO SDK.",
                "properties": {
                  "image": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The URL of an HTTPS image that you want to use for your message."
                  },
                  "link": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A deep link (to a page in your app), or a link to a web page."
                  }
                }
              }
            }
          }
        }
      },
      "widgetColor": {
        "x-scalar-ignore": true,
        "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)."
      },
      "widgetRadius": {
        "x-scalar-ignore": true,
        "type": "integer",
        "description": "Sets the radius of corners for an item in pixels, similar to the `border-radius` CSS property."
      },
      "widgetHeight": {
        "x-scalar-ignore": true,
        "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."
      },
      "widgetWidth": {
        "x-scalar-ignore": true,
        "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."
      },
      "widgetComponents": {
        "x-scalar-ignore": true,
        "description": "An array of child components that you want to make available inside this widget.",
        "type": "array",
        "items": {
          "type": "object"
        }
      },
      "widgetMainAxisAlignment": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The mainAxisAlignment property supports the following options.",
        "enum": [
          "start",
          "end",
          "spaceBetween",
          "spaceAround",
          "spaceEvenly"
        ]
      },
      "widgetCrossAxisAlignment": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The crossAxisAlignment property supports the following options",
        "enum": [
          "center",
          "start",
          "end",
          "center",
          "stretch",
          "baseline"
        ]
      },
      "textWidget": {
        "x-scalar-ignore": true,
        "description": "Displays text in your message.",
        "type": "object",
        "required": [
          "type",
          "text"
        ],
        "properties": {
          "text": {
            "type": "string",
            "description": "The text you want to display.",
            "example": "$person.name"
          },
          "type": {
            "type": "string",
            "description": "Defines the widget type.",
            "enum": [
              "textWidget"
            ]
          },
          "color": {
            "x-scalar-ignore": true,
            "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)."
          },
          "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": {
            "type": "string",
            "description": "Determines how to handle text that overflows the `maxLines` limit (if set). By default, we cut off overflowing text with ellipsis (`...`).",
            "enum": [
              "ellipsis",
              "fade",
              "clip"
            ]
          },
          "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)."
          },
          "textAlign": {
            "type": "string",
            "description": "How you want to align this text.",
            "enum": [
              "center",
              "right",
              "left",
              "start",
              "end",
              "justify"
            ]
          }
        }
      },
      "imageWidget": {
        "x-scalar-ignore": true,
        "description": "Displays an image. You can provide the URL of an image. Or, if you use the template designer, you can upload an image and host it directly.",
        "type": "object",
        "required": [
          "type",
          "image"
        ],
        "properties": {
          "image": {
            "description": "The URL of the image that you want ot use in your message.",
            "example": "$person.imageUrl"
          },
          "type": {
            "type": "string",
            "description": "Defines the widget type.",
            "enum": [
              "imageWidget"
            ]
          },
          "cornerRadius": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "Sets the radius of corners for an item in pixels, similar to the `border-radius` CSS property."
          },
          "fadeInDuration": {
            "type": "integer",
            "description": "The durration for the image to fade in, in milliseconds, similar to the `fadeIn` CSS transition property."
          },
          "fit": {
            "type": "string",
            "description": "Determines how the image fits your message. Defaults to `cover`.",
            "enum": [
              "none",
              "fitWidth",
              "cover",
              "contain",
              "scaleDown",
              "fill",
              "fitHeight"
            ]
          },
          "height": {
            "x-scalar-ignore": true,
            "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."
          },
          "width": {
            "x-scalar-ignore": true,
            "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."
          }
        }
      },
      "iconWidget": {
        "x-scalar-ignore": true,
        "description": "Displays an icon from an icon font that you've loaded into your app or project. You must load your icon font in the assets section of your app configuration.",
        "type": "object",
        "required": [
          "type",
          "color",
          "value"
        ],
        "properties": {
          "color": {
            "x-scalar-ignore": true,
            "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)."
          },
          "type": {
            "type": "string",
            "description": "Defines the widget type.",
            "enum": [
              "iconWidget"
            ]
          },
          "value": {
            "description": "The value of the icon that you want to use. For example, for font-awesome, you'd use the name of the icon.",
            "type": "string"
          },
          "font": {
            "description": "The icon font you want to use."
          },
          "size": {
            "description": "The pixel size of the icon.",
            "type": "integer"
          }
        }
      },
      "blockWidget": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "A widget that provides visual design for one or more child components.",
        "properties": {
          "backgroundColor": {
            "type": "string",
            "description": "The background color for your block. You must set a value defined under *Branding* > *Colors*."
          },
          "backgroundImage": {
            "type": "string",
            "description": "Set a background image for the block",
            "example": "$user.backgroundImage,"
          },
          "borderColor": {
            "type": "string",
            "description": "The border color for your block, if you set a border width greater than 0. You must set a value defined under *Branding* > *Colors*."
          },
          "borderRadius": {
            "x-scalar-ignore": true,
            "type": "integer",
            "description": "Sets the radius of corners for an item in pixels, similar to the `border-radius` CSS property."
          },
          "borderWidth": {
            "type": "integer",
            "description": "The width of the border for this block in pixels."
          },
          "components": {
            "x-scalar-ignore": true,
            "description": "An array of child components that you want to make available inside this widget.",
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "flex": {
            "type": "integer",
            "description": "The single digit syntax for the CSS `flex` property. The value you use here determines the propotional amount of space the block consumes in a parent container."
          },
          "height": {
            "x-scalar-ignore": true,
            "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."
          },
          "padding": {
            "type": "array",
            "description": "Defines padding for the block, based on the values set under *Branding* > *Padding*. As with the CSS `padding` property, values in the array represent top, right, bottom, and left padding.",
            "maxItems": 4,
            "items": {
              "type": "string",
              "description": "The padding label you set under *Branding* > *Padding*."
            }
          },
          "safeInsets": {
            "type": "boolean",
            "description": "Based on the env `safe-area-inset-*` CSS properties. Set to true to ensure that the block can't overflow the defined screen or the defined area of your message. Defaults to `false`.",
            "default": false
          },
          "type": {
            "type": "string",
            "description": "Defines the widget type.",
            "enum": [
              "blockWidget"
            ]
          }
        }
      },
      "conditionalWidget": {
        "x-scalar-ignore": true,
        "description": "Set a true/false condition determining which content to show. Use a variable in your condition to populate the condition when you set up your message in Customer.io.",
        "type": "object",
        "properties": {
          "condition": {
            "type": "string",
            "description": "The condition you want to evaluate. You can evaluate a condition using `>`, `<`, `==` & `in` operators. If you don't use an operator, the condition checks if the property is null."
          },
          "false": {
            "type": "object",
            "description": "The component you want to show when your condition is false."
          },
          "true": {
            "type": "object",
            "description": "The component you want to show when your condition is true."
          },
          "type": {
            "type": "string",
            "description": "Defines the widget type.",
            "enum": [
              "conditionalWidget"
            ]
          }
        }
      },
      "actionWidget": {
        "x-scalar-ignore": true,
        "description": "An action is either a link or a way to dismiss your message. The `behaviour` property determines how your app treats the action.",
        "type": "object",
        "required": [
          "type",
          "component",
          "action"
        ],
        "properties": {
          "action": {
            "type": "string",
            "description": "The link or place you want to send a person. This is either a deep link in your app, a web address, a `mailto` link, or a way to close the message (`gist://close`)."
          },
          "component": {
            "type": "object",
            "description": "The component a person taps to perform the action defined in this widget."
          },
          "type": {
            "type": "string",
            "description": "Defines the widget type.",
            "enum": [
              "actionWidget"
            ]
          },
          "behaviour": {
            "type": "string",
            "description": "Action behavior; `push` adds a route, `system` delegates to the OS, `back` pops one route, and `retain` replaces the current view.",
            "enum": [
              "push",
              "system",
              "back",
              "retain"
            ]
          }
        }
      },
      "fixedListWidget": {
        "x-scalar-ignore": true,
        "description": "Displays a series of components in a vertical list.",
        "type": "object",
        "properties": {
          "components": {
            "x-scalar-ignore": true,
            "description": "An array of child components that you want to make available inside this widget.",
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "crossAxisAlignment": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The crossAxisAlignment property supports the following options",
            "enum": [
              "center",
              "start",
              "end",
              "center",
              "stretch",
              "baseline"
            ]
          },
          "mainAxisAlignment": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The mainAxisAlignment property supports the following options.",
            "enum": [
              "start",
              "end",
              "spaceBetween",
              "spaceAround",
              "spaceEvenly"
            ]
          },
          "type": {
            "description": "Defines the widget type.",
            "enum": [
              "fixedListWidget"
            ]
          }
        }
      },
      "fixedHorizontalListWidget": {
        "x-scalar-ignore": true,
        "description": "Displays a series of components in a horizontal list, like if you want to put an image and text next to each other.",
        "type": "object",
        "properties": {
          "components": {
            "x-scalar-ignore": true,
            "description": "An array of child components that you want to make available inside this widget.",
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "crossAxisAlignment": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The crossAxisAlignment property supports the following options",
            "enum": [
              "center",
              "start",
              "end",
              "center",
              "stretch",
              "baseline"
            ]
          },
          "mainAxisAlignment": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The mainAxisAlignment property supports the following options.",
            "enum": [
              "start",
              "end",
              "spaceBetween",
              "spaceAround",
              "spaceEvenly"
            ]
          },
          "type": {
            "type": "string",
            "description": "Defines the widget type.",
            "enum": [
              "fixedHorizontalListWidget"
            ]
          }
        }
      },
      "fixedHorizontalScrollWidget": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "A series of components that you can scroll through, like a carousel.",
        "properties": {
          "components": {
            "x-scalar-ignore": true,
            "description": "An array of child components that you want to make available inside this widget.",
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "height": {
            "type": "integer",
            "description": "The height of the widget in pixels."
          },
          "type": {
            "type": "string",
            "description": "Defines the widget type",
            "enum": [
              "fixedHorizontalListScrollWidget"
            ]
          }
        }
      },
      "fixedGridWidget": {
        "x-scalar-ignore": true,
        "description": "Used to layout an in-app message in a fixed grid.",
        "type": "object",
        "required": [
          "type",
          "components",
          "columns"
        ],
        "properties": {
          "columns": {
            "type": "integer",
            "description": "The number of columns in your grid."
          },
          "components": {
            "x-scalar-ignore": true,
            "description": "An array of child components that you want to make available inside this widget.",
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "type": {
            "type": "string",
            "description": "Defines the widget type.",
            "enum": [
              "fixedGridWidget"
            ]
          },
          "childAspectRatio": {
            "type": "number",
            "description": "The aspect ratio for items in the grid. Defaults to 1.0"
          },
          "itemPadding": {
            "type": "string",
            "description": "The padding between items in your grid."
          }
        }
      },
      "inAppMessageEventDetail": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "An object containing message specific data depending on the event type.",
        "properties": {
          "deliveryId": {
            "type": "string",
            "description": "Delivery Id for the corresponding in-app message (not present in test message)."
          },
          "messageId": {
            "type": "string",
            "description": "Identifier string of the in-app message."
          }
        }
      },
      "inAppMessageOpenedEvent": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Event object passed to the listener function when user is shown an in-app message.",
        "properties": {
          "detail": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "An object containing message specific data depending on the event type.",
            "properties": {
              "deliveryId": {
                "type": "string",
                "description": "Delivery Id for the corresponding in-app message (not present in test message)."
              },
              "messageId": {
                "type": "string",
                "description": "Identifier string of the in-app message."
              }
            }
          },
          "type": {
            "type": "string",
            "description": "Defines the event type.",
            "enum": [
              "in-app:message-opened"
            ]
          }
        }
      },
      "inAppMessageDismissedEvent": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Event object passed to the listener function when user dismisses an in-app message.",
        "properties": {
          "detail": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "An object containing message specific data depending on the event type.",
            "properties": {
              "deliveryId": {
                "type": "string",
                "description": "Delivery Id for the corresponding in-app message (not present in test message)."
              },
              "messageId": {
                "type": "string",
                "description": "Identifier string of the in-app message."
              }
            }
          },
          "type": {
            "type": "string",
            "description": "Defines the event type.",
            "enum": [
              "in-app:message-dismissed"
            ]
          }
        }
      },
      "inAppMessageActionEvent": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Event object passed to the listener function when user performs an action in the in-app message.",
        "properties": {
          "detail": {
            "type": "object",
            "properties": {
              "actionName": {
                "type": "string",
                "description": "The name of the action specified when building the in-app message."
              },
              "actionValue": {
                "type": "string",
                "description": "The type of action that triggered the event."
              },
              "deliveryId": {
                "type": "string",
                "description": "Delivery Id for the corresponding in-app message (not present in test message)."
              },
              "messageId": {
                "type": "string",
                "description": "Identifier string of the in-app message."
              }
            }
          },
          "type": {
            "type": "string",
            "description": "Defines the event type.",
            "enum": [
              "in-app:message-action"
            ]
          }
        }
      },
      "inAppMessageErrorEvent": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Event object passed to the listener function when an error occurs.",
        "properties": {
          "detail": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "An object containing message specific data depending on the event type.",
            "properties": {
              "deliveryId": {
                "type": "string",
                "description": "Delivery Id for the corresponding in-app message (not present in test message)."
              },
              "messageId": {
                "type": "string",
                "description": "Identifier string of the in-app message."
              }
            }
          },
          "type": {
            "type": "string",
            "description": "Defines the event type.",
            "enum": [
              "in-app:message-error"
            ]
          }
        }
      },
      "errors": {
        "x-scalar-ignore": true,
        "type": "array",
        "description": "An array of errors, where each object represents a different error.",
        "items": {
          "type": "object",
          "properties": {
            "field": {
              "type": "string",
              "description": "The field containing the error."
            },
            "message": {
              "type": "string",
              "description": "A detailed description of the error in the offending field."
            },
            "reason": {
              "type": "string",
              "description": "The reason for the error."
            }
          }
        }
      },
      "object_operations": {
        "x-scalar-ignore": true,
        "title": "Object operations",
        "example": {
          "action": "identify",
          "identifiers": {
            "object_id": "acme",
            "object_type_id": "1"
          },
          "type": "object",
          "attributes": {
            "name": "Acme Corp"
          }
        },
        "oneOf": [
          {
            "example": {
              "action": "identify",
              "identifiers": {
                "object_id": "acme",
                "object_type_id": "1"
              },
              "type": "object",
              "attributes": {
                "name": "Acme Corp",
                "plan": "enterprise",
                "seats": 50
              }
            },
            "type": "object",
            "title": "Object: Identify",
            "description": "The `action` determines the type of operation you want to perform with an object. If `identifiers.object_id` does not exist, we'll create a new object; if it exists, we'll update the object accordingly.\n",
            "properties": {
              "action": {
                "type": "string",
                "description": "Indicates that the operation will `identify` the item of the specified `type`.",
                "enum": [
                  "identify"
                ]
              },
              "identifiers": {
                "description": "Custom object identifiers. To create, provide `object_type_id` and `object_id`; to update, use those values or `cio_object_id`.",
                "oneOf": [
                  {
                    "title": "Object ID (create and update)",
                    "type": "object",
                    "required": [
                      "object_type_id",
                      "object_id"
                    ],
                    "properties": {
                      "object_id": {
                        "type": "string",
                        "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                        "example": "acme"
                      },
                      "object_type_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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.",
                        "example": "1"
                      }
                    }
                  },
                  {
                    "title": "CIO Object ID (updates only)",
                    "type": "object",
                    "required": [
                      "cio_object_id"
                    ],
                    "properties": {
                      "cio_object_id": {
                        "type": "string",
                        "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                        "example": "obb7fd050101"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a single object—non person data.",
                "type": "string",
                "enum": [
                  "object"
                ]
              },
              "attributes": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "Data that belongs to the object. Pass `null` or an empty string to remove an attribute. Some attributes have special meaning—see [reserved attributes](/journeys/objects-data/objects/create/#reserved-attributes)."
              },
              "cio_relationships": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "The people you want to associate with an object. Each object in the array represents a person.",
                "items": {
                  "type": "object",
                  "properties": {
                    "identifiers": {
                      "oneOf": [
                        {
                          "title": "id",
                          "type": "object",
                          "properties": {
                            "id": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                              "example": "42"
                            }
                          }
                        },
                        {
                          "title": "email",
                          "type": "object",
                          "properties": {
                            "email": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "description": "The email address of the customer.",
                              "example": "test@example.com"
                            }
                          }
                        },
                        {
                          "title": "cio_id",
                          "type": "object",
                          "properties": {
                            "cio_id": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                              "example": "a3000001"
                            }
                          }
                        }
                      ]
                    },
                    "relationship_attributes": {
                      "type": "object",
                      "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                      "additionalProperties": {
                        "x-additionalPropertiesName": "Relationship Attributes"
                      }
                    }
                  },
                  "example": {
                    "identifiers": {
                      "id": "42"
                    },
                    "relationship_attributes": {
                      "role": "admin",
                      "date_created": 1702480414
                    }
                  }
                }
              }
            },
            "required": [
              "type",
              "identifiers",
              "action"
            ]
          },
          {
            "title": "Object: Identify anonymous",
            "description": "The `identify_anonymous` action lets you relate an object to a person who hasn't yet identified themselves by anonymous_id. When you identify the person, their anonymous relationship will carry over to the identified profile.",
            "example": {
              "action": "identify_anonymous",
              "identifiers": {
                "object_id": "acme",
                "object_type_id": "1"
              },
              "type": "object",
              "anonymous_id": "anon-abc-123"
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "Indicates that the operation will `identify` the item of the specified `type` and relate it to an `anonymous_id`.",
                "enum": [
                  "identify_anonymous"
                ]
              },
              "identifiers": {
                "description": "Custom object identifiers. To create, provide `object_type_id` and `object_id`; to update, use those values or `cio_object_id`.",
                "oneOf": [
                  {
                    "title": "Object ID (create and update)",
                    "type": "object",
                    "required": [
                      "object_type_id",
                      "object_id"
                    ],
                    "properties": {
                      "object_id": {
                        "type": "string",
                        "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                        "example": "acme"
                      },
                      "object_type_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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.",
                        "example": "1"
                      }
                    }
                  },
                  {
                    "title": "CIO Object ID (updates only)",
                    "type": "object",
                    "required": [
                      "cio_object_id"
                    ],
                    "properties": {
                      "cio_object_id": {
                        "type": "string",
                        "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                        "example": "obb7fd050101"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a single object—non person data.",
                "type": "string",
                "enum": [
                  "object"
                ]
              },
              "attributes": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "Data that belongs to the object. Pass `null` or an empty string to remove an attribute. Some attributes have special meaning—see [reserved attributes](/journeys/objects-data/objects/create/#reserved-attributes)."
              },
              "cio_relationships": {
                "type": "array",
                "description": "The anonymous people you want to associate with an object. Each object in the array contains an `anonymous_id` representing a person you haven't yet identified by `id` or `email`.",
                "items": {
                  "type": "object",
                  "properties": {
                    "identifiers": {
                      "type": "object",
                      "properties": {
                        "anonymous_id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "description": "An identifier for an anonymous event, like a cookie. If set as an attribute on a person, any events bearing the same anonymous value are associated with this person. This value must be unique and is not reusable."
                        }
                      }
                    },
                    "relationship_attributes": {
                      "type": "object",
                      "description": "Coming October 2023 - The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship."
                    }
                  }
                }
              }
            },
            "required": [
              "type",
              "identifiers",
              "action"
            ]
          },
          {
            "title": "Object: Delete",
            "description": "Delete an object. This also removes relationships from people.\n",
            "example": {
              "action": "delete",
              "type": "object",
              "identifiers": {
                "object_id": "acme",
                "object_type_id": "1"
              }
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "Indicates that the operation will `delete` the item of the specified `type`.",
                "enum": [
                  "delete"
                ]
              },
              "type": {
                "description": "The operation modifies a single object—non person data.",
                "type": "string",
                "enum": [
                  "object"
                ]
              },
              "identifiers": {
                "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
                "oneOf": [
                  {
                    "title": "Object ID",
                    "type": "object",
                    "required": [
                      "object_type_id",
                      "object_id"
                    ],
                    "properties": {
                      "object_id": {
                        "type": "string",
                        "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                        "example": "acme"
                      },
                      "object_type_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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.",
                        "example": "1"
                      }
                    }
                  },
                  {
                    "title": "CIO Object ID",
                    "type": "object",
                    "required": [
                      "cio_object_id"
                    ],
                    "properties": {
                      "cio_object_id": {
                        "type": "string",
                        "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                        "example": "obb7fd050101"
                      }
                    }
                  }
                ]
              }
            },
            "required": [
              "type",
              "action"
            ]
          },
          {
            "title": "Object: Add relationships",
            "description": "Add relationships between an object and one or more people.",
            "example": {
              "action": "add_relationships",
              "cio_relationships": [
                {
                  "identifiers": {
                    "id": "42"
                  },
                  "relationship_attributes": {
                    "role": "admin"
                  }
                }
              ],
              "type": "object",
              "identifiers": {
                "object_id": "acme",
                "object_type_id": "1"
              }
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "This operation associates an object with one or more people.",
                "enum": [
                  "add_relationships"
                ]
              },
              "cio_relationships": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "The people you want to associate with an object. Each object in the array represents a person.",
                "items": {
                  "type": "object",
                  "properties": {
                    "identifiers": {
                      "oneOf": [
                        {
                          "title": "id",
                          "type": "object",
                          "properties": {
                            "id": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                              "example": "42"
                            }
                          }
                        },
                        {
                          "title": "email",
                          "type": "object",
                          "properties": {
                            "email": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "description": "The email address of the customer.",
                              "example": "test@example.com"
                            }
                          }
                        },
                        {
                          "title": "cio_id",
                          "type": "object",
                          "properties": {
                            "cio_id": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                              "example": "a3000001"
                            }
                          }
                        }
                      ]
                    },
                    "relationship_attributes": {
                      "type": "object",
                      "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                      "additionalProperties": {
                        "x-additionalPropertiesName": "Relationship Attributes"
                      }
                    }
                  },
                  "example": {
                    "identifiers": {
                      "id": "42"
                    },
                    "relationship_attributes": {
                      "role": "admin",
                      "date_created": 1702480414
                    }
                  }
                }
              },
              "type": {
                "description": "The operation modifies a single object—non person data.",
                "type": "string",
                "enum": [
                  "object"
                ]
              },
              "identifiers": {
                "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
                "oneOf": [
                  {
                    "title": "Object ID",
                    "type": "object",
                    "required": [
                      "object_type_id",
                      "object_id"
                    ],
                    "properties": {
                      "object_id": {
                        "type": "string",
                        "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                        "example": "acme"
                      },
                      "object_type_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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.",
                        "example": "1"
                      }
                    }
                  },
                  {
                    "title": "CIO Object ID",
                    "type": "object",
                    "required": [
                      "cio_object_id"
                    ],
                    "properties": {
                      "cio_object_id": {
                        "type": "string",
                        "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                        "example": "obb7fd050101"
                      }
                    }
                  }
                ]
              }
            },
            "required": [
              "type",
              "action",
              "cio_relationships"
            ]
          },
          {
            "title": "Object: Delete relationships",
            "description": "Delete relationships between an object and one or more people.",
            "example": {
              "action": "delete_relationships",
              "cio_relationships": [
                {
                  "identifiers": {
                    "id": "42"
                  }
                }
              ],
              "type": "object",
              "identifiers": {
                "object_id": "acme",
                "object_type_id": "1"
              }
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "This operation deletes an object relationship from one or more people.",
                "enum": [
                  "delete_relationships"
                ]
              },
              "cio_relationships": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "The people you want to associate with an object. Each object in the array represents a person.",
                "items": {
                  "type": "object",
                  "properties": {
                    "identifiers": {
                      "oneOf": [
                        {
                          "title": "id",
                          "type": "object",
                          "properties": {
                            "id": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                              "example": "42"
                            }
                          }
                        },
                        {
                          "title": "email",
                          "type": "object",
                          "properties": {
                            "email": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "description": "The email address of the customer.",
                              "example": "test@example.com"
                            }
                          }
                        },
                        {
                          "title": "cio_id",
                          "type": "object",
                          "properties": {
                            "cio_id": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                              "example": "a3000001"
                            }
                          }
                        }
                      ]
                    },
                    "relationship_attributes": {
                      "type": "object",
                      "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                      "additionalProperties": {
                        "x-additionalPropertiesName": "Relationship Attributes"
                      }
                    }
                  },
                  "example": {
                    "identifiers": {
                      "id": "42"
                    },
                    "relationship_attributes": {
                      "role": "admin",
                      "date_created": 1702480414
                    }
                  }
                }
              },
              "type": {
                "description": "The operation modifies a single object—non person data.",
                "type": "string",
                "enum": [
                  "object"
                ]
              },
              "identifiers": {
                "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
                "oneOf": [
                  {
                    "title": "Object ID",
                    "type": "object",
                    "required": [
                      "object_type_id",
                      "object_id"
                    ],
                    "properties": {
                      "object_id": {
                        "type": "string",
                        "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                        "example": "acme"
                      },
                      "object_type_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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.",
                        "example": "1"
                      }
                    }
                  },
                  {
                    "title": "CIO Object ID",
                    "type": "object",
                    "required": [
                      "cio_object_id"
                    ],
                    "properties": {
                      "cio_object_id": {
                        "type": "string",
                        "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                        "example": "obb7fd050101"
                      }
                    }
                  }
                ]
              }
            },
            "required": [
              "type",
              "action",
              "cio_relationships"
            ]
          }
        ],
        "discriminator": {
          "propertyName": "action"
        }
      },
      "person_operations": {
        "x-scalar-ignore": true,
        "title": "Person operations",
        "example": {
          "action": "identify",
          "identifiers": {
            "id": "42"
          },
          "type": "person",
          "attributes": {
            "first_name": "Jane"
          }
        },
        "oneOf": [
          {
            "title": "Person: Identify",
            "description": "Add or update a person.",
            "example": {
              "action": "identify",
              "identifiers": {
                "id": "42"
              },
              "type": "person",
              "attributes": {
                "first_name": "Jane",
                "last_name": "Doe",
                "plan": "premium"
              }
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "Indicates that the operation will `identify` the item of the specified `type`.",
                "enum": [
                  "identify"
                ]
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              },
              "attributes": {
                "type": "object",
                "description": "Attributes that you want to add or update for this person. You can pass properties that aren't defined below to set custom attributes; the defined properties are reserved in the Customer.io Track API.",
                "properties": {
                  "_update": {
                    "type": "boolean",
                    "default": false,
                    "description": "If `true`, update only existing people and prevent accidental profile creation. If no person matches the identifiers, the request does nothing."
                  },
                  "cio_subscription_preferences": {
                    "x-scalar-ignore": true,
                    "description": "A person's [subscription center](/journeys/channels/subscriptions/center/) preferences. Use JSON dot notation, such as `cio_subscription_preferences.topics.topic_<id>`, to update one topic without replacing others.",
                    "type": "object",
                    "properties": {
                      "topics": {
                        "type": "object",
                        "description": "Contains active topics in your workspace, named `topic_<id>`.",
                        "additionalProperties": {
                          "x-additionalPropertiesName": "topic_<id>",
                          "description": "Boolean preference for a topic named `topic_<id>`; `true` subscribes, `false` unsubscribes, and empty or missing values use the topic default. Find topic IDs with [getTopics](/integrations/api/app/tag/subscription-center/getTopics/).",
                          "type": "boolean"
                        }
                      }
                    },
                    "example": {
                      "topics": {
                        "topic_1": true,
                        "topic_2": false,
                        "topic_3": true
                      }
                    }
                  }
                },
                "additionalProperties": {
                  "x-additionalPropertiesName": "additional attributes",
                  "description": "Custom properties that you want to set as attributes on this person."
                }
              },
              "cio_relationships": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "Each object in the array represents a relationship you want to add to, or remove from, a person.",
                "items": {
                  "properties": {
                    "identifiers": {
                      "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
                      "oneOf": [
                        {
                          "title": "Object ID",
                          "type": "object",
                          "required": [
                            "object_type_id",
                            "object_id"
                          ],
                          "properties": {
                            "object_id": {
                              "type": "string",
                              "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                              "example": "acme"
                            },
                            "object_type_id": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "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.",
                              "example": "1"
                            }
                          }
                        },
                        {
                          "title": "CIO Object ID",
                          "type": "object",
                          "required": [
                            "cio_object_id"
                          ],
                          "properties": {
                            "cio_object_id": {
                              "type": "string",
                              "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                              "example": "obb7fd050101"
                            }
                          }
                        }
                      ]
                    },
                    "relationship_attributes": {
                      "x-scalar-ignore": true,
                      "type": "object",
                      "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                      "additionalProperties": {
                        "x-additionalPropertiesName": "Relationship Attributes"
                      },
                      "example": {
                        "role": "admin"
                      }
                    }
                  }
                }
              },
              "timestamp": {
                "type": "integer",
                "description": "The Unix timestamp for when the attribute update occurred. This can be used to control the order of attribute updates when multiple requests are sent in rapid succession.",
                "example": 1772013598
              }
            },
            "required": [
              "type",
              "identifiers",
              "action"
            ]
          },
          {
            "title": "Person: Delete",
            "description": "Delete a person from your workspace.",
            "example": {
              "action": "delete",
              "identifiers": {
                "id": "42"
              },
              "type": "person"
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "Indicates that the operation will `delete` the item of the specified `type`.",
                "enum": [
                  "delete"
                ]
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              }
            },
            "required": [
              "type",
              "identifiers",
              "action"
            ]
          },
          {
            "title": "Person: Event",
            "description": "A custom event attributed to a person. You can use events to trigger automations, or reference event information using liquid in your messages.",
            "example": {
              "action": "event",
              "identifiers": {
                "id": "42"
              },
              "name": "purchase",
              "type": "person",
              "attributes": {
                "product": "Widget",
                "price": 29.99
              }
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "A custom event attributed to the specified person.",
                "enum": [
                  "event"
                ]
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "name": {
                "type": "string",
                "description": "The name of the event. This is how you'll find your event in Customer.io or select it when using events as automation triggers."
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              },
              "attributes": {
                "type": "object",
                "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on the identified person.\n",
                "additionalProperties": {
                  "x-additionalPropertiesName": "liquid merge data",
                  "description": "Insert key-values that you want to reference in your message here."
                },
                "properties": {
                  "from_address": {
                    "type": "string",
                    "format": "email",
                    "description": "The address you want to trigger messages from, overriding the `from` field in emails triggered by the event."
                  },
                  "recipient": {
                    "type": "string",
                    "format": "email",
                    "description": "The email address of the person associated with the event, overriding the `to` field in emails triggered by the event."
                  },
                  "reply_to": {
                    "type": "string",
                    "format": "email",
                    "description": "The address you want to receive replies to, overriding the `reply to` field for emails triggered by the event."
                  }
                }
              },
              "id": {
                "type": "string",
                "format": "ULID",
                "description": "A valid ULID used to deduplicate events. Note - our Python and Ruby libraries do not pass this id."
              },
              "timestamp": {
                "type": "integer",
                "description": "The Unix timestamp when the event happened."
              }
            },
            "required": [
              "type",
              "identifiers",
              "action",
              "name"
            ]
          },
          {
            "title": "Person: Screen view",
            "description": "A mobile \"screenview\" event attributed to a person. Our `screen` and `page` event types are more specific than our standard `event`, and help you track and target people based on the pages people visit in your mobile app or website.",
            "example": {
              "action": "screen",
              "identifiers": {
                "id": "42"
              },
              "name": "Dashboard",
              "type": "person",
              "attributes": {
                "app_version": "2.1.0"
              }
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "A mobile \"screenview\" event attributed to a person. Our `screen` and `page` event types are more specific than our standard `event`, and help you track and target people based on the pages people visit in your mobile app or website.",
                "enum": [
                  "screen"
                ]
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "name": {
                "type": "string",
                "description": "The name of the screen a person visited. This is how you'll find and select screen view events in Customer.io."
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              },
              "attributes": {
                "type": "object",
                "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on the identified person.",
                "additionalProperties": {
                  "x-additionalPropertiesName": "liquid merge data",
                  "description": "Insert key-values that you want to reference in your message here."
                }
              },
              "id": {
                "type": "string",
                "format": "ULID",
                "description": "A valid ULID used to deduplicate events. Note - our Python and Ruby libraries do not pass this id."
              },
              "timestamp": {
                "type": "integer",
                "description": "The Unix timestamp when the event happened."
              }
            },
            "required": [
              "type",
              "identifiers",
              "action",
              "name"
            ]
          },
          {
            "title": "Person: Page view",
            "description": "A web \"pageview\" event attributed to a person. Our `screen` and `page` event types are more specific than our standard `event`, and help you track and target people based on the pages people visit in your mobile app or website.",
            "example": {
              "action": "page",
              "identifiers": {
                "id": "42"
              },
              "name": "/pricing",
              "type": "person",
              "attributes": {
                "referrer": "https://example.com"
              }
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "A web \"pageview\" event attributed to a person. Our `screen` and `page` event types are more specific than our standard `event`, and help you track and target people based on the pages people visit in your mobile app or website.",
                "enum": [
                  "page"
                ]
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "name": {
                "type": "string",
                "description": "The name of the page or page path that a person visited. This is how you'll find and select page view events in Customer.io."
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              },
              "attributes": {
                "type": "object",
                "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on the identified person.",
                "properties": {
                  "keywords": {
                    "type": "array",
                    "description": "Page-content keywords, typically like HTML meta keywords. Mainly for publishers with pageview tracking; not collected automatically.",
                    "items": {
                      "type": "string"
                    }
                  },
                  "path": {
                    "type": "string",
                    "description": "The path portion of the page's URL. Equivalent to the canonical `path` which defaults to `location.pathname` from the DOM API."
                  },
                  "referrer": {
                    "type": "string",
                    "description": "The previous page's full URL. Equivalent to `document.referrer` from the DOM API."
                  },
                  "search": {
                    "type": "string",
                    "description": "The query string portion of the page's URL. Equivalent to `location.search` from the DOM API."
                  },
                  "title": {
                    "type": "string",
                    "description": "The page's title. Equivalent to `document.title` from the DOM API."
                  },
                  "url": {
                    "type": "string",
                    "description": "A page's full URL. We first look for the canonical URL. If the canonical URL is not provided, we'll use `location.href` from the DOM API."
                  }
                },
                "additionalProperties": {
                  "x-additionalPropertiesName": "liquid merge data",
                  "description": "Insert key-values that you want to reference in your message here."
                }
              },
              "id": {
                "type": "string",
                "format": "ULID",
                "description": "A valid ULID used to deduplicate events. Note - our Python and Ruby libraries do not pass this id."
              },
              "timestamp": {
                "type": "integer",
                "description": "The Unix timestamp when the event happened."
              }
            },
            "required": [
              "type",
              "identifiers",
              "action",
              "name"
            ]
          },
          {
            "title": "Person: Add relationships",
            "description": "Associate multiple objects with a person.",
            "example": {
              "action": "add_relationships",
              "cio_relationships": [
                {
                  "identifiers": {
                    "object_id": "acme",
                    "object_type_id": "1"
                  },
                  "relationship_attributes": {
                    "role": "admin"
                  }
                }
              ],
              "identifiers": {
                "id": "42"
              },
              "type": "person"
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "This operation associates a person with one or more objects.",
                "enum": [
                  "add_relationships"
                ]
              },
              "cio_relationships": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "Each object in the array represents a relationship you want to add to, or remove from, a person.",
                "items": {
                  "properties": {
                    "identifiers": {
                      "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
                      "oneOf": [
                        {
                          "title": "Object ID",
                          "type": "object",
                          "required": [
                            "object_type_id",
                            "object_id"
                          ],
                          "properties": {
                            "object_id": {
                              "type": "string",
                              "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                              "example": "acme"
                            },
                            "object_type_id": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "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.",
                              "example": "1"
                            }
                          }
                        },
                        {
                          "title": "CIO Object ID",
                          "type": "object",
                          "required": [
                            "cio_object_id"
                          ],
                          "properties": {
                            "cio_object_id": {
                              "type": "string",
                              "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                              "example": "obb7fd050101"
                            }
                          }
                        }
                      ]
                    },
                    "relationship_attributes": {
                      "x-scalar-ignore": true,
                      "type": "object",
                      "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                      "additionalProperties": {
                        "x-additionalPropertiesName": "Relationship Attributes"
                      },
                      "example": {
                        "role": "admin"
                      }
                    }
                  }
                }
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              }
            },
            "required": [
              "type",
              "identifiers",
              "action",
              "cio_relationships"
            ]
          },
          {
            "title": "Person: Delete relationships",
            "description": "Remove multiple object relationships from a person.",
            "example": {
              "action": "delete_relationships",
              "cio_relationships": [
                {
                  "identifiers": {
                    "object_id": "acme",
                    "object_type_id": "1"
                  }
                }
              ],
              "identifiers": {
                "id": "42"
              },
              "type": "person"
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "This operation deletes an object relationship from one or more people.",
                "enum": [
                  "delete_relationships"
                ]
              },
              "cio_relationships": {
                "x-scalar-ignore": true,
                "type": "array",
                "description": "Each object in the array represents a relationship you want to add to, or remove from, a person.",
                "items": {
                  "properties": {
                    "identifiers": {
                      "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
                      "oneOf": [
                        {
                          "title": "Object ID",
                          "type": "object",
                          "required": [
                            "object_type_id",
                            "object_id"
                          ],
                          "properties": {
                            "object_id": {
                              "type": "string",
                              "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                              "example": "acme"
                            },
                            "object_type_id": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "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.",
                              "example": "1"
                            }
                          }
                        },
                        {
                          "title": "CIO Object ID",
                          "type": "object",
                          "required": [
                            "cio_object_id"
                          ],
                          "properties": {
                            "cio_object_id": {
                              "type": "string",
                              "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                              "example": "obb7fd050101"
                            }
                          }
                        }
                      ]
                    },
                    "relationship_attributes": {
                      "x-scalar-ignore": true,
                      "type": "object",
                      "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                      "additionalProperties": {
                        "x-additionalPropertiesName": "Relationship Attributes"
                      },
                      "example": {
                        "role": "admin"
                      }
                    }
                  }
                }
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              }
            },
            "required": [
              "type",
              "identifiers",
              "action",
              "cio_relationships"
            ]
          },
          {
            "title": "Person: Add device",
            "description": "Assign devices to a person.",
            "example": {
              "action": "add_device",
              "device": {
                "platform": "ios",
                "token": "a83b219c-e756-4c5b-a8e3-d1a5c5b2f3c1",
                "last_used": 1713484800
              },
              "identifiers": {
                "id": "42"
              },
              "type": "person"
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "Add a mobile device to a person's profile.",
                "enum": [
                  "add_device"
                ]
              },
              "device": {
                "description": "Device properties collected by [Customer.io SDKs](/integrations/sdk/) unless `autoTrackDeviceAttributes` is disabled. You can reference them outside `attributes` in segments.",
                "properties": {
                  "platform": {
                    "type": "string",
                    "enum": [
                      "ios",
                      "android"
                    ],
                    "description": "The device/messaging platform."
                  },
                  "token": {
                    "description": "The device token.",
                    "type": "string"
                  },
                  "attributes": {
                    "type": "object",
                    "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.",
                    "properties": {
                      "_last_status": {
                        "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.",
                        "enum": [
                          "",
                          "bounced",
                          "sent",
                          "suppressed"
                        ]
                      },
                      "app_identifier": {
                        "type": "string",
                        "description": "The app that the device belongs to—the **Bundle ID / App identifier** you entered with that app's push credentials. If you have more than one app, we use this attribute to send push notifications to the right app. A device without an app identifier receives push notifications you send to your [default app](/messaging/channels/push/getting-started/#the-default-app)."
                      },
                      "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."
                      },
                      "cio_sdk_version": {
                        "type": "string",
                        "description": "The version of the Customer.io SDK in the app."
                      },
                      "device_locale": {
                        "type": "string",
                        "description": "The device's [IETF language code](/journeys/channels/localization/getting-started/#supported-languages), such as `en-MX` or `es-ES`."
                      },
                      "device_model": {
                        "type": "string",
                        "description": "The model of the device a person uses."
                      },
                      "device_os": {
                        "type": "string",
                        "description": "The operating system, including the version, on the device."
                      },
                      "push_enabled": {
                        "type": "string",
                        "description": "If `\"true\"`, the device is opted-in and can receive push notifications.",
                        "enum": [
                          "true",
                          "false"
                        ]
                      }
                    },
                    "additionalProperties": {
                      "x-additionalPropertiesName": "Custom Device Attributes",
                      "description": "Custom properties that you want to associate with the device.",
                      "type": "string"
                    }
                  },
                  "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."
                  }
                },
                "required": [
                  "token",
                  "platform"
                ]
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              }
            },
            "required": [
              "type",
              "identifiers",
              "action",
              "device"
            ]
          },
          {
            "title": "Person: Delete device",
            "description": "Delete devices that belong to a person.",
            "example": {
              "action": "delete_device",
              "device": {
                "token": "a83b219c-e756-4c5b-a8e3-d1a5c5b2f3c1"
              },
              "identifiers": {
                "id": "42"
              },
              "type": "person"
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "Delete a device from a person's profile.",
                "enum": [
                  "delete_device"
                ]
              },
              "device": {
                "description": "The device you want to remove.",
                "type": "object",
                "required": [
                  "token"
                ],
                "properties": {
                  "token": {
                    "description": "The token of the device you want to remove.",
                    "type": "string"
                  }
                }
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              }
            },
            "required": [
              "type",
              "identifiers",
              "action",
              "device"
            ]
          },
          {
            "title": "Person: Merge",
            "example": {
              "primary": {
                "id": "42"
              },
              "secondary": {
                "id": "known-user-456"
              }
            },
            "type": "object",
            "description": "Merges `secondary` into `primary`, then deletes `secondary`. The operation is not reversible, and `primary` must already exist. See [merging duplicate people](/journeys/people/manage/merge-people/).",
            "required": [
              "type",
              "primary",
              "secondary",
              "action"
            ],
            "properties": {
              "action": {
                "type": "string",
                "description": "Merges `secondary` into `primary`, then deletes `secondary`. Not reversible; see [merging duplicate people](/journeys/people/manage/merge-people/).",
                "enum": [
                  "merge"
                ]
              },
              "primary": {
                "description": "The person who remains after the merge, identified by `id`, `email`, or `cio_id`. If email identifiers are disabled in [workspace settings](https://fly.customer.io/workspaces/last/settings/edit), use `id` or `cio_id`.",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "secondary": {
                "description": "The person deleted after the merge, identified by `id`, `email`, or `cio_id`. If email identifiers are disabled in [workspace settings](https://fly.customer.io/workspaces/last/settings/edit), use `id` or `cio_id`.",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              }
            }
          },
          {
            "title": "Person: Suppress",
            "description": "Suppress a person's identifier(s) in Customer.io, so that you can't message a person or add their identifiers back to your workspace. This is separate from suppressions performed by your email provider.",
            "example": {
              "action": "suppress",
              "identifiers": {
                "id": "42"
              },
              "type": "person"
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "Suppress a person's identifier(s) in Customer.io, so that you can't message a person or add their identifiers back to your workspace. This is separate from suppressions performed by your email provider.",
                "enum": [
                  "suppress"
                ]
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              }
            },
            "required": [
              "type",
              "identifiers",
              "action"
            ]
          },
          {
            "title": "Person: Unsuppress",
            "description": "Unsuppress a person's identifier(s) in Customer.io, so that you can message a person or add their identifiers back to your workspace. This does not unsuppress addresses that were previously suppressed by your email provider.",
            "example": {
              "action": "unsuppress",
              "identifiers": {
                "id": "42"
              },
              "type": "person"
            },
            "properties": {
              "action": {
                "type": "string",
                "description": "Unsuppress a person's identifier(s) in Customer.io, so that you can message a person or add their identifiers back to your workspace. This does not unsuppress addresses that were previously suppressed by your email provider.",
                "enum": [
                  "unsuppress"
                ]
              },
              "identifiers": {
                "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
                "oneOf": [
                  {
                    "title": "id",
                    "type": "object",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                        "example": "42"
                      }
                    }
                  },
                  {
                    "title": "email",
                    "type": "object",
                    "required": [
                      "email"
                    ],
                    "properties": {
                      "email": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      }
                    }
                  },
                  {
                    "title": "phone",
                    "type": "object",
                    "required": [
                      "phone"
                    ],
                    "properties": {
                      "phone": {
                        "type": "string",
                        "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                        "example": "+14155552671"
                      }
                    }
                  },
                  {
                    "title": "cio_id",
                    "type": "object",
                    "required": [
                      "cio_id"
                    ],
                    "properties": {
                      "cio_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                        "example": "a3000001"
                      }
                    }
                  }
                ]
              },
              "type": {
                "description": "The operation modifies a person in Customer.io",
                "type": "string",
                "enum": [
                  "person"
                ]
              }
            },
            "required": [
              "type",
              "identifiers",
              "action"
            ]
          }
        ],
        "discriminator": {
          "propertyName": "action"
        }
      },
      "person_common": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "type",
          "identifiers"
        ],
        "properties": {
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          }
        }
      },
      "person_attributes": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Attributes that you want to add or update for this person.",
        "properties": {
          "cio_subscription_preferences": {
            "x-scalar-ignore": true,
            "description": "A person's [subscription center](/journeys/channels/subscriptions/center/) preferences. Use JSON dot notation, such as `cio_subscription_preferences.topics.topic_<id>`, to update one topic without replacing others.",
            "type": "object",
            "properties": {
              "topics": {
                "type": "object",
                "description": "Contains active topics in your workspace, named `topic_<id>`.",
                "additionalProperties": {
                  "x-additionalPropertiesName": "topic_<id>",
                  "description": "Boolean preference for a topic named `topic_<id>`; `true` subscribes, `false` unsubscribes, and empty or missing values use the topic default. Find topic IDs with [getTopics](/integrations/api/app/tag/subscription-center/getTopics/).",
                  "type": "boolean"
                }
              }
            },
            "example": {
              "topics": {
                "topic_1": true,
                "topic_2": false,
                "topic_3": true
              }
            }
          }
        }
      },
      "object_relationships": {
        "x-scalar-ignore": true,
        "type": "array",
        "description": "Each object in the array represents a relationship you want to add to, or remove from, a person.",
        "items": {
          "properties": {
            "identifiers": {
              "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
              "oneOf": [
                {
                  "title": "Object ID",
                  "type": "object",
                  "required": [
                    "object_type_id",
                    "object_id"
                  ],
                  "properties": {
                    "object_id": {
                      "type": "string",
                      "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                      "example": "acme"
                    },
                    "object_type_id": {
                      "x-scalar-ignore": true,
                      "type": "string",
                      "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.",
                      "example": "1"
                    }
                  }
                },
                {
                  "title": "CIO Object ID",
                  "type": "object",
                  "required": [
                    "cio_object_id"
                  ],
                  "properties": {
                    "cio_object_id": {
                      "type": "string",
                      "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                      "example": "obb7fd050101"
                    }
                  }
                }
              ]
            },
            "relationship_attributes": {
              "x-scalar-ignore": true,
              "type": "object",
              "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
              "additionalProperties": {
                "x-additionalPropertiesName": "Relationship Attributes"
              },
              "example": {
                "role": "admin"
              }
            }
          }
        }
      },
      "relationship_attributes": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
        "additionalProperties": {
          "x-additionalPropertiesName": "Relationship Attributes"
        },
        "example": {
          "role": "admin"
        }
      },
      "object_attributes": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Data that belongs to the object. Pass `null` or an empty string to remove an attribute. Some attributes have special meaning—see [reserved attributes](/journeys/objects-data/objects/create/#reserved-attributes)."
      },
      "object_common_identify": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "type",
          "identifiers"
        ],
        "properties": {
          "identifiers": {
            "description": "Custom object identifiers. To create, provide `object_type_id` and `object_id`; to update, use those values or `cio_object_id`.",
            "oneOf": [
              {
                "title": "Object ID (create and update)",
                "type": "object",
                "required": [
                  "object_type_id",
                  "object_id"
                ],
                "properties": {
                  "object_id": {
                    "type": "string",
                    "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                    "example": "acme"
                  },
                  "object_type_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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.",
                    "example": "1"
                  }
                }
              },
              {
                "title": "CIO Object ID (updates only)",
                "type": "object",
                "required": [
                  "cio_object_id"
                ],
                "properties": {
                  "cio_object_id": {
                    "type": "string",
                    "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                    "example": "obb7fd050101"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a single object—non person data.",
            "type": "string",
            "enum": [
              "object"
            ]
          }
        }
      },
      "object_common": {
        "x-scalar-ignore": true,
        "properties": {
          "type": {
            "description": "The operation modifies a single object—non person data.",
            "type": "string",
            "enum": [
              "object"
            ]
          },
          "identifiers": {
            "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
            "oneOf": [
              {
                "title": "Object ID",
                "type": "object",
                "required": [
                  "object_type_id",
                  "object_id"
                ],
                "properties": {
                  "object_id": {
                    "type": "string",
                    "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                    "example": "acme"
                  },
                  "object_type_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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.",
                    "example": "1"
                  }
                }
              },
              {
                "title": "CIO Object ID",
                "type": "object",
                "required": [
                  "cio_object_id"
                ],
                "properties": {
                  "cio_object_id": {
                    "type": "string",
                    "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                    "example": "obb7fd050101"
                  }
                }
              }
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "v2_cio_relationships": {
        "x-scalar-ignore": true,
        "type": "array",
        "description": "The people you want to associate with an object. Each object in the array represents a person.",
        "items": {
          "type": "object",
          "properties": {
            "identifiers": {
              "oneOf": [
                {
                  "title": "id",
                  "type": "object",
                  "properties": {
                    "id": {
                      "x-scalar-ignore": true,
                      "type": "string",
                      "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                      "example": "42"
                    }
                  }
                },
                {
                  "title": "email",
                  "type": "object",
                  "properties": {
                    "email": {
                      "x-scalar-ignore": true,
                      "type": "string",
                      "description": "The email address of the customer.",
                      "example": "test@example.com"
                    }
                  }
                },
                {
                  "title": "cio_id",
                  "type": "object",
                  "properties": {
                    "cio_id": {
                      "x-scalar-ignore": true,
                      "type": "string",
                      "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                      "example": "a3000001"
                    }
                  }
                }
              ]
            },
            "relationship_attributes": {
              "type": "object",
              "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
              "additionalProperties": {
                "x-additionalPropertiesName": "Relationship Attributes"
              }
            }
          },
          "example": {
            "identifiers": {
              "id": "42"
            },
            "relationship_attributes": {
              "role": "admin",
              "date_created": 1702480414
            }
          }
        }
      },
      "v1_cio_relationships": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "Describes relationships to an entity—a non-person object in Customer.io, like a company, educational course, job board, etc.",
        "properties": {
          "action": {
            "type": "string",
            "description": "This determines whether the `relationships` array adds relationships to a person or removes them from a person.",
            "enum": [
              "add_relationships",
              "delete_relationships"
            ]
          },
          "relationships": {
            "x-scalar-ignore": true,
            "type": "array",
            "description": "Each object in the array represents a relationship you want to add to, or remove from, a person.",
            "items": {
              "properties": {
                "identifiers": {
                  "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
                  "oneOf": [
                    {
                      "title": "Object ID",
                      "type": "object",
                      "required": [
                        "object_type_id",
                        "object_id"
                      ],
                      "properties": {
                        "object_id": {
                          "type": "string",
                          "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                          "example": "acme"
                        },
                        "object_type_id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "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.",
                          "example": "1"
                        }
                      }
                    },
                    {
                      "title": "CIO Object ID",
                      "type": "object",
                      "required": [
                        "cio_object_id"
                      ],
                      "properties": {
                        "cio_object_id": {
                          "type": "string",
                          "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                          "example": "obb7fd050101"
                        }
                      }
                    }
                  ]
                },
                "relationship_attributes": {
                  "x-scalar-ignore": true,
                  "type": "object",
                  "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                  "additionalProperties": {
                    "x-additionalPropertiesName": "Relationship Attributes"
                  },
                  "example": {
                    "role": "admin"
                  }
                }
              }
            }
          }
        }
      },
      "track-metrics": {
        "x-scalar-ignore": true,
        "description": "The base properties shared across multiple metric types.",
        "type": "object",
        "required": [
          "delivery_id"
        ],
        "properties": {
          "delivery_id": {
            "type": "string",
            "description": "The CIO-Delivery-ID from the notification that you want to associate the `event` with.",
            "example": "RPILAgUBcRhIBqSfeiIwdIYJKxTY"
          },
          "timestamp": {
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        }
      },
      "object_identify": {
        "example": {
          "action": "identify",
          "identifiers": {
            "object_id": "acme",
            "object_type_id": "1"
          },
          "type": "object",
          "attributes": {
            "name": "Acme Corp",
            "plan": "enterprise",
            "seats": 50
          }
        },
        "type": "object",
        "title": "Object: Identify",
        "description": "The `action` determines the type of operation you want to perform with an object. If `identifiers.object_id` does not exist, we'll create a new object; if it exists, we'll update the object accordingly.\n",
        "properties": {
          "action": {
            "type": "string",
            "description": "Indicates that the operation will `identify` the item of the specified `type`.",
            "enum": [
              "identify"
            ]
          },
          "identifiers": {
            "description": "Custom object identifiers. To create, provide `object_type_id` and `object_id`; to update, use those values or `cio_object_id`.",
            "oneOf": [
              {
                "title": "Object ID (create and update)",
                "type": "object",
                "required": [
                  "object_type_id",
                  "object_id"
                ],
                "properties": {
                  "object_id": {
                    "type": "string",
                    "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                    "example": "acme"
                  },
                  "object_type_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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.",
                    "example": "1"
                  }
                }
              },
              {
                "title": "CIO Object ID (updates only)",
                "type": "object",
                "required": [
                  "cio_object_id"
                ],
                "properties": {
                  "cio_object_id": {
                    "type": "string",
                    "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                    "example": "obb7fd050101"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a single object—non person data.",
            "type": "string",
            "enum": [
              "object"
            ]
          },
          "attributes": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "Data that belongs to the object. Pass `null` or an empty string to remove an attribute. Some attributes have special meaning—see [reserved attributes](/journeys/objects-data/objects/create/#reserved-attributes)."
          },
          "cio_relationships": {
            "x-scalar-ignore": true,
            "type": "array",
            "description": "The people you want to associate with an object. Each object in the array represents a person.",
            "items": {
              "type": "object",
              "properties": {
                "identifiers": {
                  "oneOf": [
                    {
                      "title": "id",
                      "type": "object",
                      "properties": {
                        "id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                          "example": "42"
                        }
                      }
                    },
                    {
                      "title": "email",
                      "type": "object",
                      "properties": {
                        "email": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "description": "The email address of the customer.",
                          "example": "test@example.com"
                        }
                      }
                    },
                    {
                      "title": "cio_id",
                      "type": "object",
                      "properties": {
                        "cio_id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                          "example": "a3000001"
                        }
                      }
                    }
                  ]
                },
                "relationship_attributes": {
                  "type": "object",
                  "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                  "additionalProperties": {
                    "x-additionalPropertiesName": "Relationship Attributes"
                  }
                }
              },
              "example": {
                "identifiers": {
                  "id": "42"
                },
                "relationship_attributes": {
                  "role": "admin",
                  "date_created": 1702480414
                }
              }
            }
          }
        },
        "required": [
          "type",
          "identifiers",
          "action"
        ]
      },
      "object_identify_anonymous": {
        "title": "Object: Identify anonymous",
        "description": "The `identify_anonymous` action lets you relate an object to a person who hasn't yet identified themselves by anonymous_id. When you identify the person, their anonymous relationship will carry over to the identified profile.",
        "example": {
          "action": "identify_anonymous",
          "identifiers": {
            "object_id": "acme",
            "object_type_id": "1"
          },
          "type": "object",
          "anonymous_id": "anon-abc-123"
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "Indicates that the operation will `identify` the item of the specified `type` and relate it to an `anonymous_id`.",
            "enum": [
              "identify_anonymous"
            ]
          },
          "identifiers": {
            "description": "Custom object identifiers. To create, provide `object_type_id` and `object_id`; to update, use those values or `cio_object_id`.",
            "oneOf": [
              {
                "title": "Object ID (create and update)",
                "type": "object",
                "required": [
                  "object_type_id",
                  "object_id"
                ],
                "properties": {
                  "object_id": {
                    "type": "string",
                    "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                    "example": "acme"
                  },
                  "object_type_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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.",
                    "example": "1"
                  }
                }
              },
              {
                "title": "CIO Object ID (updates only)",
                "type": "object",
                "required": [
                  "cio_object_id"
                ],
                "properties": {
                  "cio_object_id": {
                    "type": "string",
                    "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                    "example": "obb7fd050101"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a single object—non person data.",
            "type": "string",
            "enum": [
              "object"
            ]
          },
          "attributes": {
            "x-scalar-ignore": true,
            "type": "object",
            "description": "Data that belongs to the object. Pass `null` or an empty string to remove an attribute. Some attributes have special meaning—see [reserved attributes](/journeys/objects-data/objects/create/#reserved-attributes)."
          },
          "cio_relationships": {
            "type": "array",
            "description": "The anonymous people you want to associate with an object. Each object in the array contains an `anonymous_id` representing a person you haven't yet identified by `id` or `email`.",
            "items": {
              "type": "object",
              "properties": {
                "identifiers": {
                  "type": "object",
                  "properties": {
                    "anonymous_id": {
                      "x-scalar-ignore": true,
                      "type": "string",
                      "description": "An identifier for an anonymous event, like a cookie. If set as an attribute on a person, any events bearing the same anonymous value are associated with this person. This value must be unique and is not reusable."
                    }
                  }
                },
                "relationship_attributes": {
                  "type": "object",
                  "description": "Coming October 2023 - The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship."
                }
              }
            }
          }
        },
        "required": [
          "type",
          "identifiers",
          "action"
        ]
      },
      "object_add_relationships": {
        "title": "Object: Add relationships",
        "description": "Add relationships between an object and one or more people.",
        "example": {
          "action": "add_relationships",
          "cio_relationships": [
            {
              "identifiers": {
                "id": "42"
              },
              "relationship_attributes": {
                "role": "admin"
              }
            }
          ],
          "type": "object",
          "identifiers": {
            "object_id": "acme",
            "object_type_id": "1"
          }
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "This operation associates an object with one or more people.",
            "enum": [
              "add_relationships"
            ]
          },
          "cio_relationships": {
            "x-scalar-ignore": true,
            "type": "array",
            "description": "The people you want to associate with an object. Each object in the array represents a person.",
            "items": {
              "type": "object",
              "properties": {
                "identifiers": {
                  "oneOf": [
                    {
                      "title": "id",
                      "type": "object",
                      "properties": {
                        "id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                          "example": "42"
                        }
                      }
                    },
                    {
                      "title": "email",
                      "type": "object",
                      "properties": {
                        "email": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "description": "The email address of the customer.",
                          "example": "test@example.com"
                        }
                      }
                    },
                    {
                      "title": "cio_id",
                      "type": "object",
                      "properties": {
                        "cio_id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                          "example": "a3000001"
                        }
                      }
                    }
                  ]
                },
                "relationship_attributes": {
                  "type": "object",
                  "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                  "additionalProperties": {
                    "x-additionalPropertiesName": "Relationship Attributes"
                  }
                }
              },
              "example": {
                "identifiers": {
                  "id": "42"
                },
                "relationship_attributes": {
                  "role": "admin",
                  "date_created": 1702480414
                }
              }
            }
          },
          "type": {
            "description": "The operation modifies a single object—non person data.",
            "type": "string",
            "enum": [
              "object"
            ]
          },
          "identifiers": {
            "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
            "oneOf": [
              {
                "title": "Object ID",
                "type": "object",
                "required": [
                  "object_type_id",
                  "object_id"
                ],
                "properties": {
                  "object_id": {
                    "type": "string",
                    "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                    "example": "acme"
                  },
                  "object_type_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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.",
                    "example": "1"
                  }
                }
              },
              {
                "title": "CIO Object ID",
                "type": "object",
                "required": [
                  "cio_object_id"
                ],
                "properties": {
                  "cio_object_id": {
                    "type": "string",
                    "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                    "example": "obb7fd050101"
                  }
                }
              }
            ]
          }
        },
        "required": [
          "type",
          "action",
          "cio_relationships"
        ]
      },
      "object_delete_relationships": {
        "title": "Object: Delete relationships",
        "description": "Delete relationships between an object and one or more people.",
        "example": {
          "action": "delete_relationships",
          "cio_relationships": [
            {
              "identifiers": {
                "id": "42"
              }
            }
          ],
          "type": "object",
          "identifiers": {
            "object_id": "acme",
            "object_type_id": "1"
          }
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "This operation deletes an object relationship from one or more people.",
            "enum": [
              "delete_relationships"
            ]
          },
          "cio_relationships": {
            "x-scalar-ignore": true,
            "type": "array",
            "description": "The people you want to associate with an object. Each object in the array represents a person.",
            "items": {
              "type": "object",
              "properties": {
                "identifiers": {
                  "oneOf": [
                    {
                      "title": "id",
                      "type": "object",
                      "properties": {
                        "id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                          "example": "42"
                        }
                      }
                    },
                    {
                      "title": "email",
                      "type": "object",
                      "properties": {
                        "email": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "description": "The email address of the customer.",
                          "example": "test@example.com"
                        }
                      }
                    },
                    {
                      "title": "cio_id",
                      "type": "object",
                      "properties": {
                        "cio_id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                          "example": "a3000001"
                        }
                      }
                    }
                  ]
                },
                "relationship_attributes": {
                  "type": "object",
                  "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                  "additionalProperties": {
                    "x-additionalPropertiesName": "Relationship Attributes"
                  }
                }
              },
              "example": {
                "identifiers": {
                  "id": "42"
                },
                "relationship_attributes": {
                  "role": "admin",
                  "date_created": 1702480414
                }
              }
            }
          },
          "type": {
            "description": "The operation modifies a single object—non person data.",
            "type": "string",
            "enum": [
              "object"
            ]
          },
          "identifiers": {
            "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
            "oneOf": [
              {
                "title": "Object ID",
                "type": "object",
                "required": [
                  "object_type_id",
                  "object_id"
                ],
                "properties": {
                  "object_id": {
                    "type": "string",
                    "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                    "example": "acme"
                  },
                  "object_type_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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.",
                    "example": "1"
                  }
                }
              },
              {
                "title": "CIO Object ID",
                "type": "object",
                "required": [
                  "cio_object_id"
                ],
                "properties": {
                  "cio_object_id": {
                    "type": "string",
                    "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                    "example": "obb7fd050101"
                  }
                }
              }
            ]
          }
        },
        "required": [
          "type",
          "action",
          "cio_relationships"
        ]
      },
      "object_delete": {
        "title": "Object: Delete",
        "description": "Delete an object. This also removes relationships from people.\n",
        "example": {
          "action": "delete",
          "type": "object",
          "identifiers": {
            "object_id": "acme",
            "object_type_id": "1"
          }
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "Indicates that the operation will `delete` the item of the specified `type`.",
            "enum": [
              "delete"
            ]
          },
          "type": {
            "description": "The operation modifies a single object—non person data.",
            "type": "string",
            "enum": [
              "object"
            ]
          },
          "identifiers": {
            "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
            "oneOf": [
              {
                "title": "Object ID",
                "type": "object",
                "required": [
                  "object_type_id",
                  "object_id"
                ],
                "properties": {
                  "object_id": {
                    "type": "string",
                    "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                    "example": "acme"
                  },
                  "object_type_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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.",
                    "example": "1"
                  }
                }
              },
              {
                "title": "CIO Object ID",
                "type": "object",
                "required": [
                  "cio_object_id"
                ],
                "properties": {
                  "cio_object_id": {
                    "type": "string",
                    "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                    "example": "obb7fd050101"
                  }
                }
              }
            ]
          }
        },
        "required": [
          "type",
          "action"
        ]
      },
      "identify_person": {
        "title": "Person: Identify",
        "description": "Add or update a person.",
        "example": {
          "action": "identify",
          "identifiers": {
            "id": "42"
          },
          "type": "person",
          "attributes": {
            "first_name": "Jane",
            "last_name": "Doe",
            "plan": "premium"
          }
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "Indicates that the operation will `identify` the item of the specified `type`.",
            "enum": [
              "identify"
            ]
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          },
          "attributes": {
            "type": "object",
            "description": "Attributes that you want to add or update for this person. You can pass properties that aren't defined below to set custom attributes; the defined properties are reserved in the Customer.io Track API.",
            "properties": {
              "_update": {
                "type": "boolean",
                "default": false,
                "description": "If `true`, update only existing people and prevent accidental profile creation. If no person matches the identifiers, the request does nothing."
              },
              "cio_subscription_preferences": {
                "x-scalar-ignore": true,
                "description": "A person's [subscription center](/journeys/channels/subscriptions/center/) preferences. Use JSON dot notation, such as `cio_subscription_preferences.topics.topic_<id>`, to update one topic without replacing others.",
                "type": "object",
                "properties": {
                  "topics": {
                    "type": "object",
                    "description": "Contains active topics in your workspace, named `topic_<id>`.",
                    "additionalProperties": {
                      "x-additionalPropertiesName": "topic_<id>",
                      "description": "Boolean preference for a topic named `topic_<id>`; `true` subscribes, `false` unsubscribes, and empty or missing values use the topic default. Find topic IDs with [getTopics](/integrations/api/app/tag/subscription-center/getTopics/).",
                      "type": "boolean"
                    }
                  }
                },
                "example": {
                  "topics": {
                    "topic_1": true,
                    "topic_2": false,
                    "topic_3": true
                  }
                }
              }
            },
            "additionalProperties": {
              "x-additionalPropertiesName": "additional attributes",
              "description": "Custom properties that you want to set as attributes on this person."
            }
          },
          "cio_relationships": {
            "x-scalar-ignore": true,
            "type": "array",
            "description": "Each object in the array represents a relationship you want to add to, or remove from, a person.",
            "items": {
              "properties": {
                "identifiers": {
                  "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
                  "oneOf": [
                    {
                      "title": "Object ID",
                      "type": "object",
                      "required": [
                        "object_type_id",
                        "object_id"
                      ],
                      "properties": {
                        "object_id": {
                          "type": "string",
                          "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                          "example": "acme"
                        },
                        "object_type_id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "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.",
                          "example": "1"
                        }
                      }
                    },
                    {
                      "title": "CIO Object ID",
                      "type": "object",
                      "required": [
                        "cio_object_id"
                      ],
                      "properties": {
                        "cio_object_id": {
                          "type": "string",
                          "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                          "example": "obb7fd050101"
                        }
                      }
                    }
                  ]
                },
                "relationship_attributes": {
                  "x-scalar-ignore": true,
                  "type": "object",
                  "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                  "additionalProperties": {
                    "x-additionalPropertiesName": "Relationship Attributes"
                  },
                  "example": {
                    "role": "admin"
                  }
                }
              }
            }
          },
          "timestamp": {
            "type": "integer",
            "description": "The Unix timestamp for when the attribute update occurred. This can be used to control the order of attribute updates when multiple requests are sent in rapid succession.",
            "example": 1772013598
          }
        },
        "required": [
          "type",
          "identifiers",
          "action"
        ]
      },
      "person_delete": {
        "title": "Person: Delete",
        "description": "Delete a person from your workspace.",
        "example": {
          "action": "delete",
          "identifiers": {
            "id": "42"
          },
          "type": "person"
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "Indicates that the operation will `delete` the item of the specified `type`.",
            "enum": [
              "delete"
            ]
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          }
        },
        "required": [
          "type",
          "identifiers",
          "action"
        ]
      },
      "person_event": {
        "title": "Person: Event",
        "description": "A custom event attributed to a person. You can use events to trigger automations, or reference event information using liquid in your messages.",
        "example": {
          "action": "event",
          "identifiers": {
            "id": "42"
          },
          "name": "purchase",
          "type": "person",
          "attributes": {
            "product": "Widget",
            "price": 29.99
          }
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "A custom event attributed to the specified person.",
            "enum": [
              "event"
            ]
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the event. This is how you'll find your event in Customer.io or select it when using events as automation triggers."
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          },
          "attributes": {
            "type": "object",
            "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on the identified person.\n",
            "additionalProperties": {
              "x-additionalPropertiesName": "liquid merge data",
              "description": "Insert key-values that you want to reference in your message here."
            },
            "properties": {
              "from_address": {
                "type": "string",
                "format": "email",
                "description": "The address you want to trigger messages from, overriding the `from` field in emails triggered by the event."
              },
              "recipient": {
                "type": "string",
                "format": "email",
                "description": "The email address of the person associated with the event, overriding the `to` field in emails triggered by the event."
              },
              "reply_to": {
                "type": "string",
                "format": "email",
                "description": "The address you want to receive replies to, overriding the `reply to` field for emails triggered by the event."
              }
            }
          },
          "id": {
            "type": "string",
            "format": "ULID",
            "description": "A valid ULID used to deduplicate events. Note - our Python and Ruby libraries do not pass this id."
          },
          "timestamp": {
            "type": "integer",
            "description": "The Unix timestamp when the event happened."
          }
        },
        "required": [
          "type",
          "identifiers",
          "action",
          "name"
        ]
      },
      "person_page": {
        "title": "Person: Page view",
        "description": "A web \"pageview\" event attributed to a person. Our `screen` and `page` event types are more specific than our standard `event`, and help you track and target people based on the pages people visit in your mobile app or website.",
        "example": {
          "action": "page",
          "identifiers": {
            "id": "42"
          },
          "name": "/pricing",
          "type": "person",
          "attributes": {
            "referrer": "https://example.com"
          }
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "A web \"pageview\" event attributed to a person. Our `screen` and `page` event types are more specific than our standard `event`, and help you track and target people based on the pages people visit in your mobile app or website.",
            "enum": [
              "page"
            ]
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the page or page path that a person visited. This is how you'll find and select page view events in Customer.io."
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          },
          "attributes": {
            "type": "object",
            "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on the identified person.",
            "properties": {
              "keywords": {
                "type": "array",
                "description": "Page-content keywords, typically like HTML meta keywords. Mainly for publishers with pageview tracking; not collected automatically.",
                "items": {
                  "type": "string"
                }
              },
              "path": {
                "type": "string",
                "description": "The path portion of the page's URL. Equivalent to the canonical `path` which defaults to `location.pathname` from the DOM API."
              },
              "referrer": {
                "type": "string",
                "description": "The previous page's full URL. Equivalent to `document.referrer` from the DOM API."
              },
              "search": {
                "type": "string",
                "description": "The query string portion of the page's URL. Equivalent to `location.search` from the DOM API."
              },
              "title": {
                "type": "string",
                "description": "The page's title. Equivalent to `document.title` from the DOM API."
              },
              "url": {
                "type": "string",
                "description": "A page's full URL. We first look for the canonical URL. If the canonical URL is not provided, we'll use `location.href` from the DOM API."
              }
            },
            "additionalProperties": {
              "x-additionalPropertiesName": "liquid merge data",
              "description": "Insert key-values that you want to reference in your message here."
            }
          },
          "id": {
            "type": "string",
            "format": "ULID",
            "description": "A valid ULID used to deduplicate events. Note - our Python and Ruby libraries do not pass this id."
          },
          "timestamp": {
            "type": "integer",
            "description": "The Unix timestamp when the event happened."
          }
        },
        "required": [
          "type",
          "identifiers",
          "action",
          "name"
        ]
      },
      "person_screen": {
        "title": "Person: Screen view",
        "description": "A mobile \"screenview\" event attributed to a person. Our `screen` and `page` event types are more specific than our standard `event`, and help you track and target people based on the pages people visit in your mobile app or website.",
        "example": {
          "action": "screen",
          "identifiers": {
            "id": "42"
          },
          "name": "Dashboard",
          "type": "person",
          "attributes": {
            "app_version": "2.1.0"
          }
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "A mobile \"screenview\" event attributed to a person. Our `screen` and `page` event types are more specific than our standard `event`, and help you track and target people based on the pages people visit in your mobile app or website.",
            "enum": [
              "screen"
            ]
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the screen a person visited. This is how you'll find and select screen view events in Customer.io."
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          },
          "attributes": {
            "type": "object",
            "description": "Additional information that you might want to reference in a message using liquid or use to set attributes on the identified person.",
            "additionalProperties": {
              "x-additionalPropertiesName": "liquid merge data",
              "description": "Insert key-values that you want to reference in your message here."
            }
          },
          "id": {
            "type": "string",
            "format": "ULID",
            "description": "A valid ULID used to deduplicate events. Note - our Python and Ruby libraries do not pass this id."
          },
          "timestamp": {
            "type": "integer",
            "description": "The Unix timestamp when the event happened."
          }
        },
        "required": [
          "type",
          "identifiers",
          "action",
          "name"
        ]
      },
      "person_add_relationships": {
        "title": "Person: Add relationships",
        "description": "Associate multiple objects with a person.",
        "example": {
          "action": "add_relationships",
          "cio_relationships": [
            {
              "identifiers": {
                "object_id": "acme",
                "object_type_id": "1"
              },
              "relationship_attributes": {
                "role": "admin"
              }
            }
          ],
          "identifiers": {
            "id": "42"
          },
          "type": "person"
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "This operation associates a person with one or more objects.",
            "enum": [
              "add_relationships"
            ]
          },
          "cio_relationships": {
            "x-scalar-ignore": true,
            "type": "array",
            "description": "Each object in the array represents a relationship you want to add to, or remove from, a person.",
            "items": {
              "properties": {
                "identifiers": {
                  "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
                  "oneOf": [
                    {
                      "title": "Object ID",
                      "type": "object",
                      "required": [
                        "object_type_id",
                        "object_id"
                      ],
                      "properties": {
                        "object_id": {
                          "type": "string",
                          "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                          "example": "acme"
                        },
                        "object_type_id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "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.",
                          "example": "1"
                        }
                      }
                    },
                    {
                      "title": "CIO Object ID",
                      "type": "object",
                      "required": [
                        "cio_object_id"
                      ],
                      "properties": {
                        "cio_object_id": {
                          "type": "string",
                          "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                          "example": "obb7fd050101"
                        }
                      }
                    }
                  ]
                },
                "relationship_attributes": {
                  "x-scalar-ignore": true,
                  "type": "object",
                  "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                  "additionalProperties": {
                    "x-additionalPropertiesName": "Relationship Attributes"
                  },
                  "example": {
                    "role": "admin"
                  }
                }
              }
            }
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          }
        },
        "required": [
          "type",
          "identifiers",
          "action",
          "cio_relationships"
        ]
      },
      "person_delete_relationships": {
        "title": "Person: Delete relationships",
        "description": "Remove multiple object relationships from a person.",
        "example": {
          "action": "delete_relationships",
          "cio_relationships": [
            {
              "identifiers": {
                "object_id": "acme",
                "object_type_id": "1"
              }
            }
          ],
          "identifiers": {
            "id": "42"
          },
          "type": "person"
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "This operation deletes an object relationship from one or more people.",
            "enum": [
              "delete_relationships"
            ]
          },
          "cio_relationships": {
            "x-scalar-ignore": true,
            "type": "array",
            "description": "Each object in the array represents a relationship you want to add to, or remove from, a person.",
            "items": {
              "properties": {
                "identifiers": {
                  "description": "The identifiers for a particular object. You can use either the `object_type_id` and `object_id` (where `object_type_id` represents the type of object and the `object_id` is the individual identifier for the object) or the `cio_object_id`.",
                  "oneOf": [
                    {
                      "title": "Object ID",
                      "type": "object",
                      "required": [
                        "object_type_id",
                        "object_id"
                      ],
                      "properties": {
                        "object_id": {
                          "type": "string",
                          "description": "The unique identifier for an object. If you use an `object_id` that already exists, we'll update the object accordingly.",
                          "example": "acme"
                        },
                        "object_type_id": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "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.",
                          "example": "1"
                        }
                      }
                    },
                    {
                      "title": "CIO Object ID",
                      "type": "object",
                      "required": [
                        "cio_object_id"
                      ],
                      "properties": {
                        "cio_object_id": {
                          "type": "string",
                          "description": "A unique value that Customer.io sets for an object when you create it. This ID is immutable.",
                          "example": "obb7fd050101"
                        }
                      }
                    }
                  ]
                },
                "relationship_attributes": {
                  "x-scalar-ignore": true,
                  "type": "object",
                  "description": "The attributes associated with a relationship. Passing null or an empty string removes the attribute from the relationship.\n",
                  "additionalProperties": {
                    "x-additionalPropertiesName": "Relationship Attributes"
                  },
                  "example": {
                    "role": "admin"
                  }
                }
              }
            }
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          }
        },
        "required": [
          "type",
          "identifiers",
          "action",
          "cio_relationships"
        ]
      },
      "person_add_device": {
        "title": "Person: Add device",
        "description": "Assign devices to a person.",
        "example": {
          "action": "add_device",
          "device": {
            "platform": "ios",
            "token": "a83b219c-e756-4c5b-a8e3-d1a5c5b2f3c1",
            "last_used": 1713484800
          },
          "identifiers": {
            "id": "42"
          },
          "type": "person"
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "Add a mobile device to a person's profile.",
            "enum": [
              "add_device"
            ]
          },
          "device": {
            "description": "Device properties collected by [Customer.io SDKs](/integrations/sdk/) unless `autoTrackDeviceAttributes` is disabled. You can reference them outside `attributes` in segments.",
            "properties": {
              "platform": {
                "type": "string",
                "enum": [
                  "ios",
                  "android"
                ],
                "description": "The device/messaging platform."
              },
              "token": {
                "description": "The device token.",
                "type": "string"
              },
              "attributes": {
                "type": "object",
                "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.",
                "properties": {
                  "_last_status": {
                    "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.",
                    "enum": [
                      "",
                      "bounced",
                      "sent",
                      "suppressed"
                    ]
                  },
                  "app_identifier": {
                    "type": "string",
                    "description": "The app that the device belongs to—the **Bundle ID / App identifier** you entered with that app's push credentials. If you have more than one app, we use this attribute to send push notifications to the right app. A device without an app identifier receives push notifications you send to your [default app](/messaging/channels/push/getting-started/#the-default-app)."
                  },
                  "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."
                  },
                  "cio_sdk_version": {
                    "type": "string",
                    "description": "The version of the Customer.io SDK in the app."
                  },
                  "device_locale": {
                    "type": "string",
                    "description": "The device's [IETF language code](/journeys/channels/localization/getting-started/#supported-languages), such as `en-MX` or `es-ES`."
                  },
                  "device_model": {
                    "type": "string",
                    "description": "The model of the device a person uses."
                  },
                  "device_os": {
                    "type": "string",
                    "description": "The operating system, including the version, on the device."
                  },
                  "push_enabled": {
                    "type": "string",
                    "description": "If `\"true\"`, the device is opted-in and can receive push notifications.",
                    "enum": [
                      "true",
                      "false"
                    ]
                  }
                },
                "additionalProperties": {
                  "x-additionalPropertiesName": "Custom Device Attributes",
                  "description": "Custom properties that you want to associate with the device.",
                  "type": "string"
                }
              },
              "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."
              }
            },
            "required": [
              "token",
              "platform"
            ]
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          }
        },
        "required": [
          "type",
          "identifiers",
          "action",
          "device"
        ]
      },
      "person_delete_device": {
        "title": "Person: Delete device",
        "description": "Delete devices that belong to a person.",
        "example": {
          "action": "delete_device",
          "device": {
            "token": "a83b219c-e756-4c5b-a8e3-d1a5c5b2f3c1"
          },
          "identifiers": {
            "id": "42"
          },
          "type": "person"
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "Delete a device from a person's profile.",
            "enum": [
              "delete_device"
            ]
          },
          "device": {
            "description": "The device you want to remove.",
            "type": "object",
            "required": [
              "token"
            ],
            "properties": {
              "token": {
                "description": "The token of the device you want to remove.",
                "type": "string"
              }
            }
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          }
        },
        "required": [
          "type",
          "identifiers",
          "action",
          "device"
        ]
      },
      "person_merge": {
        "title": "Person: Merge",
        "example": {
          "primary": {
            "id": "42"
          },
          "secondary": {
            "id": "known-user-456"
          }
        },
        "type": "object",
        "description": "Merges `secondary` into `primary`, then deletes `secondary`. The operation is not reversible, and `primary` must already exist. See [merging duplicate people](/journeys/people/manage/merge-people/).",
        "required": [
          "type",
          "primary",
          "secondary",
          "action"
        ],
        "properties": {
          "action": {
            "type": "string",
            "description": "Merges `secondary` into `primary`, then deletes `secondary`. Not reversible; see [merging duplicate people](/journeys/people/manage/merge-people/).",
            "enum": [
              "merge"
            ]
          },
          "primary": {
            "description": "The person who remains after the merge, identified by `id`, `email`, or `cio_id`. If email identifiers are disabled in [workspace settings](https://fly.customer.io/workspaces/last/settings/edit), use `id` or `cio_id`.",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "secondary": {
            "description": "The person deleted after the merge, identified by `id`, `email`, or `cio_id`. If email identifiers are disabled in [workspace settings](https://fly.customer.io/workspaces/last/settings/edit), use `id` or `cio_id`.",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          }
        }
      },
      "person_suppress": {
        "title": "Person: Suppress",
        "description": "Suppress a person's identifier(s) in Customer.io, so that you can't message a person or add their identifiers back to your workspace. This is separate from suppressions performed by your email provider.",
        "example": {
          "action": "suppress",
          "identifiers": {
            "id": "42"
          },
          "type": "person"
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "Suppress a person's identifier(s) in Customer.io, so that you can't message a person or add their identifiers back to your workspace. This is separate from suppressions performed by your email provider.",
            "enum": [
              "suppress"
            ]
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          }
        },
        "required": [
          "type",
          "identifiers",
          "action"
        ]
      },
      "person_unsuppress": {
        "title": "Person: Unsuppress",
        "description": "Unsuppress a person's identifier(s) in Customer.io, so that you can message a person or add their identifiers back to your workspace. This does not unsuppress addresses that were previously suppressed by your email provider.",
        "example": {
          "action": "unsuppress",
          "identifiers": {
            "id": "42"
          },
          "type": "person"
        },
        "properties": {
          "action": {
            "type": "string",
            "description": "Unsuppress a person's identifier(s) in Customer.io, so that you can message a person or add their identifiers back to your workspace. This does not unsuppress addresses that were previously suppressed by your email provider.",
            "enum": [
              "unsuppress"
            ]
          },
          "identifiers": {
            "description": "The person you want to perform an action for—one of `id`, `email`, `phone`, or `cio_id`. You cannot pass multiple identifiers. You can use `email` and `phone` only if they're enabled as identifiers in your [workspace settings](/accounts/workspaces/overview/#migrate-workspace).",
            "oneOf": [
              {
                "title": "id",
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID of a customer profile, analogous to a \"person\" in the UI.",
                    "example": "42"
                  }
                }
              },
              {
                "title": "email",
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  }
                }
              },
              {
                "title": "phone",
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "phone": {
                    "type": "string",
                    "description": "A person's phone number, in [E.164 format](https://en.wikipedia.org/wiki/E.164) (a leading `+` followed by up to 15 digits). Available only when `phone` is enabled as an identifier in your workspace.",
                    "example": "+14155552671"
                  }
                }
              },
              {
                "title": "cio_id",
                "type": "object",
                "required": [
                  "cio_id"
                ],
                "properties": {
                  "cio_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers.",
                    "example": "a3000001"
                  }
                }
              }
            ]
          },
          "type": {
            "description": "The operation modifies a person in Customer.io",
            "type": "string",
            "enum": [
              "person"
            ]
          }
        },
        "required": [
          "type",
          "identifiers",
          "action"
        ]
      },
      "delivery_operations": {
        "title": "Delivery: Event",
        "description": "The \"delivery\" type lets you attribute metrics to messages that don't self-report back to Customer.io, like push and in-app notifications.",
        "example": {
          "action": "event",
          "attributes": {
            "device_token": "a83b219c-e756-4c5b-a8e3-d1a5c5b2f3c1"
          },
          "identifiers": {
            "id": "RPIyMTM6OjEyMzQ="
          },
          "name": "opened",
          "type": "delivery"
        },
        "type": "object",
        "required": [
          "type",
          "action",
          "identifiers",
          "name",
          "attributes"
        ],
        "properties": {
          "action": {
            "type": "string",
            "description": "An `event` action indicates a delivery event. Use the `name` to determine the specific metric that you want to attribute to this delivery.",
            "enum": [
              "event"
            ]
          },
          "attributes": {
            "type": "object",
            "required": [
              "device_token"
            ],
            "description": "Contains information about the delivery and the individual who received the message.",
            "properties": {
              "device_token": {
                "type": "string",
                "description": "The device that received the message."
              }
            }
          },
          "identifiers": {
            "type": "object",
            "description": "Contains identifiers for the delivery itself.",
            "properties": {
              "id": {
                "type": "string",
                "description": "The `delivery_id` for the delivery that you want to attribute metrics to."
              }
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the metric you want to attribute to this \"delivery\".",
            "enum": [
              "opened",
              "converted",
              "delivered"
            ]
          },
          "type": {
            "type": "string",
            "description": "The \"delivery\" type lets you attribute metrics to messages that don't self-report back to Customer.io, like push and in-app notifications.",
            "enum": [
              "delivery"
            ]
          }
        }
      },
      "cio_subscription_preferences": {
        "x-scalar-ignore": true,
        "description": "A person's [subscription center](/journeys/channels/subscriptions/center/) preferences. Use JSON dot notation, such as `cio_subscription_preferences.topics.topic_<id>`, to update one topic without replacing others.",
        "type": "object",
        "properties": {
          "topics": {
            "type": "object",
            "description": "Contains active topics in your workspace, named `topic_<id>`.",
            "additionalProperties": {
              "x-additionalPropertiesName": "topic_<id>",
              "description": "Boolean preference for a topic named `topic_<id>`; `true` subscribes, `false` unsubscribes, and empty or missing values use the topic default. Find topic IDs with [getTopics](/integrations/api/app/tag/subscription-center/getTopics/).",
              "type": "boolean"
            }
          }
        },
        "example": {
          "topics": {
            "topic_1": true,
            "topic_2": false,
            "topic_3": true
          }
        }
      },
      "workspace": {
        "x-scalar-ignore": true,
        "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.",
        "type": "object",
        "properties": {
          "billable_messages_sent": {
            "type": "integer",
            "description": "The count of [emails sent](/journeys/channels/message-statuses/#sent) that are considered for billing in your current billing period. Ultimately, we only bill for the overages on your plan.",
            "example": 75124
          },
          "id": {
            "type": "integer",
            "description": "The id of the workspace.",
            "example": "13XXXX"
          },
          "messages_sent": {
            "type": "integer",
            "description": "The count of [messages sent](/journeys/channels/message-statuses/#sent) via any channel (email, SMS, in-app, push, slack) in the current billing period.",
            "example": 100202
          },
          "name": {
            "type": "string",
            "description": "The name of the workspace.",
            "example": "Workspace 1"
          },
          "object_types": {
            "type": "integer",
            "description": "The current count of object types in the workspace. Updates roughly every hour.",
            "example": 4
          },
          "objects": {
            "type": "integer",
            "description": "The current count of object profiles in the workspace. Updates roughly every hour.",
            "example": 10
          },
          "people": {
            "type": "integer",
            "description": "The current count of people profiles in the workspace. Updates roughly every hour.",
            "example": 25666
          }
        }
      },
      "campaign_actions": {
        "x-scalar-ignore": true,
        "type": "array",
        "description": "An array of actions contained within the automation.",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "description": "The identifier for the action.",
              "example": 259
            },
            "type": {
              "type": "string",
              "description": "The action type.",
              "example": "email"
            }
          }
        }
      },
      "campaign_name": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The name of the automation.",
        "readOnly": true
      },
      "campaign_description": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The description of the automation, if one was set.",
        "example": "Sends a welcome series to new trial signups."
      },
      "active": {
        "x-scalar-ignore": true,
        "type": "boolean",
        "description": "If true, the automation is active and can still send messages."
      },
      "state": {
        "x-scalar-ignore": true,
        "type": "string",
        "description": "The status of the automation.",
        "enum": [
          "running",
          "draft",
          "stopped"
        ]
      },
      "first_started": {
        "x-scalar-ignore": true,
        "type": "integer",
        "format": "unix timestamp",
        "description": "The date and time when you first started the automation and it first became eligible to be triggered.",
        "example": 1552341937
      },
      "tags": {
        "x-scalar-ignore": true,
        "type": "array",
        "description": "An array of tags you set on this automation.",
        "items": {
          "type": "string"
        },
        "example": [
          "new",
          "welcome"
        ]
      },
      "filter_segment_ids": {
        "x-scalar-ignore": true,
        "description": "A list of segments used in the automation filter, returned if the automation audience was filtered on one or more segments.",
        "type": "array",
        "items": {
          "type": "integer"
        },
        "example": [
          21,
          42
        ]
      },
      "object_type_id_trigger": {
        "x-scalar-ignore": true,
        "description": "The object type ID of the trigger.",
        "type": "integer"
      },
      "filter_object_attributes": {
        "x-scalar-ignore": true,
        "description": "A list of object attributes used in the automation filter, returned if the automation audience was filtered on one or more object attributes.",
        "type": "string",
        "example": "{\"and\":[{\"object_attribute\":{\"type_id\":1,\"field\":\"name\",\"operator\":\"eq\",\"value\":\"sfa\"}},{\"object_attribute\":{\"type_id\":1,\"field\":\"renewal_date\",\"operator\":\"eq\",\"value\":\"sdfs\"}}]}"
      },
      "filter_relationship_attributes": {
        "x-scalar-ignore": true,
        "description": "A list of relationship attributes used in the automation filter, returned if the automation audience was filtered on one or more relationship attributes.",
        "type": "string",
        "example": "{\"and\":[{\"relationship_attribute\":{\"type_id\":1,\"field\":\"email\",\"operator\":\"eq\",\"value\":\"dscs@test.com\"}},{\"relationship_attribute\":{\"type_id\":1,\"field\":\"trig\",\"operator\":\"eq\",\"value\":\"false\"}}]}"
      },
      "appApiError": {
        "x-scalar-ignore": true,
        "type": "object",
        "description": "An array/list of failures where each entry is a separate failure reason.",
        "required": [
          "errors"
        ],
        "properties": {
          "errors": {
            "type": "array",
            "description": "One entry for each reason the request failed.",
            "items": {
              "type": "object",
              "required": [
                "detail",
                "status"
              ],
              "properties": {
                "detail": {
                  "type": "string",
                  "description": "What went wrong, in plain text. Most messages end with a support reference you can use if you need to contact support.",
                  "example": "bad request (reference a1b2c3)"
                },
                "status": {
                  "type": "string",
                  "description": "The HTTP status code as a string.",
                  "example": "400"
                },
                "code": {
                  "type": "string",
                  "description": "A stable identifier for the failure, on the errors that carry one. Use this rather than the text in `detail` if you need to identify the error programmatically.",
                  "example": "invalid_credentials"
                },
                "meta": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Extra context (if available)."
                },
                "source": {
                  "type": "object",
                  "description": "The part of the request that the error refers to.",
                  "properties": {
                    "pointer": {
                      "type": "string",
                      "description": "A JSON pointer to the part of the request body that the error refers to.",
                      "example": "/data/attributes/email"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "reporting_webhook": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "x-scalar-ignore": true,
            "title": "Customer",
            "description": "Events that occur when a customer subscribes or unsubscribes from your messages.",
            "oneOf": [
              {
                "title": "Customer subscribed",
                "description": "A person subscribed to messages from you—their `unsubscribed` attribute was set to `false`.",
                "properties": {
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "type": "object",
                    "required": [
                      "identifiers",
                      "customer_id",
                      "email_address"
                    ],
                    "properties": {
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "email_address": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      }
                    }
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "metric": {
                    "type": "string",
                    "enum": [
                      "subscribed"
                    ],
                    "description": "The metric recorded by the event. For `customer` events, this is whether the customer explicitly subscribed or unsubscribed."
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "customer",
                      "email",
                      "sms",
                      "push",
                      "in_app",
                      "slack",
                      "webhook",
                      "whatsapp"
                    ],
                    "description": "The channel that triggered the subscription change. If the subscription change wasn't triggered from a message, or we can't determine which message triggered the change, the `object_type` is `customer`.",
                    "example": "customer"
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "metric",
                  "event_id",
                  "object_type",
                  "timestamp",
                  "data"
                ]
              },
              {
                "title": "Customer unsubscribed",
                "description": "A person unsubscribed to messages from you—their `unsubscribed` attribute was set to `true`.",
                "properties": {
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "type": "object",
                    "required": [
                      "identifiers",
                      "customer_id",
                      "email_address"
                    ],
                    "properties": {
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "email_address": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      }
                    }
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "metric": {
                    "type": "string",
                    "enum": [
                      "unsubscribed"
                    ],
                    "description": "The metric recorded by the event. For `customer` events, this is whether the customer explicitly subscribed or unsubscribed."
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "customer",
                      "email",
                      "sms",
                      "push",
                      "in_app",
                      "slack",
                      "webhook",
                      "whatsapp"
                    ],
                    "description": "The channel that triggered the subscription change. If the subscription change wasn't triggered from a message, or we can't determine which message triggered the change, the `object_type` is `customer`.",
                    "example": "customer"
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "metric",
                  "event_id",
                  "object_type",
                  "timestamp",
                  "data"
                ]
              },
              {
                "title": "Customer changed subscription preferences",
                "description": "A person changed their subscription preferences through our subscription center or you changed their `cio_subscription_preferences` attribute values.\n\nSome fields in the `data` object change based on whether the message that resulted in the change originated from a broadcast, automation, or one-time send.\n",
                "type": "object",
                "required": [
                  "metric",
                  "event_id",
                  "data",
                  "timestamp"
                ],
                "properties": {
                  "data": {
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "email_address": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "content": {
                        "type": "string",
                        "description": "If you enable the *Include body content and headers in all Sent events* when you set up your reporting webhook, you'll see this field. It contains the subscription preferences that a person changed in a stringified object format. The `topic_1` key refers to a topic with an ID of `1`; you can get more information about each topic from our [App API](/integrations/api/app/tag/subscription-center/getTopics/).",
                        "example": "{\"topics\":{\"topic_1\":true}}"
                      }
                    },
                    "required": [
                      "identifiers",
                      "customer_id",
                      "email_address"
                    ],
                    "description": "Contains information about the event, specific to the `object_type` and `metric`."
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "metric": {
                    "type": "string",
                    "enum": [
                      "cio_subscription_preferences_changed"
                    ],
                    "description": "The event we're reporting to your webhook endpoint. In this case, a person changed their subscription preferences."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  },
                  "object_type_type": {
                    "type": "string",
                    "enum": [
                      "customer",
                      "email",
                      "sms",
                      "push",
                      "in_app",
                      "slack",
                      "webhook",
                      "whatsapp"
                    ],
                    "description": "The channel that triggered the change to the person's subscription preferences. If the subscription change wasn't triggered from a message, or we can't determine which message triggered the change, the `object_type` is `customer`. Most subscription changes are triggered by `email` or are `customer` initiated.",
                    "example": "email"
                  }
                }
              }
            ]
          },
          {
            "x-scalar-ignore": true,
            "title": "Email",
            "description": "Events representing an email.",
            "oneOf": [
              {
                "title": "Email drafted",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "drafted"
                    ],
                    "description": "The metric recorded by the event. For `customer` events, this is whether the customer explicitly subscribed or unsubscribed."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email attempted",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "attempted"
                    ],
                    "description": "An email could not be sent to the delivery provider and will be retried. The `failure_message` provides the reason for the failure."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email sent",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "sent"
                    ],
                    "description": "A message was successfully sent. If you enabled the *Include body content and headers in all Sent events* option, the payload includes the `content` of your message and, for emails with custom headers, a `data.headers` object alongside `content`."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      },
                      "content": {
                        "type": "string",
                        "description": "The body content of your email. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook."
                      },
                      "headers": {
                        "type": "object",
                        "description": "The headers sent with your email, as a map of header name to an array of values. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the message included custom headers. This is a sibling of `content`—it is not nested inside it.",
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "example": {
                          "Customheader1": [
                            "customvalue1"
                          ]
                        }
                      },
                      "variables": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "additionalProperties": true,
                        "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email delivered",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "delivered"
                    ],
                    "description": "A message was successfully delivered to a recipient."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email opened",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "opened"
                    ],
                    "description": "An email was opened."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "prefetched": {
                        "type": "boolean",
                        "description": "If true, the email was opened by Gmail, Apple Privacy Protection, or a user agent identified as a machine."
                      },
                      "proxied": {
                        "type": "boolean",
                        "description": "If true, the email was fetched by a proxy to hide the user identity, IP address, etc."
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      },
                      "synthetic": {
                        "type": "boolean",
                        "description": "If true, Customer.io inferred the open event because we tracked a click event before we registered an open event (and a link in an email can't be clicked without the email being opened). This does not necessarily mean that the open was machine-oriented. The click—and therefore, the open—could have originated from either a machine or a person."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email clicked",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "clicked"
                    ],
                    "description": "A tracked link in an email was clicked."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "href": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The URL of the link that a person clicked.",
                        "example": "https://docs.customer.io"
                      },
                      "link_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The identifier for the tracked link that a person clicked or tapped.",
                        "example": 1
                      },
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      },
                      "machine": {
                        "type": "boolean",
                        "description": "If true, the click was generated by a machine."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject",
                      "href",
                      "link_id"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email converted",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "converted"
                    ],
                    "description": "A person matched conversion criteria attributed to an email."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email unsubscribed",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "unsubscribed"
                    ],
                    "description": "The recipient unsubscribed based on a particular message."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email bounced",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "bounced"
                    ],
                    "description": "The delivery provider could not deliver an email."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      },
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject",
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email dropped",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "dropped"
                    ],
                    "description": "Customer.io did not send an email because it was addressed to a person who was suppressed."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      },
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject",
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email spammed",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "spammed"
                    ],
                    "description": "A recipient marked an email as spam."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email failed",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ],
                    "description": "An email couldn't be sent to the delivery provider."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject",
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Email undeliverable",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "example": {
                      "event_id": "01HXYZ1234567890ABCDEF",
                      "object_type": "email",
                      "timestamp": 1713484800
                    }
                  }
                ],
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "undeliverable"
                    ],
                    "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      },
                      "recipient": {
                        "x-scalar-ignore": true,
                        "description": "The recipient address for an action.",
                        "type": "string",
                        "example": "test@example.com"
                      },
                      "subject": {
                        "type": "string",
                        "description": "The subject of the email."
                      }
                    },
                    "required": [
                      "recipient",
                      "subject",
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "email"
                    ],
                    "description": "The event relates to an email action."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              }
            ],
            "discriminator": {
              "propertyName": "metric"
            }
          },
          {
            "title": "Push",
            "x-scalar-ignore": true,
            "description": "Events representing a push notification.",
            "oneOf": [
              {
                "title": "Push drafted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "drafted"
                    ],
                    "description": "A push notification was drafted."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      }
                    }
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Push attempted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "attempted"
                    ],
                    "description": "A push notification was attempted but unsuccessful. This generally means that we'll try again."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      },
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Push delivered",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "delivered"
                    ],
                    "description": "A push notification was delivered to a recipient device."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "device_id"
                          ],
                          "description": "Describes the device the push was sent to.",
                          "properties": {
                            "device_id": {
                              "type": "string",
                              "description": "The device identifier/token."
                            },
                            "device_platform": {
                              "type": "string",
                              "description": "The device platform—ios or android.",
                              "enum": [
                                "ios",
                                "android"
                              ]
                            }
                          }
                        }
                      },
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      }
                    },
                    "required": [
                      "recipients"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Push sent",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "sent"
                    ],
                    "description": "A push notification was sent to a recipient. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your message."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "device_id"
                          ],
                          "description": "The person's devices that the push was sent to. Each object in the array represents a device.",
                          "properties": {
                            "device_id": {
                              "type": "string",
                              "description": "The device identifier/token."
                            },
                            "device_platform": {
                              "type": "string",
                              "description": "The device platform—ios or android.",
                              "enum": [
                                "ios",
                                "android"
                              ]
                            },
                            "failure_message": {
                              "type": "string",
                              "description": "If push failed for the device, we'll the list reason it failed."
                            }
                          }
                        }
                      },
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "content": {
                        "type": "string",
                        "description": "The stringified payload for your push notification. This key only appears if you enabled the *Body Content* option when setting up your webhook."
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      },
                      "variables": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "additionalProperties": true,
                        "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                      }
                    },
                    "required": [
                      "recipients"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Push opened",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "opened"
                    ],
                    "description": "A device opened a push notification."
                  },
                  "data": {
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "device_id"
                          ],
                          "description": "Describes the device of the recipient who clicked/tapped the link.",
                          "properties": {
                            "device_id": {
                              "type": "string",
                              "description": "The device identifier/token."
                            },
                            "device_platform": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "enum": [
                                "android",
                                "ios"
                              ],
                              "description": "The device's operating system.",
                              "example": "ios"
                            }
                          }
                        }
                      },
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      }
                    },
                    "required": [
                      "recipients"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Push clicked",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "clicked"
                    ],
                    "description": "A recipient tapped a link in a push notification."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "href": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The URL of the link that a person clicked.",
                        "example": "https://docs.customer.io"
                      },
                      "link_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The identifier for the tracked link that a person clicked or tapped.",
                        "example": 1
                      },
                      "recipients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "device_id"
                          ],
                          "description": "Describes the device of the recipient who tapped the link.",
                          "properties": {
                            "device_id": {
                              "type": "string",
                              "description": "The device identifier/token."
                            },
                            "device_platform": {
                              "type": "string",
                              "description": "The device platform—ios or android.",
                              "enum": [
                                "ios",
                                "android"
                              ]
                            }
                          }
                        }
                      },
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      }
                    },
                    "required": [
                      "recipients",
                      "href",
                      "link_id"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Push converted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "converted"
                    ],
                    "description": "A person matched conversion criteria attributed to a push notification."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "device_id"
                          ],
                          "description": "Describes the device of the recipient who tapped the link.",
                          "properties": {
                            "device_id": {
                              "type": "string",
                              "description": "The device identifier/token."
                            },
                            "device_platform": {
                              "type": "string",
                              "description": "The device platform—ios or android.",
                              "enum": [
                                "ios",
                                "android"
                              ]
                            }
                          }
                        }
                      },
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      }
                    },
                    "required": [
                      "recipients"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Push bounced",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "bounced"
                    ],
                    "description": "The delivery provider reported at least one invalid device token."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "device_id",
                            "device_platform",
                            "failure_message"
                          ],
                          "description": "Describes the device of the recipient who tapped the link.",
                          "properties": {
                            "device_id": {
                              "type": "string",
                              "description": "The device identifier/token."
                            },
                            "device_platform": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "enum": [
                                "android",
                                "ios"
                              ],
                              "description": "The device's operating system.",
                              "example": "ios"
                            },
                            "failure_message": {
                              "type": "string",
                              "description": "The reason the push failed for this particular recipient."
                            }
                          }
                        }
                      },
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      }
                    },
                    "required": [
                      "recipients"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Push dropped",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "dropped"
                    ],
                    "description": "A push notification wasn't sent because at least one device token previously bounced."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipients": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "device_id",
                            "device_platform",
                            "failure_message"
                          ],
                          "description": "Describes the device of the recipient who tapped the link.",
                          "properties": {
                            "device_id": {
                              "type": "string",
                              "description": "The device identifier/token."
                            },
                            "device_platform": {
                              "x-scalar-ignore": true,
                              "type": "string",
                              "enum": [
                                "android",
                                "ios"
                              ],
                              "description": "The device's operating system.",
                              "example": "ios"
                            },
                            "failure_message": {
                              "type": "string",
                              "description": "The reason the push failed for this particular recipient."
                            }
                          }
                        }
                      },
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      }
                    },
                    "required": [
                      "recipients"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Push failed",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ],
                    "description": "A push notification couldn't be sent to the delivery provider."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      },
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Push undeliverable",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "undeliverable"
                    ],
                    "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Transactional message",
                            "type": "object",
                            "required": [
                              "transactional_message_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "transactional_message_id": {
                                "description": "The transactional message template you used for your message."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      },
                      "app_id": {
                        "type": "integer",
                        "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                        "example": 5
                      },
                      "related_delivery_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "push"
                    ],
                    "description": "The event relates to an push notification."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              }
            ],
            "discriminator": {
              "propertyName": "metric"
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "In-App Messages",
            "description": "Events pertaining to in-app messages.",
            "oneOf": [
              {
                "title": "In-app drafted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "drafted"
                    ],
                    "description": "An in-app message draft was created."
                  },
                  "data": {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "in_app"
                    ],
                    "description": "The event relates to an in-app message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "In-app attempted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "attempted"
                    ],
                    "description": "An in-app message failed to send, but will be retried."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "in_app"
                    ],
                    "description": "The event relates to an in-app message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "In-app sent",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "sent"
                    ],
                    "description": "An in-app message was sent from Customer.io. Because in-app messages are only delivered when a person's app is open, there may be a significant delay between when a message is sent and when it's \"opened\". If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your message."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The ID or email address of the person the message was sent to. This identifier is determined by the settings in your message and the value you use to identify your app's users."
                      },
                      "content": {
                        "type": "string",
                        "description": "The body of your message. This key only appears if you enabled the *Body Content* option when setting up your webhook."
                      },
                      "variables": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "additionalProperties": true,
                        "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "in_app"
                    ],
                    "description": "The event relates to an in-app message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "In-app opened",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "opened"
                    ],
                    "description": "A device opened an in-app message. Because messages appear automatically when a person opens your app (to the right page if using page rules), \"opened\" is essentially an \"impression\"—a person saw your message."
                  },
                  "data": {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "in_app"
                    ],
                    "description": "The event relates to an in-app message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "In-app clicked",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "clicked"
                    ],
                    "description": "The in-app message recipient clicked/tapped a component in a message with **Track Clicks** enabled. The *Track Clicks* setting is enabled by default for in-app messages. The payload includes a `tracked_response` key containing the *Action Name* of the component the person clicked/tapped. [Learn more about tracked responses and action names](/journeys/channels/in-app/metrics/#tracked-responses)."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "href": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The URL of the link that a person clicked.",
                        "example": "https://docs.customer.io"
                      },
                      "link_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The identifier for the tracked link that a person clicked or tapped.",
                        "example": 1
                      },
                      "recipient": {
                        "type": "string",
                        "description": "The ID or email address of the person the message was sent to. This identifier is determined by the settings in your message and the value you use to identify your app's users."
                      },
                      "tracked_response": {
                        "type": "string",
                        "description": "The *Action Name* of the action a person clicked/tapped in the message. [Learn more about tracked responses and action names](/journeys/channels/in-app/metrics/#tracked-responses)."
                      }
                    },
                    "required": [
                      "recipient",
                      "link_id",
                      "href"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "in_app"
                    ],
                    "description": "The event relates to an in-app message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "In-app converted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "converted"
                    ],
                    "description": "A person matched conversion criteria attributed to an in-app notification."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The ID or email address of the person the message was sent to. This identifier is determined by the settings in your message and the value you use to identify your app's users."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "in_app"
                    ],
                    "description": "The event relates to an in-app message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "In-app failed",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ],
                    "description": "An in-app message failed to send."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "in_app"
                    ],
                    "description": "The event relates to an in-app message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "In-app undeliverable",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "undeliverable"
                    ],
                    "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "in_app"
                    ],
                    "description": "The event relates to an in-app message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              }
            ],
            "discriminator": {
              "propertyName": "metric"
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "SMS",
            "description": "Events pertaining to SMS notifications.",
            "oneOf": [
              {
                "title": "SMS drafted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "drafted"
                    ],
                    "description": "An SMS notification was drafted."
                  },
                  "data": {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "sms"
                    ],
                    "description": "The event relates to an SMS message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "SMS attempted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "attempted"
                    ],
                    "description": "An SMS could not be sent to the delivery provider, but will retry."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "sms"
                    ],
                    "description": "The event relates to an SMS message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "SMS sent",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "sent"
                    ],
                    "description": "An SMS notification was sent. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your message."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The MSISDN (phone number) of the SMS recipient."
                      },
                      "content": {
                        "type": "string",
                        "description": "The body of your message. This key only appears if you enabled the *Body Content* option when setting up your webhook."
                      },
                      "variables": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "additionalProperties": true,
                        "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "sms"
                    ],
                    "description": "The event relates to an SMS message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "SMS delivered",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "delivered"
                    ],
                    "description": "An SMS notification was delivered to a recipient."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The MSISDN (phone number) of the SMS recipient."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "sms"
                    ],
                    "description": "The event relates to an SMS message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "SMS clicked",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "clicked"
                    ],
                    "description": "A recipient tapped a link in an SMS message they received."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "href": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The URL of the link that a person clicked.",
                        "example": "https://docs.customer.io"
                      },
                      "link_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The identifier for the tracked link that a person clicked or tapped.",
                        "example": 1
                      },
                      "recipient": {
                        "type": "string",
                        "description": "The MSISDN (phone number) of the SMS recipient."
                      }
                    },
                    "required": [
                      "recipient",
                      "link_id",
                      "href"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "sms"
                    ],
                    "description": "The event relates to an SMS message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "SMS converted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "converted"
                    ],
                    "description": "A person matched conversion criteria attributed to an SMS."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The MSISDN (phone number) of the SMS recipient."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "sms"
                    ],
                    "description": "The event relates to an SMS message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "SMS bounced",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "bounced"
                    ],
                    "description": "The delivery provider was unable to deliver an SMS message."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      },
                      "recipient": {
                        "type": "string",
                        "description": "The MSISDN (phone number) of the SMS recipient."
                      }
                    },
                    "required": [
                      "recipient",
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "sms"
                    ],
                    "description": "The event relates to an SMS message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "SMS failed",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ],
                    "description": "An SMS couldn't be sent to the delivery provider."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "sms"
                    ],
                    "description": "The event relates to an SMS message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "SMS undeliverable",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "undeliverable"
                    ],
                    "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "sms"
                    ],
                    "description": "The event relates to an SMS message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "SMS replied",
                "description": "A person replied to a message you sent them. Customer.io attributes replies to the original delivery if the reply occurs within 72 hours of the original delivery. If the reply occurs outside the 72 hour window, or we can't attribute the reply to a delivery, the `delivery_id` and associated data (`campaign_id`, `action_id`, `trigger_event_id`, etc) we won't send this event.",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "replied"
                    ],
                    "description": "A person replied to a message you sent them. Customer.io attributes replies to the original delivery if the reply occurs within 72 hours of the original delivery. If the reply occurs outside the 72 hour window, or we can't attribute the reply to a delivery, the `delivery_id` and associated data (`campaign_id`, `action_id`, `trigger_event_id`, etc) we won't send this event."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The phone number of the person who sent the reply."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "sms"
                    ],
                    "description": "The event relates to an SMS message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              }
            ],
            "discriminator": {
              "propertyName": "metric"
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "Slack",
            "description": "Events pertaining to Slack messages.",
            "oneOf": [
              {
                "title": "Slack drafted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "drafted"
                    ],
                    "description": "A slack message was drafted."
                  },
                  "data": {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "slack"
                    ],
                    "description": "The event relates to a Slack message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Slack attempted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "attempted"
                    ],
                    "description": "A slack message failed and will be retried."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "slack"
                    ],
                    "description": "The event relates to a Slack message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Slack sent",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "sent"
                    ],
                    "description": "A slack message was sent. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your message."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The channel or person that received the message, i.e. `#general`."
                      },
                      "content": {
                        "type": "string",
                        "description": "The of your slack message. This key only appears if you enabled the *Body Content* option when setting up your webhook."
                      },
                      "variables": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "additionalProperties": true,
                        "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "slack"
                    ],
                    "description": "The event relates to a Slack message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Slack clicked",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "clicked"
                    ],
                    "description": "A person clicked a tracked link in a Slack message."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "href": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The URL of the link that a person clicked.",
                        "example": "https://docs.customer.io"
                      },
                      "link_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The identifier for the tracked link that a person clicked or tapped.",
                        "example": 1
                      },
                      "recipient": {
                        "type": "string",
                        "description": "The channel or person that received the message, i.e. `#general`."
                      }
                    },
                    "required": [
                      "recipient",
                      "href",
                      "link_id"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "slack"
                    ],
                    "description": "The event relates to a Slack message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Slack failed",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ],
                    "description": "A slack message failed."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "slack"
                    ],
                    "description": "The event relates to a Slack message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Slack undeliverable",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "undeliverable"
                    ],
                    "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "slack"
                    ],
                    "description": "The event relates to a Slack message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              }
            ],
            "discriminator": {
              "propertyName": "metric"
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "Webhook",
            "description": "Events pertaining to webhooks.",
            "oneOf": [
              {
                "title": "Webhook drafted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "drafted"
                    ],
                    "description": "A webhook draft was created."
                  },
                  "data": {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "webhook"
                    ],
                    "description": "The event relates to a webhook."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Webhook attempted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "attempted"
                    ],
                    "description": "A webhook failed to send, but will be retried."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "webhook"
                    ],
                    "description": "The event relates to a webhook."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Webhook sent",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "sent"
                    ],
                    "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."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The URL the webhook was sent to."
                      },
                      "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."
                      },
                      "variables": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "additionalProperties": true,
                        "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "webhook"
                    ],
                    "description": "The event relates to a webhook."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Webhook clicked",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "clicked"
                    ],
                    "description": "The webhook recipient opened a tracked link in the webhook payload."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "href": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The URL of the link that a person clicked.",
                        "example": "https://docs.customer.io"
                      },
                      "link_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The identifier for the tracked link that a person clicked or tapped.",
                        "example": 1
                      },
                      "recipient": {
                        "type": "string",
                        "description": "The URL the webhook was sent to."
                      }
                    },
                    "required": [
                      "recipient",
                      "link_id",
                      "href"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "webhook"
                    ],
                    "description": "The event relates to a webhook."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Webhook failed",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ],
                    "description": "A webhook failed to send."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "webhook"
                    ],
                    "description": "The event relates to a webhook."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "Webhook undeliverable",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "undeliverable"
                    ],
                    "description": "A webhook/message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "webhook"
                    ],
                    "description": "The event relates to a webhook."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              }
            ],
            "discriminator": {
              "propertyName": "metric"
            }
          },
          {
            "x-scalar-ignore": true,
            "title": "WhatsApp",
            "description": "Events pertaining to WhatsApp messages.",
            "oneOf": [
              {
                "title": "WhatsApp drafted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "drafted"
                    ],
                    "description": "A WhatsApp message was drafted."
                  },
                  "data": {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp attempted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "attempted"
                    ],
                    "description": "A WhatsApp message could not be sent to the delivery provider, but will retry."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp sent",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "sent"
                    ],
                    "description": "A WhatsApp message was sent. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your message."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The phone number of the WhatsApp recipient."
                      },
                      "content": {
                        "type": "string",
                        "description": "The body of your message. This key only appears if you enabled the *Body Content* option when setting up your webhook."
                      },
                      "variables": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "additionalProperties": true,
                        "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp delivered",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "delivered"
                    ],
                    "description": "A WhatsApp message was delivered to a recipient."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The phone number of the WhatsApp recipient."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp opened",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "opened"
                    ],
                    "description": "A WhatsApp message was read by the recipient."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The phone number of the WhatsApp recipient."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp clicked",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "clicked"
                    ],
                    "description": "A recipient tapped a link in a WhatsApp message they received."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "href": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The URL of the link that a person clicked.",
                        "example": "https://docs.customer.io"
                      },
                      "link_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The identifier for the tracked link that a person clicked or tapped.",
                        "example": 1
                      },
                      "recipient": {
                        "type": "string",
                        "description": "The phone number of the WhatsApp recipient."
                      }
                    },
                    "required": [
                      "recipient",
                      "link_id",
                      "href"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp converted",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "converted"
                    ],
                    "description": "A person matched conversion criteria attributed to a WhatsApp message."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The phone number of the WhatsApp recipient."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp bounced",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "bounced"
                    ],
                    "description": "The delivery provider was unable to deliver a WhatsApp message."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      },
                      "recipient": {
                        "type": "string",
                        "description": "The phone number of the WhatsApp recipient."
                      }
                    },
                    "required": [
                      "recipient",
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp dropped",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "dropped"
                    ],
                    "description": "Customer.io did not send a WhatsApp message because the recipient was suppressed."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      },
                      "recipient": {
                        "type": "string",
                        "description": "The phone number of the WhatsApp recipient."
                      }
                    },
                    "required": [
                      "recipient",
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp failed",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "failed"
                    ],
                    "description": "A WhatsApp message couldn't be sent to the delivery provider."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp undeliverable",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "undeliverable"
                    ],
                    "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "failure_message": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "Indicates the reason that an attempted message failed.",
                        "example": "Something went wrong!"
                      }
                    },
                    "required": [
                      "failure_message"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              },
              {
                "title": "WhatsApp replied",
                "description": "A person replied to a WhatsApp message you sent them. Customer.io attributes replies to the original delivery if the reply occurs within 72 hours of the original delivery. If the reply occurs outside the 72 hour window, or we can't attribute the reply to a delivery, we won't send this event.",
                "properties": {
                  "metric": {
                    "type": "string",
                    "enum": [
                      "replied"
                    ],
                    "description": "A person replied to a WhatsApp message you sent them. Customer.io attributes replies to the original delivery if the reply occurs within 72 hours of the original delivery. If the reply occurs outside the 72 hour window, or we can't attribute the reply to a delivery, we won't send this event."
                  },
                  "data": {
                    "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                    "allOf": [
                      {
                        "x-scalar-ignore": true,
                        "example": {
                          "action_id": 42,
                          "campaign_id": 7,
                          "delivery_id": "RPIyMTM6OjEyMzQ=",
                          "identifiers": {
                            "id": "user-123"
                          },
                          "customer_id": "user-123",
                          "journey_id": 15
                        },
                        "oneOf": [
                          {
                            "title": "API triggered broadcast",
                            "required": [
                              "trigger_id",
                              "broadcast_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "type": "object",
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "broadcast_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "type": "integer",
                                    "description": "The identifier for a broadcast.",
                                    "example": 2
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "trigger_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                                "example": 1
                              },
                              "broadcast_name": {
                                "type": "string",
                                "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                              },
                              "broadcast_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          },
                          {
                            "title": "Campaign",
                            "type": "object",
                            "required": [
                              "campaign_id",
                              "delivery_id",
                              "action_id",
                              "identifiers"
                            ],
                            "properties": {
                              "action_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an action.",
                                "type": "integer",
                                "readOnly": true,
                                "example": 96
                              },
                              "campaign_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for an automation.",
                                    "type": "integer",
                                    "example": 5
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "campaign_name": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The name of the automation.",
                                "readOnly": true
                              },
                              "campaign_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "journey_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                              },
                              "parent_action_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                                "example": 1,
                                "readOnly": true
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              },
                              "trigger_event_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                              }
                            }
                          },
                          {
                            "title": "Newsletter",
                            "type": "object",
                            "required": [
                              "newsletter_id",
                              "delivery_id",
                              "identifiers"
                            ],
                            "properties": {
                              "delivery_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "description": "The instance of a message sent to a person.",
                                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                              },
                              "identifiers": {
                                "x-scalar-ignore": true,
                                "type": "object",
                                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                                "required": [
                                  "id"
                                ],
                                "properties": {
                                  "id": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "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.",
                                    "example": "42"
                                  },
                                  "cio_id": {
                                    "type": "string",
                                    "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.",
                                    "example": "d9c106000001"
                                  },
                                  "email": {
                                    "x-scalar-ignore": true,
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The email address of the customer.",
                                    "example": "test@example.com"
                                  },
                                  "phone": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                    "example": "+15558675309"
                                  }
                                }
                              },
                              "newsletter_id": {
                                "oneOf": [
                                  {
                                    "x-scalar-ignore": true,
                                    "description": "The identifier for a one-time send.",
                                    "type": "integer",
                                    "example": 10
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "content_id": {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send variant.",
                                "type": "integer",
                                "example": 3
                              },
                              "customer_id": {
                                "x-scalar-ignore": true,
                                "type": "string",
                                "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",
                                "example": "42"
                              },
                              "newsletter_name": {
                                "type": "string",
                                "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                              },
                              "newsletter_tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                              },
                              "template_id": {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                                "example": 3
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "properties": {
                      "recipient": {
                        "type": "string",
                        "description": "The phone number of the person who sent the reply."
                      }
                    },
                    "required": [
                      "recipient"
                    ]
                  },
                  "event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The unique ID of the reporting webhook event being sent.",
                    "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
                  },
                  "object_type": {
                    "type": "string",
                    "enum": [
                      "whatsapp"
                    ],
                    "description": "The event relates to a WhatsApp message."
                  },
                  "timestamp": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "format": "unix timestamp",
                    "description": "The unix timestamp when the event occurred.",
                    "example": 1613063089
                  }
                },
                "required": [
                  "event_id",
                  "object_type",
                  "timestamp",
                  "metric",
                  "data"
                ]
              }
            ],
            "discriminator": {
              "propertyName": "metric"
            }
          }
        ],
        "discriminator": {
          "propertyName": "object_type"
        }
      },
      "customer_event": {
        "x-scalar-ignore": true,
        "title": "Customer",
        "description": "Events that occur when a customer subscribes or unsubscribes from your messages.",
        "oneOf": [
          {
            "title": "Customer subscribed",
            "description": "A person subscribed to messages from you—their `unsubscribed` attribute was set to `false`.",
            "properties": {
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "type": "object",
                "required": [
                  "identifiers",
                  "customer_id",
                  "email_address"
                ],
                "properties": {
                  "customer_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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",
                    "example": "42"
                  },
                  "email_address": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  },
                  "identifiers": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "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.",
                        "example": "42"
                      },
                      "cio_id": {
                        "type": "string",
                        "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.",
                        "example": "d9c106000001"
                      },
                      "email": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      },
                      "phone": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                        "example": "+15558675309"
                      }
                    }
                  }
                }
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "metric": {
                "type": "string",
                "enum": [
                  "subscribed"
                ],
                "description": "The metric recorded by the event. For `customer` events, this is whether the customer explicitly subscribed or unsubscribed."
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "customer",
                  "email",
                  "sms",
                  "push",
                  "in_app",
                  "slack",
                  "webhook",
                  "whatsapp"
                ],
                "description": "The channel that triggered the subscription change. If the subscription change wasn't triggered from a message, or we can't determine which message triggered the change, the `object_type` is `customer`.",
                "example": "customer"
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "metric",
              "event_id",
              "object_type",
              "timestamp",
              "data"
            ]
          },
          {
            "title": "Customer unsubscribed",
            "description": "A person unsubscribed to messages from you—their `unsubscribed` attribute was set to `true`.",
            "properties": {
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "type": "object",
                "required": [
                  "identifiers",
                  "customer_id",
                  "email_address"
                ],
                "properties": {
                  "customer_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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",
                    "example": "42"
                  },
                  "email_address": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  },
                  "identifiers": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "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.",
                        "example": "42"
                      },
                      "cio_id": {
                        "type": "string",
                        "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.",
                        "example": "d9c106000001"
                      },
                      "email": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      },
                      "phone": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                        "example": "+15558675309"
                      }
                    }
                  }
                }
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "metric": {
                "type": "string",
                "enum": [
                  "unsubscribed"
                ],
                "description": "The metric recorded by the event. For `customer` events, this is whether the customer explicitly subscribed or unsubscribed."
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "customer",
                  "email",
                  "sms",
                  "push",
                  "in_app",
                  "slack",
                  "webhook",
                  "whatsapp"
                ],
                "description": "The channel that triggered the subscription change. If the subscription change wasn't triggered from a message, or we can't determine which message triggered the change, the `object_type` is `customer`.",
                "example": "customer"
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "metric",
              "event_id",
              "object_type",
              "timestamp",
              "data"
            ]
          },
          {
            "title": "Customer changed subscription preferences",
            "description": "A person changed their subscription preferences through our subscription center or you changed their `cio_subscription_preferences` attribute values.\n\nSome fields in the `data` object change based on whether the message that resulted in the change originated from a broadcast, automation, or one-time send.\n",
            "type": "object",
            "required": [
              "metric",
              "event_id",
              "data",
              "timestamp"
            ],
            "properties": {
              "data": {
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "customer_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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",
                    "example": "42"
                  },
                  "email_address": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  },
                  "identifiers": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "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.",
                        "example": "42"
                      },
                      "cio_id": {
                        "type": "string",
                        "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.",
                        "example": "d9c106000001"
                      },
                      "email": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      },
                      "phone": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                        "example": "+15558675309"
                      }
                    }
                  },
                  "content": {
                    "type": "string",
                    "description": "If you enable the *Include body content and headers in all Sent events* when you set up your reporting webhook, you'll see this field. It contains the subscription preferences that a person changed in a stringified object format. The `topic_1` key refers to a topic with an ID of `1`; you can get more information about each topic from our [App API](/integrations/api/app/tag/subscription-center/getTopics/).",
                    "example": "{\"topics\":{\"topic_1\":true}}"
                  }
                },
                "required": [
                  "identifiers",
                  "customer_id",
                  "email_address"
                ],
                "description": "Contains information about the event, specific to the `object_type` and `metric`."
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "metric": {
                "type": "string",
                "enum": [
                  "cio_subscription_preferences_changed"
                ],
                "description": "The event we're reporting to your webhook endpoint. In this case, a person changed their subscription preferences."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              },
              "object_type_type": {
                "type": "string",
                "enum": [
                  "customer",
                  "email",
                  "sms",
                  "push",
                  "in_app",
                  "slack",
                  "webhook",
                  "whatsapp"
                ],
                "description": "The channel that triggered the change to the person's subscription preferences. If the subscription change wasn't triggered from a message, or we can't determine which message triggered the change, the `object_type` is `customer`. Most subscription changes are triggered by `email` or are `customer` initiated.",
                "example": "email"
              }
            }
          }
        ]
      },
      "customer_event_common": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "data"
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "type": "object",
            "required": [
              "identifiers",
              "customer_id",
              "email_address"
            ],
            "properties": {
              "customer_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "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",
                "example": "42"
              },
              "email_address": {
                "x-scalar-ignore": true,
                "type": [
                  "string",
                  "null"
                ],
                "description": "The email address of the customer.",
                "example": "test@example.com"
              },
              "identifiers": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "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.",
                    "example": "42"
                  },
                  "cio_id": {
                    "type": "string",
                    "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.",
                    "example": "d9c106000001"
                  },
                  "email": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  },
                  "phone": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                    "example": "+15558675309"
                  }
                }
              }
            }
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "object_type": {
            "type": "string",
            "enum": [
              "customer",
              "email",
              "sms",
              "push",
              "in_app",
              "slack",
              "webhook",
              "whatsapp"
            ],
            "description": "The channel that triggered the subscription change. If the subscription change wasn't triggered from a message, or we can't determine which message triggered the change, the `object_type` is `customer`.",
            "example": "customer"
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        }
      },
      "person_subscribed": {
        "title": "Customer subscribed",
        "description": "A person subscribed to messages from you—their `unsubscribed` attribute was set to `false`.",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "type": "object",
            "required": [
              "identifiers",
              "customer_id",
              "email_address"
            ],
            "properties": {
              "customer_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "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",
                "example": "42"
              },
              "email_address": {
                "x-scalar-ignore": true,
                "type": [
                  "string",
                  "null"
                ],
                "description": "The email address of the customer.",
                "example": "test@example.com"
              },
              "identifiers": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "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.",
                    "example": "42"
                  },
                  "cio_id": {
                    "type": "string",
                    "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.",
                    "example": "d9c106000001"
                  },
                  "email": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  },
                  "phone": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                    "example": "+15558675309"
                  }
                }
              }
            }
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "subscribed"
            ],
            "description": "The metric recorded by the event. For `customer` events, this is whether the customer explicitly subscribed or unsubscribed."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "customer",
              "email",
              "sms",
              "push",
              "in_app",
              "slack",
              "webhook",
              "whatsapp"
            ],
            "description": "The channel that triggered the subscription change. If the subscription change wasn't triggered from a message, or we can't determine which message triggered the change, the `object_type` is `customer`.",
            "example": "customer"
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "metric",
          "event_id",
          "object_type",
          "timestamp",
          "data"
        ]
      },
      "person_unsubscribed": {
        "title": "Customer unsubscribed",
        "description": "A person unsubscribed to messages from you—their `unsubscribed` attribute was set to `true`.",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "type": "object",
            "required": [
              "identifiers",
              "customer_id",
              "email_address"
            ],
            "properties": {
              "customer_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "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",
                "example": "42"
              },
              "email_address": {
                "x-scalar-ignore": true,
                "type": [
                  "string",
                  "null"
                ],
                "description": "The email address of the customer.",
                "example": "test@example.com"
              },
              "identifiers": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "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.",
                    "example": "42"
                  },
                  "cio_id": {
                    "type": "string",
                    "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.",
                    "example": "d9c106000001"
                  },
                  "email": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  },
                  "phone": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                    "example": "+15558675309"
                  }
                }
              }
            }
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "unsubscribed"
            ],
            "description": "The metric recorded by the event. For `customer` events, this is whether the customer explicitly subscribed or unsubscribed."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "customer",
              "email",
              "sms",
              "push",
              "in_app",
              "slack",
              "webhook",
              "whatsapp"
            ],
            "description": "The channel that triggered the subscription change. If the subscription change wasn't triggered from a message, or we can't determine which message triggered the change, the `object_type` is `customer`.",
            "example": "customer"
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "metric",
          "event_id",
          "object_type",
          "timestamp",
          "data"
        ]
      },
      "person_cio_subscription_preferences_common": {
        "x-scalar-ignore": true,
        "oneOf": [
          {
            "title": "API triggered broadcast",
            "required": [
              "trigger_id",
              "broadcast_id",
              "delivery_id",
              "action_id"
            ],
            "type": "object",
            "properties": {
              "action_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "broadcast_id": {
                "oneOf": [
                  {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The identifier for a broadcast.",
                    "example": 2
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "delivery_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The instance of a message sent to a person.",
                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
              },
              "trigger_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                "example": 1
              },
              "customer_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "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",
                "example": "42"
              },
              "journey_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
              },
              "parent_action_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                "example": 1,
                "readOnly": true
              },
              "template_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                "example": 3
              }
            }
          },
          {
            "title": "Campaign",
            "type": "object",
            "required": [
              "campaign_id",
              "delivery_id",
              "action_id"
            ],
            "properties": {
              "action_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for an action.",
                "type": "integer",
                "readOnly": true,
                "example": 96
              },
              "campaign_id": {
                "oneOf": [
                  {
                    "x-scalar-ignore": true,
                    "description": "The identifier for an automation.",
                    "type": "integer",
                    "example": 5
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "delivery_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The instance of a message sent to a person.",
                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
              },
              "customer_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "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",
                "example": "42"
              },
              "journey_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                "example": "01GW20GXAAXBKZD8J96M8FNV3R"
              },
              "parent_action_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                "example": 1,
                "readOnly": true
              },
              "template_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                "example": 3
              },
              "trigger_event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
              }
            }
          },
          {
            "title": "Newsletter",
            "type": "object",
            "required": [
              "newsletter_id",
              "delivery_id"
            ],
            "properties": {
              "delivery_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The instance of a message sent to a person.",
                "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
              },
              "newsletter_id": {
                "oneOf": [
                  {
                    "x-scalar-ignore": true,
                    "description": "The identifier for a one-time send.",
                    "type": "integer",
                    "example": 10
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content_id": {
                "x-scalar-ignore": true,
                "description": "The identifier for a one-time send variant.",
                "type": "integer",
                "example": 3
              },
              "customer_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "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",
                "example": "42"
              },
              "template_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                "example": 3
              }
            }
          }
        ]
      },
      "person_cio_subscription_preferences_changed": {
        "title": "Customer changed subscription preferences",
        "description": "A person changed their subscription preferences through our subscription center or you changed their `cio_subscription_preferences` attribute values.\n\nSome fields in the `data` object change based on whether the message that resulted in the change originated from a broadcast, automation, or one-time send.\n",
        "type": "object",
        "required": [
          "metric",
          "event_id",
          "data",
          "timestamp"
        ],
        "properties": {
          "data": {
            "allOf": [
              {
                "x-scalar-ignore": true,
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "customer_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "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",
                "example": "42"
              },
              "email_address": {
                "x-scalar-ignore": true,
                "type": [
                  "string",
                  "null"
                ],
                "description": "The email address of the customer.",
                "example": "test@example.com"
              },
              "identifiers": {
                "x-scalar-ignore": true,
                "type": "object",
                "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "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.",
                    "example": "42"
                  },
                  "cio_id": {
                    "type": "string",
                    "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.",
                    "example": "d9c106000001"
                  },
                  "email": {
                    "x-scalar-ignore": true,
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The email address of the customer.",
                    "example": "test@example.com"
                  },
                  "phone": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                    "example": "+15558675309"
                  }
                }
              },
              "content": {
                "type": "string",
                "description": "If you enable the *Include body content and headers in all Sent events* when you set up your reporting webhook, you'll see this field. It contains the subscription preferences that a person changed in a stringified object format. The `topic_1` key refers to a topic with an ID of `1`; you can get more information about each topic from our [App API](/integrations/api/app/tag/subscription-center/getTopics/).",
                "example": "{\"topics\":{\"topic_1\":true}}"
              }
            },
            "required": [
              "identifiers",
              "customer_id",
              "email_address"
            ],
            "description": "Contains information about the event, specific to the `object_type` and `metric`."
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "cio_subscription_preferences_changed"
            ],
            "description": "The event we're reporting to your webhook endpoint. In this case, a person changed their subscription preferences."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          },
          "object_type_type": {
            "type": "string",
            "enum": [
              "customer",
              "email",
              "sms",
              "push",
              "in_app",
              "slack",
              "webhook",
              "whatsapp"
            ],
            "description": "The channel that triggered the change to the person's subscription preferences. If the subscription change wasn't triggered from a message, or we can't determine which message triggered the change, the `object_type` is `customer`. Most subscription changes are triggered by `email` or are `customer` initiated.",
            "example": "email"
          }
        }
      },
      "email_event": {
        "x-scalar-ignore": true,
        "title": "Email",
        "description": "Events representing an email.",
        "oneOf": [
          {
            "title": "Email drafted",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "drafted"
                ],
                "description": "The metric recorded by the event. For `customer` events, this is whether the customer explicitly subscribed or unsubscribed."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  }
                },
                "required": [
                  "recipient",
                  "subject"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email attempted",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "attempted"
                ],
                "description": "An email could not be sent to the delivery provider and will be retried. The `failure_message` provides the reason for the failure."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  }
                },
                "required": [
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email sent",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "sent"
                ],
                "description": "A message was successfully sent. If you enabled the *Include body content and headers in all Sent events* option, the payload includes the `content` of your message and, for emails with custom headers, a `data.headers` object alongside `content`."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  },
                  "content": {
                    "type": "string",
                    "description": "The body content of your email. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook."
                  },
                  "headers": {
                    "type": "object",
                    "description": "The headers sent with your email, as a map of header name to an array of values. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the message included custom headers. This is a sibling of `content`—it is not nested inside it.",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "example": {
                      "Customheader1": [
                        "customvalue1"
                      ]
                    }
                  },
                  "variables": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "additionalProperties": true,
                    "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                  }
                },
                "required": [
                  "recipient",
                  "subject"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email delivered",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "delivered"
                ],
                "description": "A message was successfully delivered to a recipient."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  }
                },
                "required": [
                  "recipient",
                  "subject"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email opened",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "opened"
                ],
                "description": "An email was opened."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "prefetched": {
                    "type": "boolean",
                    "description": "If true, the email was opened by Gmail, Apple Privacy Protection, or a user agent identified as a machine."
                  },
                  "proxied": {
                    "type": "boolean",
                    "description": "If true, the email was fetched by a proxy to hide the user identity, IP address, etc."
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  },
                  "synthetic": {
                    "type": "boolean",
                    "description": "If true, Customer.io inferred the open event because we tracked a click event before we registered an open event (and a link in an email can't be clicked without the email being opened). This does not necessarily mean that the open was machine-oriented. The click—and therefore, the open—could have originated from either a machine or a person."
                  }
                },
                "required": [
                  "recipient"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email clicked",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "clicked"
                ],
                "description": "A tracked link in an email was clicked."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "href": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The URL of the link that a person clicked.",
                    "example": "https://docs.customer.io"
                  },
                  "link_id": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The identifier for the tracked link that a person clicked or tapped.",
                    "example": 1
                  },
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  },
                  "machine": {
                    "type": "boolean",
                    "description": "If true, the click was generated by a machine."
                  }
                },
                "required": [
                  "recipient",
                  "subject",
                  "href",
                  "link_id"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email converted",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "converted"
                ],
                "description": "A person matched conversion criteria attributed to an email."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  }
                },
                "required": [
                  "recipient",
                  "subject"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email unsubscribed",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "unsubscribed"
                ],
                "description": "The recipient unsubscribed based on a particular message."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  }
                },
                "required": [
                  "recipient",
                  "subject"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email bounced",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "bounced"
                ],
                "description": "The delivery provider could not deliver an email."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  },
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  }
                },
                "required": [
                  "recipient",
                  "subject",
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email dropped",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "dropped"
                ],
                "description": "Customer.io did not send an email because it was addressed to a person who was suppressed."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  },
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  }
                },
                "required": [
                  "recipient",
                  "subject",
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email spammed",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "spammed"
                ],
                "description": "A recipient marked an email as spam."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  }
                },
                "required": [
                  "recipient",
                  "subject"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email failed",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "failed"
                ],
                "description": "An email couldn't be sent to the delivery provider."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  }
                },
                "required": [
                  "recipient",
                  "subject",
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Email undeliverable",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "type": "object",
                "example": {
                  "event_id": "01HXYZ1234567890ABCDEF",
                  "object_type": "email",
                  "timestamp": 1713484800
                }
              }
            ],
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "undeliverable"
                ],
                "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  },
                  "recipient": {
                    "x-scalar-ignore": true,
                    "description": "The recipient address for an action.",
                    "type": "string",
                    "example": "test@example.com"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The subject of the email."
                  }
                },
                "required": [
                  "recipient",
                  "subject",
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "email"
                ],
                "description": "The event relates to an email action."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          }
        ],
        "discriminator": {
          "propertyName": "metric"
        }
      },
      "email_event_common": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "event_id",
          "object_type",
          "timestamp"
        ],
        "example": {
          "event_id": "01HXYZ1234567890ABCDEF",
          "object_type": "email",
          "timestamp": 1713484800
        },
        "properties": {
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        }
      },
      "email_drafted": {
        "title": "Email drafted",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              }
            },
            "required": [
              "recipient",
              "subject"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "drafted"
            ],
            "description": "The metric recorded by the event. For `customer` events, this is whether the customer explicitly subscribed or unsubscribed."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_attempted": {
        "title": "Email attempted",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              }
            },
            "required": [
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "attempted"
            ],
            "description": "An email could not be sent to the delivery provider and will be retried. The `failure_message` provides the reason for the failure."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_sent": {
        "title": "Email sent",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              },
              "content": {
                "type": "string",
                "description": "The body content of your email. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook."
              },
              "headers": {
                "type": "object",
                "description": "The headers sent with your email, as a map of header name to an array of values. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the message included custom headers. This is a sibling of `content`—it is not nested inside it.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "example": {
                  "Customheader1": [
                    "customvalue1"
                  ]
                }
              },
              "variables": {
                "x-scalar-ignore": true,
                "type": "object",
                "additionalProperties": true,
                "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
              }
            },
            "required": [
              "recipient",
              "subject"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "sent"
            ],
            "description": "A message was successfully sent. If you enabled the *Include body content and headers in all Sent events* option, the payload includes the `content` of your message and, for emails with custom headers, a `data.headers` object alongside `content`."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_delivered": {
        "title": "Email delivered",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              }
            },
            "required": [
              "recipient",
              "subject"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "delivered"
            ],
            "description": "A message was successfully delivered to a recipient."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_opened": {
        "title": "Email opened",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "prefetched": {
                "type": "boolean",
                "description": "If true, the email was opened by Gmail, Apple Privacy Protection, or a user agent identified as a machine."
              },
              "proxied": {
                "type": "boolean",
                "description": "If true, the email was fetched by a proxy to hide the user identity, IP address, etc."
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              },
              "synthetic": {
                "type": "boolean",
                "description": "If true, Customer.io inferred the open event because we tracked a click event before we registered an open event (and a link in an email can't be clicked without the email being opened). This does not necessarily mean that the open was machine-oriented. The click—and therefore, the open—could have originated from either a machine or a person."
              }
            },
            "required": [
              "recipient"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "opened"
            ],
            "description": "An email was opened."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_clicked": {
        "title": "Email clicked",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "href": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The URL of the link that a person clicked.",
                "example": "https://docs.customer.io"
              },
              "link_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for the tracked link that a person clicked or tapped.",
                "example": 1
              },
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              },
              "machine": {
                "type": "boolean",
                "description": "If true, the click was generated by a machine."
              }
            },
            "required": [
              "recipient",
              "subject",
              "href",
              "link_id"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "clicked"
            ],
            "description": "A tracked link in an email was clicked."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_converted": {
        "title": "Email converted",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              }
            },
            "required": [
              "recipient",
              "subject"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "converted"
            ],
            "description": "A person matched conversion criteria attributed to an email."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_unsubscribed": {
        "title": "Email unsubscribed",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              }
            },
            "required": [
              "recipient",
              "subject"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "unsubscribed"
            ],
            "description": "The recipient unsubscribed based on a particular message."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_bounced": {
        "title": "Email bounced",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              },
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              }
            },
            "required": [
              "recipient",
              "subject",
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "bounced"
            ],
            "description": "The delivery provider could not deliver an email."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_dropped": {
        "title": "Email dropped",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              },
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              }
            },
            "required": [
              "recipient",
              "subject",
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "dropped"
            ],
            "description": "Customer.io did not send an email because it was addressed to a person who was suppressed."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_spammed": {
        "title": "Email spammed",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              }
            },
            "required": [
              "recipient",
              "subject"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "spammed"
            ],
            "description": "A recipient marked an email as spam."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_failed": {
        "title": "Email failed",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              }
            },
            "required": [
              "recipient",
              "subject",
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "failed"
            ],
            "description": "An email couldn't be sent to the delivery provider."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "email_undeliverable": {
        "title": "Email undeliverable",
        "allOf": [
          {
            "x-scalar-ignore": true,
            "type": "object",
            "example": {
              "event_id": "01HXYZ1234567890ABCDEF",
              "object_type": "email",
              "timestamp": 1713484800
            }
          }
        ],
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              },
              "recipient": {
                "x-scalar-ignore": true,
                "description": "The recipient address for an action.",
                "type": "string",
                "example": "test@example.com"
              },
              "subject": {
                "type": "string",
                "description": "The subject of the email."
              }
            },
            "required": [
              "recipient",
              "subject",
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "undeliverable"
            ],
            "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "email"
            ],
            "description": "The event relates to an email action."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_event": {
        "title": "Push",
        "x-scalar-ignore": true,
        "description": "Events representing a push notification.",
        "oneOf": [
          {
            "title": "Push drafted",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "drafted"
                ],
                "description": "A push notification was drafted."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  }
                }
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Push attempted",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "attempted"
                ],
                "description": "A push notification was attempted but unsuccessful. This generally means that we'll try again."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  },
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  }
                },
                "required": [
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Push delivered",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "delivered"
                ],
                "description": "A push notification was delivered to a recipient device."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "device_id"
                      ],
                      "description": "Describes the device the push was sent to.",
                      "properties": {
                        "device_id": {
                          "type": "string",
                          "description": "The device identifier/token."
                        },
                        "device_platform": {
                          "type": "string",
                          "description": "The device platform—ios or android.",
                          "enum": [
                            "ios",
                            "android"
                          ]
                        }
                      }
                    }
                  },
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  }
                },
                "required": [
                  "recipients"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Push sent",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "sent"
                ],
                "description": "A push notification was sent to a recipient. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your message."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "device_id"
                      ],
                      "description": "The person's devices that the push was sent to. Each object in the array represents a device.",
                      "properties": {
                        "device_id": {
                          "type": "string",
                          "description": "The device identifier/token."
                        },
                        "device_platform": {
                          "type": "string",
                          "description": "The device platform—ios or android.",
                          "enum": [
                            "ios",
                            "android"
                          ]
                        },
                        "failure_message": {
                          "type": "string",
                          "description": "If push failed for the device, we'll the list reason it failed."
                        }
                      }
                    }
                  },
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "content": {
                    "type": "string",
                    "description": "The stringified payload for your push notification. This key only appears if you enabled the *Body Content* option when setting up your webhook."
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  },
                  "variables": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "additionalProperties": true,
                    "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                  }
                },
                "required": [
                  "recipients"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Push opened",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "opened"
                ],
                "description": "A device opened a push notification."
              },
              "data": {
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "device_id"
                      ],
                      "description": "Describes the device of the recipient who clicked/tapped the link.",
                      "properties": {
                        "device_id": {
                          "type": "string",
                          "description": "The device identifier/token."
                        },
                        "device_platform": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "enum": [
                            "android",
                            "ios"
                          ],
                          "description": "The device's operating system.",
                          "example": "ios"
                        }
                      }
                    }
                  },
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  }
                },
                "required": [
                  "recipients"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Push clicked",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "clicked"
                ],
                "description": "A recipient tapped a link in a push notification."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "href": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The URL of the link that a person clicked.",
                    "example": "https://docs.customer.io"
                  },
                  "link_id": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The identifier for the tracked link that a person clicked or tapped.",
                    "example": 1
                  },
                  "recipients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "device_id"
                      ],
                      "description": "Describes the device of the recipient who tapped the link.",
                      "properties": {
                        "device_id": {
                          "type": "string",
                          "description": "The device identifier/token."
                        },
                        "device_platform": {
                          "type": "string",
                          "description": "The device platform—ios or android.",
                          "enum": [
                            "ios",
                            "android"
                          ]
                        }
                      }
                    }
                  },
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  }
                },
                "required": [
                  "recipients",
                  "href",
                  "link_id"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Push converted",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "converted"
                ],
                "description": "A person matched conversion criteria attributed to a push notification."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "device_id"
                      ],
                      "description": "Describes the device of the recipient who tapped the link.",
                      "properties": {
                        "device_id": {
                          "type": "string",
                          "description": "The device identifier/token."
                        },
                        "device_platform": {
                          "type": "string",
                          "description": "The device platform—ios or android.",
                          "enum": [
                            "ios",
                            "android"
                          ]
                        }
                      }
                    }
                  },
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  }
                },
                "required": [
                  "recipients"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Push bounced",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "bounced"
                ],
                "description": "The delivery provider reported at least one invalid device token."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "device_id",
                        "device_platform",
                        "failure_message"
                      ],
                      "description": "Describes the device of the recipient who tapped the link.",
                      "properties": {
                        "device_id": {
                          "type": "string",
                          "description": "The device identifier/token."
                        },
                        "device_platform": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "enum": [
                            "android",
                            "ios"
                          ],
                          "description": "The device's operating system.",
                          "example": "ios"
                        },
                        "failure_message": {
                          "type": "string",
                          "description": "The reason the push failed for this particular recipient."
                        }
                      }
                    }
                  },
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  }
                },
                "required": [
                  "recipients"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Push dropped",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "dropped"
                ],
                "description": "A push notification wasn't sent because at least one device token previously bounced."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipients": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "device_id",
                        "device_platform",
                        "failure_message"
                      ],
                      "description": "Describes the device of the recipient who tapped the link.",
                      "properties": {
                        "device_id": {
                          "type": "string",
                          "description": "The device identifier/token."
                        },
                        "device_platform": {
                          "x-scalar-ignore": true,
                          "type": "string",
                          "enum": [
                            "android",
                            "ios"
                          ],
                          "description": "The device's operating system.",
                          "example": "ios"
                        },
                        "failure_message": {
                          "type": "string",
                          "description": "The reason the push failed for this particular recipient."
                        }
                      }
                    }
                  },
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  }
                },
                "required": [
                  "recipients"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Push failed",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "failed"
                ],
                "description": "A push notification couldn't be sent to the delivery provider."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  },
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  }
                },
                "required": [
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "Push undeliverable",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "undeliverable"
                ],
                "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Transactional message",
                        "type": "object",
                        "required": [
                          "transactional_message_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "transactional_message_id": {
                            "description": "The transactional message template you used for your message."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  },
                  "app_id": {
                    "type": "integer",
                    "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                    "example": 5
                  },
                  "related_delivery_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
                  }
                },
                "required": [
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "push"
                ],
                "description": "The event relates to an push notification."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          }
        ],
        "discriminator": {
          "propertyName": "metric"
        }
      },
      "push_event_common": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "event_id",
          "object_type",
          "timestamp"
        ],
        "properties": {
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        }
      },
      "push_drafted": {
        "title": "Push drafted",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              }
            }
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "drafted"
            ],
            "description": "A push notification was drafted."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_attempted": {
        "title": "Push attempted",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              },
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              }
            },
            "required": [
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "attempted"
            ],
            "description": "A push notification was attempted but unsuccessful. This generally means that we'll try again."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_sent": {
        "title": "Push sent",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipients": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "device_id"
                  ],
                  "description": "The person's devices that the push was sent to. Each object in the array represents a device.",
                  "properties": {
                    "device_id": {
                      "type": "string",
                      "description": "The device identifier/token."
                    },
                    "device_platform": {
                      "type": "string",
                      "description": "The device platform—ios or android.",
                      "enum": [
                        "ios",
                        "android"
                      ]
                    },
                    "failure_message": {
                      "type": "string",
                      "description": "If push failed for the device, we'll the list reason it failed."
                    }
                  }
                }
              },
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "content": {
                "type": "string",
                "description": "The stringified payload for your push notification. This key only appears if you enabled the *Body Content* option when setting up your webhook."
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              },
              "variables": {
                "x-scalar-ignore": true,
                "type": "object",
                "additionalProperties": true,
                "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
              }
            },
            "required": [
              "recipients"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "sent"
            ],
            "description": "A push notification was sent to a recipient. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your message."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_delivered": {
        "title": "Push delivered",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipients": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "device_id"
                  ],
                  "description": "Describes the device the push was sent to.",
                  "properties": {
                    "device_id": {
                      "type": "string",
                      "description": "The device identifier/token."
                    },
                    "device_platform": {
                      "type": "string",
                      "description": "The device platform—ios or android.",
                      "enum": [
                        "ios",
                        "android"
                      ]
                    }
                  }
                }
              },
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              }
            },
            "required": [
              "recipients"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "delivered"
            ],
            "description": "A push notification was delivered to a recipient device."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_opened": {
        "title": "Push opened",
        "properties": {
          "data": {
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipients": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "device_id"
                  ],
                  "description": "Describes the device of the recipient who clicked/tapped the link.",
                  "properties": {
                    "device_id": {
                      "type": "string",
                      "description": "The device identifier/token."
                    },
                    "device_platform": {
                      "x-scalar-ignore": true,
                      "type": "string",
                      "enum": [
                        "android",
                        "ios"
                      ],
                      "description": "The device's operating system.",
                      "example": "ios"
                    }
                  }
                }
              },
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              }
            },
            "required": [
              "recipients"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "opened"
            ],
            "description": "A device opened a push notification."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_clicked": {
        "title": "Push clicked",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "href": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The URL of the link that a person clicked.",
                "example": "https://docs.customer.io"
              },
              "link_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for the tracked link that a person clicked or tapped.",
                "example": 1
              },
              "recipients": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "device_id"
                  ],
                  "description": "Describes the device of the recipient who tapped the link.",
                  "properties": {
                    "device_id": {
                      "type": "string",
                      "description": "The device identifier/token."
                    },
                    "device_platform": {
                      "type": "string",
                      "description": "The device platform—ios or android.",
                      "enum": [
                        "ios",
                        "android"
                      ]
                    }
                  }
                }
              },
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              }
            },
            "required": [
              "recipients",
              "href",
              "link_id"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "clicked"
            ],
            "description": "A recipient tapped a link in a push notification."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_converted": {
        "title": "Push converted",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipients": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "device_id"
                  ],
                  "description": "Describes the device of the recipient who tapped the link.",
                  "properties": {
                    "device_id": {
                      "type": "string",
                      "description": "The device identifier/token."
                    },
                    "device_platform": {
                      "type": "string",
                      "description": "The device platform—ios or android.",
                      "enum": [
                        "ios",
                        "android"
                      ]
                    }
                  }
                }
              },
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              }
            },
            "required": [
              "recipients"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "converted"
            ],
            "description": "A person matched conversion criteria attributed to a push notification."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_bounced": {
        "title": "Push bounced",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipients": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "device_id",
                    "device_platform",
                    "failure_message"
                  ],
                  "description": "Describes the device of the recipient who tapped the link.",
                  "properties": {
                    "device_id": {
                      "type": "string",
                      "description": "The device identifier/token."
                    },
                    "device_platform": {
                      "x-scalar-ignore": true,
                      "type": "string",
                      "enum": [
                        "android",
                        "ios"
                      ],
                      "description": "The device's operating system.",
                      "example": "ios"
                    },
                    "failure_message": {
                      "type": "string",
                      "description": "The reason the push failed for this particular recipient."
                    }
                  }
                }
              },
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              }
            },
            "required": [
              "recipients"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "bounced"
            ],
            "description": "The delivery provider reported at least one invalid device token."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_dropped": {
        "title": "Push dropped",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipients": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "device_id",
                    "device_platform",
                    "failure_message"
                  ],
                  "description": "Describes the device of the recipient who tapped the link.",
                  "properties": {
                    "device_id": {
                      "type": "string",
                      "description": "The device identifier/token."
                    },
                    "device_platform": {
                      "x-scalar-ignore": true,
                      "type": "string",
                      "enum": [
                        "android",
                        "ios"
                      ],
                      "description": "The device's operating system.",
                      "example": "ios"
                    },
                    "failure_message": {
                      "type": "string",
                      "description": "The reason the push failed for this particular recipient."
                    }
                  }
                }
              },
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              }
            },
            "required": [
              "recipients"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "dropped"
            ],
            "description": "A push notification wasn't sent because at least one device token previously bounced."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_failed": {
        "title": "Push failed",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              },
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              }
            },
            "required": [
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "failed"
            ],
            "description": "A push notification couldn't be sent to the delivery provider."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "push_undeliverable": {
        "title": "Push undeliverable",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Transactional message",
                    "type": "object",
                    "required": [
                      "transactional_message_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "transactional_message_id": {
                        "description": "The transactional message template you used for your message."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              },
              "app_id": {
                "type": "integer",
                "description": "The ID of the app that the push was sent to. Useful when your workspace has more than one app.",
                "example": 5
              },
              "related_delivery_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "When a push matches multiple devices for a person, we create an individual delivery for each device. These are the IDs of the other deliveries created for the same push; the list doesn't include this event's own `delivery_id`."
              }
            },
            "required": [
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "undeliverable"
            ],
            "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "push"
            ],
            "description": "The event relates to an push notification."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "sms_event": {
        "x-scalar-ignore": true,
        "title": "SMS",
        "description": "Events pertaining to SMS notifications.",
        "oneOf": [
          {
            "title": "SMS drafted",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "drafted"
                ],
                "description": "An SMS notification was drafted."
              },
              "data": {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "sms"
                ],
                "description": "The event relates to an SMS message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "SMS attempted",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "attempted"
                ],
                "description": "An SMS could not be sent to the delivery provider, but will retry."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  }
                },
                "required": [
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "sms"
                ],
                "description": "The event relates to an SMS message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "SMS sent",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "sent"
                ],
                "description": "An SMS notification was sent. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your message."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "type": "string",
                    "description": "The MSISDN (phone number) of the SMS recipient."
                  },
                  "content": {
                    "type": "string",
                    "description": "The body of your message. This key only appears if you enabled the *Body Content* option when setting up your webhook."
                  },
                  "variables": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "additionalProperties": true,
                    "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                  }
                },
                "required": [
                  "recipient"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "sms"
                ],
                "description": "The event relates to an SMS message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "SMS delivered",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "delivered"
                ],
                "description": "An SMS notification was delivered to a recipient."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "type": "string",
                    "description": "The MSISDN (phone number) of the SMS recipient."
                  }
                },
                "required": [
                  "recipient"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "sms"
                ],
                "description": "The event relates to an SMS message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "SMS clicked",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "clicked"
                ],
                "description": "A recipient tapped a link in an SMS message they received."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "href": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The URL of the link that a person clicked.",
                    "example": "https://docs.customer.io"
                  },
                  "link_id": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The identifier for the tracked link that a person clicked or tapped.",
                    "example": 1
                  },
                  "recipient": {
                    "type": "string",
                    "description": "The MSISDN (phone number) of the SMS recipient."
                  }
                },
                "required": [
                  "recipient",
                  "link_id",
                  "href"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "sms"
                ],
                "description": "The event relates to an SMS message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "SMS converted",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "converted"
                ],
                "description": "A person matched conversion criteria attributed to an SMS."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "type": "string",
                    "description": "The MSISDN (phone number) of the SMS recipient."
                  }
                },
                "required": [
                  "recipient"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "sms"
                ],
                "description": "The event relates to an SMS message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "SMS bounced",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "bounced"
                ],
                "description": "The delivery provider was unable to deliver an SMS message."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  },
                  "recipient": {
                    "type": "string",
                    "description": "The MSISDN (phone number) of the SMS recipient."
                  }
                },
                "required": [
                  "recipient",
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "sms"
                ],
                "description": "The event relates to an SMS message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "SMS failed",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "failed"
                ],
                "description": "An SMS couldn't be sent to the delivery provider."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  }
                },
                "required": [
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "sms"
                ],
                "description": "The event relates to an SMS message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "SMS undeliverable",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "undeliverable"
                ],
                "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  }
                },
                "required": [
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "sms"
                ],
                "description": "The event relates to an SMS message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "SMS replied",
            "description": "A person replied to a message you sent them. Customer.io attributes replies to the original delivery if the reply occurs within 72 hours of the original delivery. If the reply occurs outside the 72 hour window, or we can't attribute the reply to a delivery, the `delivery_id` and associated data (`campaign_id`, `action_id`, `trigger_event_id`, etc) we won't send this event.",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "replied"
                ],
                "description": "A person replied to a message you sent them. Customer.io attributes replies to the original delivery if the reply occurs within 72 hours of the original delivery. If the reply occurs outside the 72 hour window, or we can't attribute the reply to a delivery, the `delivery_id` and associated data (`campaign_id`, `action_id`, `trigger_event_id`, etc) we won't send this event."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "type": "string",
                    "description": "The phone number of the person who sent the reply."
                  }
                },
                "required": [
                  "recipient"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "sms"
                ],
                "description": "The event relates to an SMS message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          }
        ],
        "discriminator": {
          "propertyName": "metric"
        }
      },
      "sms_event_common": {
        "x-scalar-ignore": true,
        "type": "object",
        "required": [
          "event_id",
          "object_type",
          "timestamp"
        ],
        "properties": {
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        }
      },
      "sms_drafted": {
        "title": "SMS drafted",
        "properties": {
          "data": {
            "x-scalar-ignore": true,
            "example": {
              "action_id": 42,
              "campaign_id": 7,
              "delivery_id": "RPIyMTM6OjEyMzQ=",
              "identifiers": {
                "id": "user-123"
              },
              "customer_id": "user-123",
              "journey_id": 15
            },
            "oneOf": [
              {
                "title": "API triggered broadcast",
                "required": [
                  "trigger_id",
                  "broadcast_id",
                  "delivery_id",
                  "action_id",
                  "identifiers"
                ],
                "type": "object",
                "properties": {
                  "action_id": {
                    "x-scalar-ignore": true,
                    "description": "The identifier for an action.",
                    "type": "integer",
                    "readOnly": true,
                    "example": 96
                  },
                  "broadcast_id": {
                    "oneOf": [
                      {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The identifier for a broadcast.",
                        "example": 2
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "delivery_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The instance of a message sent to a person.",
                    "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                  },
                  "identifiers": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "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.",
                        "example": "42"
                      },
                      "cio_id": {
                        "type": "string",
                        "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.",
                        "example": "d9c106000001"
                      },
                      "email": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      },
                      "phone": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                        "example": "+15558675309"
                      }
                    }
                  },
                  "trigger_id": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                    "example": 1
                  },
                  "broadcast_name": {
                    "type": "string",
                    "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                  },
                  "broadcast_tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                  },
                  "customer_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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",
                    "example": "42"
                  },
                  "journey_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                    "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                  },
                  "parent_action_id": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                    "example": 1,
                    "readOnly": true
                  },
                  "template_id": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                    "example": 3
                  }
                }
              },
              {
                "title": "Campaign",
                "type": "object",
                "required": [
                  "campaign_id",
                  "delivery_id",
                  "action_id",
                  "identifiers"
                ],
                "properties": {
                  "action_id": {
                    "x-scalar-ignore": true,
                    "description": "The identifier for an action.",
                    "type": "integer",
                    "readOnly": true,
                    "example": 96
                  },
                  "campaign_id": {
                    "oneOf": [
                      {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an automation.",
                        "type": "integer",
                        "example": 5
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "delivery_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The instance of a message sent to a person.",
                    "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                  },
                  "identifiers": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "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.",
                        "example": "42"
                      },
                      "cio_id": {
                        "type": "string",
                        "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.",
                        "example": "d9c106000001"
                      },
                      "email": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      },
                      "phone": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                        "example": "+15558675309"
                      }
                    }
                  },
                  "campaign_name": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The name of the automation.",
                    "readOnly": true
                  },
                  "campaign_tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                  },
                  "customer_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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",
                    "example": "42"
                  },
                  "journey_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                    "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                  },
                  "parent_action_id": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                    "example": 1,
                    "readOnly": true
                  },
                  "template_id": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                    "example": 3
                  },
                  "trigger_event_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                    "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                  }
                }
              },
              {
                "title": "Newsletter",
                "type": "object",
                "required": [
                  "newsletter_id",
                  "delivery_id",
                  "identifiers"
                ],
                "properties": {
                  "delivery_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The instance of a message sent to a person.",
                    "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                  },
                  "identifiers": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "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.",
                        "example": "42"
                      },
                      "cio_id": {
                        "type": "string",
                        "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.",
                        "example": "d9c106000001"
                      },
                      "email": {
                        "x-scalar-ignore": true,
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The email address of the customer.",
                        "example": "test@example.com"
                      },
                      "phone": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                        "example": "+15558675309"
                      }
                    }
                  },
                  "newsletter_id": {
                    "oneOf": [
                      {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send.",
                        "type": "integer",
                        "example": 10
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "content_id": {
                    "x-scalar-ignore": true,
                    "description": "The identifier for a one-time send variant.",
                    "type": "integer",
                    "example": 3
                  },
                  "customer_id": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "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",
                    "example": "42"
                  },
                  "newsletter_name": {
                    "type": "string",
                    "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                  },
                  "newsletter_tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                  },
                  "template_id": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                    "example": 3
                  }
                }
              }
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "drafted"
            ],
            "description": "An SMS notification was drafted."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "sms_attempted": {
        "title": "SMS attempted",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              }
            },
            "required": [
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "attempted"
            ],
            "description": "An SMS could not be sent to the delivery provider, but will retry."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "sms_sent": {
        "title": "SMS sent",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "type": "string",
                "description": "The MSISDN (phone number) of the SMS recipient."
              },
              "content": {
                "type": "string",
                "description": "The body of your message. This key only appears if you enabled the *Body Content* option when setting up your webhook."
              },
              "variables": {
                "x-scalar-ignore": true,
                "type": "object",
                "additionalProperties": true,
                "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
              }
            },
            "required": [
              "recipient"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "sent"
            ],
            "description": "An SMS notification was sent. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your message."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "sms_delivered": {
        "title": "SMS delivered",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "type": "string",
                "description": "The MSISDN (phone number) of the SMS recipient."
              }
            },
            "required": [
              "recipient"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "delivered"
            ],
            "description": "An SMS notification was delivered to a recipient."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "sms_clicked": {
        "title": "SMS clicked",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "href": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The URL of the link that a person clicked.",
                "example": "https://docs.customer.io"
              },
              "link_id": {
                "x-scalar-ignore": true,
                "type": "integer",
                "description": "The identifier for the tracked link that a person clicked or tapped.",
                "example": 1
              },
              "recipient": {
                "type": "string",
                "description": "The MSISDN (phone number) of the SMS recipient."
              }
            },
            "required": [
              "recipient",
              "link_id",
              "href"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "clicked"
            ],
            "description": "A recipient tapped a link in an SMS message they received."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "sms_converted": {
        "title": "SMS converted",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "type": "string",
                "description": "The MSISDN (phone number) of the SMS recipient."
              }
            },
            "required": [
              "recipient"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "converted"
            ],
            "description": "A person matched conversion criteria attributed to an SMS."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "sms_bounced": {
        "title": "SMS bounced",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              },
              "recipient": {
                "type": "string",
                "description": "The MSISDN (phone number) of the SMS recipient."
              }
            },
            "required": [
              "recipient",
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "bounced"
            ],
            "description": "The delivery provider was unable to deliver an SMS message."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "sms_failed": {
        "title": "SMS failed",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              }
            },
            "required": [
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "failed"
            ],
            "description": "An SMS couldn't be sent to the delivery provider."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "sms_undeliverable": {
        "title": "SMS undeliverable",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "failure_message": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "Indicates the reason that an attempted message failed.",
                "example": "Something went wrong!"
              }
            },
            "required": [
              "failure_message"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "undeliverable"
            ],
            "description": "A message was undeliverable. Undeliverable messages are messages that have either hit a message limit, come from a one-time send 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."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "sms_replied": {
        "title": "SMS replied",
        "description": "A person replied to a message you sent them. Customer.io attributes replies to the original delivery if the reply occurs within 72 hours of the original delivery. If the reply occurs outside the 72 hour window, or we can't attribute the reply to a delivery, the `delivery_id` and associated data (`campaign_id`, `action_id`, `trigger_event_id`, etc) we won't send this event.",
        "properties": {
          "data": {
            "description": "Contains information about the event, specific to the `object_type` and `metric`.",
            "allOf": [
              {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              }
            ],
            "properties": {
              "recipient": {
                "type": "string",
                "description": "The phone number of the person who sent the reply."
              }
            },
            "required": [
              "recipient"
            ]
          },
          "event_id": {
            "x-scalar-ignore": true,
            "type": "string",
            "description": "The unique ID of the reporting webhook event being sent.",
            "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
          },
          "metric": {
            "type": "string",
            "enum": [
              "replied"
            ],
            "description": "A person replied to a message you sent them. Customer.io attributes replies to the original delivery if the reply occurs within 72 hours of the original delivery. If the reply occurs outside the 72 hour window, or we can't attribute the reply to a delivery, the `delivery_id` and associated data (`campaign_id`, `action_id`, `trigger_event_id`, etc) we won't send this event."
          },
          "object_type": {
            "type": "string",
            "enum": [
              "sms"
            ],
            "description": "The event relates to an SMS message."
          },
          "timestamp": {
            "x-scalar-ignore": true,
            "type": "integer",
            "format": "unix timestamp",
            "description": "The unix timestamp when the event occurred.",
            "example": 1613063089
          }
        },
        "required": [
          "event_id",
          "object_type",
          "timestamp",
          "metric",
          "data"
        ]
      },
      "whatsapp_event": {
        "x-scalar-ignore": true,
        "title": "WhatsApp",
        "description": "Events pertaining to WhatsApp messages.",
        "oneOf": [
          {
            "title": "WhatsApp drafted",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "drafted"
                ],
                "description": "A WhatsApp message was drafted."
              },
              "data": {
                "x-scalar-ignore": true,
                "example": {
                  "action_id": 42,
                  "campaign_id": 7,
                  "delivery_id": "RPIyMTM6OjEyMzQ=",
                  "identifiers": {
                    "id": "user-123"
                  },
                  "customer_id": "user-123",
                  "journey_id": 15
                },
                "oneOf": [
                  {
                    "title": "API triggered broadcast",
                    "required": [
                      "trigger_id",
                      "broadcast_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "type": "object",
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "broadcast_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The identifier for a broadcast.",
                            "example": 2
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "trigger_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                        "example": 1
                      },
                      "broadcast_name": {
                        "type": "string",
                        "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                      },
                      "broadcast_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  },
                  {
                    "title": "Campaign",
                    "type": "object",
                    "required": [
                      "campaign_id",
                      "delivery_id",
                      "action_id",
                      "identifiers"
                    ],
                    "properties": {
                      "action_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for an action.",
                        "type": "integer",
                        "readOnly": true,
                        "example": 96
                      },
                      "campaign_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an automation.",
                            "type": "integer",
                            "example": 5
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "campaign_name": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The name of the automation.",
                        "readOnly": true
                      },
                      "campaign_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "journey_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                        "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                      },
                      "parent_action_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                        "example": 1,
                        "readOnly": true
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      },
                      "trigger_event_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                        "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                      }
                    }
                  },
                  {
                    "title": "Newsletter",
                    "type": "object",
                    "required": [
                      "newsletter_id",
                      "delivery_id",
                      "identifiers"
                    ],
                    "properties": {
                      "delivery_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "description": "The instance of a message sent to a person.",
                        "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                      },
                      "identifiers": {
                        "x-scalar-ignore": true,
                        "type": "object",
                        "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                        "required": [
                          "id"
                        ],
                        "properties": {
                          "id": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "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.",
                            "example": "42"
                          },
                          "cio_id": {
                            "type": "string",
                            "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.",
                            "example": "d9c106000001"
                          },
                          "email": {
                            "x-scalar-ignore": true,
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The email address of the customer.",
                            "example": "test@example.com"
                          },
                          "phone": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                            "example": "+15558675309"
                          }
                        }
                      },
                      "newsletter_id": {
                        "oneOf": [
                          {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send.",
                            "type": "integer",
                            "example": 10
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "content_id": {
                        "x-scalar-ignore": true,
                        "description": "The identifier for a one-time send variant.",
                        "type": "integer",
                        "example": 3
                      },
                      "customer_id": {
                        "x-scalar-ignore": true,
                        "type": "string",
                        "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",
                        "example": "42"
                      },
                      "newsletter_name": {
                        "type": "string",
                        "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                      },
                      "newsletter_tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                      },
                      "template_id": {
                        "x-scalar-ignore": true,
                        "type": "integer",
                        "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                        "example": 3
                      }
                    }
                  }
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "whatsapp"
                ],
                "description": "The event relates to a WhatsApp message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "WhatsApp attempted",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "attempted"
                ],
                "description": "A WhatsApp message could not be sent to the delivery provider, but will retry."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  }
                },
                "required": [
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "whatsapp"
                ],
                "description": "The event relates to a WhatsApp message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "WhatsApp sent",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "sent"
                ],
                "description": "A WhatsApp message was sent. If you enabled the *Body Content* option with your webhook, the payload includes the `content` of your message."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "type": "string",
                    "description": "The phone number of the WhatsApp recipient."
                  },
                  "content": {
                    "type": "string",
                    "description": "The body of your message. This key only appears if you enabled the *Body Content* option when setting up your webhook."
                  },
                  "variables": {
                    "x-scalar-ignore": true,
                    "type": "object",
                    "additionalProperties": true,
                    "description": "User-defined variables associated with the message, as key-value pairs. This key only appears if you enabled the *Include body content and headers in all Sent events* (*Body Content*) option when setting up your webhook and the delivery has variables."
                  }
                },
                "required": [
                  "recipient"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "whatsapp"
                ],
                "description": "The event relates to a WhatsApp message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "WhatsApp delivered",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "delivered"
                ],
                "description": "A WhatsApp message was delivered to a recipient."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "type": "string",
                    "description": "The phone number of the WhatsApp recipient."
                  }
                },
                "required": [
                  "recipient"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "whatsapp"
                ],
                "description": "The event relates to a WhatsApp message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "WhatsApp opened",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "opened"
                ],
                "description": "A WhatsApp message was read by the recipient."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "type": "string",
                    "description": "The phone number of the WhatsApp recipient."
                  }
                },
                "required": [
                  "recipient"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "whatsapp"
                ],
                "description": "The event relates to a WhatsApp message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "WhatsApp clicked",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "clicked"
                ],
                "description": "A recipient tapped a link in a WhatsApp message they received."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "href": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "The URL of the link that a person clicked.",
                    "example": "https://docs.customer.io"
                  },
                  "link_id": {
                    "x-scalar-ignore": true,
                    "type": "integer",
                    "description": "The identifier for the tracked link that a person clicked or tapped.",
                    "example": 1
                  },
                  "recipient": {
                    "type": "string",
                    "description": "The phone number of the WhatsApp recipient."
                  }
                },
                "required": [
                  "recipient",
                  "link_id",
                  "href"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "whatsapp"
                ],
                "description": "The event relates to a WhatsApp message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "WhatsApp converted",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "converted"
                ],
                "description": "A person matched conversion criteria attributed to a WhatsApp message."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "recipient": {
                    "type": "string",
                    "description": "The phone number of the WhatsApp recipient."
                  }
                },
                "required": [
                  "recipient"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "whatsapp"
                ],
                "description": "The event relates to a WhatsApp message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "WhatsApp bounced",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "bounced"
                ],
                "description": "The delivery provider was unable to deliver a WhatsApp message."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  },
                  "recipient": {
                    "type": "string",
                    "description": "The phone number of the WhatsApp recipient."
                  }
                },
                "required": [
                  "recipient",
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "whatsapp"
                ],
                "description": "The event relates to a WhatsApp message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "WhatsApp dropped",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "dropped"
                ],
                "description": "Customer.io did not send a WhatsApp message because the recipient was suppressed."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          },
                          "trigger_event_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The id of the event that triggered an event-triggered automation (not an API-triggered broadcast).",
                            "example": "21E4C3CT6YDC7Y4N7FE1GWWABC"
                          }
                        }
                      },
                      {
                        "title": "Newsletter",
                        "type": "object",
                        "required": [
                          "newsletter_id",
                          "delivery_id",
                          "identifiers"
                        ],
                        "properties": {
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "newsletter_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for a one-time send.",
                                "type": "integer",
                                "example": 10
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for a one-time send variant.",
                            "type": "integer",
                            "example": 3
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "newsletter_name": {
                            "type": "string",
                            "description": "The name of the one-time send. Omitted when the name isn't available—for example, if the one-time send was deleted."
                          },
                          "newsletter_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the one-time send, as an array of tag names. Omitted when the one-time send has no tags or the tags aren't available."
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      }
                    ]
                  }
                ],
                "properties": {
                  "failure_message": {
                    "x-scalar-ignore": true,
                    "type": "string",
                    "description": "Indicates the reason that an attempted message failed.",
                    "example": "Something went wrong!"
                  },
                  "recipient": {
                    "type": "string",
                    "description": "The phone number of the WhatsApp recipient."
                  }
                },
                "required": [
                  "recipient",
                  "failure_message"
                ]
              },
              "event_id": {
                "x-scalar-ignore": true,
                "type": "string",
                "description": "The unique ID of the reporting webhook event being sent.",
                "example": "01E4C4CT6YDC7Y5M7FE1GWWPQJ"
              },
              "object_type": {
                "type": "string",
                "enum": [
                  "whatsapp"
                ],
                "description": "The event relates to a WhatsApp message."
              },
              "timestamp": {
                "x-scalar-ignore": true,
                "type": "integer",
                "format": "unix timestamp",
                "description": "The unix timestamp when the event occurred.",
                "example": 1613063089
              }
            },
            "required": [
              "event_id",
              "object_type",
              "timestamp",
              "metric",
              "data"
            ]
          },
          {
            "title": "WhatsApp failed",
            "properties": {
              "metric": {
                "type": "string",
                "enum": [
                  "failed"
                ],
                "description": "A WhatsApp message couldn't be sent to the delivery provider."
              },
              "data": {
                "description": "Contains information about the event, specific to the `object_type` and `metric`.",
                "allOf": [
                  {
                    "x-scalar-ignore": true,
                    "example": {
                      "action_id": 42,
                      "campaign_id": 7,
                      "delivery_id": "RPIyMTM6OjEyMzQ=",
                      "identifiers": {
                        "id": "user-123"
                      },
                      "customer_id": "user-123",
                      "journey_id": 15
                    },
                    "oneOf": [
                      {
                        "title": "API triggered broadcast",
                        "required": [
                          "trigger_id",
                          "broadcast_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "type": "object",
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "broadcast_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "type": "integer",
                                "description": "The identifier for a broadcast.",
                                "example": 2
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "trigger_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The trigger ID returned by the [Trigger Broadcast API](/integrations/api/app/tag/send-messages/triggerBroadcast/).",
                            "example": 1
                          },
                          "broadcast_name": {
                            "type": "string",
                            "description": "The name of the broadcast. Omitted when the name isn't available—for example, if the broadcast was deleted."
                          },
                          "broadcast_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the broadcast, as an array of tag names. Omitted when the broadcast has no tags or the tags aren't available."
                          },
                          "customer_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "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",
                            "example": "42"
                          },
                          "journey_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The ID for the path a person went through in an automation or API Triggered Broadcast workflow.",
                            "example": "01GW20GXAAXBKZD8J96M8FNV3R"
                          },
                          "parent_action_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the parent action, if the action occurred within an automation and has a parent (like a randomized split, etc).",
                            "example": 1,
                            "readOnly": true
                          },
                          "template_id": {
                            "x-scalar-ignore": true,
                            "type": "integer",
                            "description": "The ID of the template used to render the message. A message's content can change over its lifetime; this is the template used for this delivery. For one-time sends (newsletters), this matches `content_id`.",
                            "example": 3
                          }
                        }
                      },
                      {
                        "title": "Campaign",
                        "type": "object",
                        "required": [
                          "campaign_id",
                          "delivery_id",
                          "action_id",
                          "identifiers"
                        ],
                        "properties": {
                          "action_id": {
                            "x-scalar-ignore": true,
                            "description": "The identifier for an action.",
                            "type": "integer",
                            "readOnly": true,
                            "example": 96
                          },
                          "campaign_id": {
                            "oneOf": [
                              {
                                "x-scalar-ignore": true,
                                "description": "The identifier for an automation.",
                                "type": "integer",
                                "example": 5
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "delivery_id": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The instance of a message sent to a person.",
                            "example": "ZAIAAVTJVG0QcCok0-0ZKj6yiQ=="
                          },
                          "identifiers": {
                            "x-scalar-ignore": true,
                            "type": "object",
                            "description": "The person the event represents. This object contains all of the identifiers enabled in your workspace, even if they aren't set for the person. If your workspace supports multiple identifiers, this object contains `cio_id` plus each enabled identifier—`id`, `email`, and (if enabled) `phone`. Each of these can be null when the person doesn't have that identifier set.\n\nOtherwise, if your workspace only supports ID, this object just contains the `id` of the person the event represents.\n",
                            "required": [
                              "id"
                            ],
                            "properties": {
                              "id": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "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.",
                                "example": "42"
                              },
                              "cio_id": {
                                "type": "string",
                                "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.",
                                "example": "d9c106000001"
                              },
                              "email": {
                                "x-scalar-ignore": true,
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The email address of the customer.",
                                "example": "test@example.com"
                              },
                              "phone": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The person's phone number. This key only appears if your workspace has phone enabled as an identifier.",
                                "example": "+15558675309"
                              }
                            }
                          },
                          "campaign_name": {
                            "x-scalar-ignore": true,
                            "type": "string",
                            "description": "The name of the automation.",
                            "readOnly": true
                          },
                          "campaign_tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The tags on the automation, as an array of tag names. Omitted when the automation has no tags or the tags aren't available."
                          },
                          "cust