Klaviyo · Schema

DataPrivacyProfileQueryResourceObject

MarketingEmailSMSCustomer DataE-CommerceAutomation

Properties

Name Type Description
type object
id string Primary key that uniquely identifies this profile. Generated by Klaviyo.
attributes object
View JSON Schema on GitHub

JSON Schema

klaviyo-dataprivacyprofilequeryresourceobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DataPrivacyProfileQueryResourceObject",
  "title": "DataPrivacyProfileQueryResourceObject",
  "type": "object",
  "properties": {
    "type": {
      "$ref": "#/components/schemas/ProfileEnum"
    },
    "id": {
      "description": "Primary key that uniquely identifies this profile. Generated by Klaviyo.",
      "type": "string",
      "example": "01GDDKASAP8TKDDA2GRZDSVP4H",
      "nullable": true
    },
    "attributes": {
      "type": "object",
      "properties": {
        "email": {
          "description": "Individual's email address",
          "type": "string",
          "example": "sarah.mason@klaviyo-demo.com",
          "nullable": true
        },
        "phone_number": {
          "description": "Individual's phone number in E.164 format",
          "type": "string",
          "example": "+15005550006",
          "nullable": true
        }
      }
    }
  },
  "required": [
    "type",
    "attributes"
  ]
}