Event payloads

Every webhook request is a JSON event. The person, or the batch of people, is inside its data field. This page lists everything we send.

Example

The shape depends on the schedule you chose for the address. These examples use the Basic contact template.

{
  "id": "evt_6f1c2a7e-5b1d-4c8e-9a6f-2d7b1e4c8a90",
  "type": "visitor.identified",
  "created": 1764086400,
  "data": {
    "person_id": "6a4d247bdb70d53d22e3fb1575551805",
    "identified_on": "https://example.com/pricing",
    "source": "pixel",
    "first_name": "Jane",
    "last_name": "Doe",
    "email": "jane.doe@example.com",
    "mobile": "5555550123",
    "address1": "100 Main St",
    "city": "Austin",
    "state": "TX",
    "zip": "78701",
    "email_optin_date": "2025-06-14",
    "ip": "203.0.113.24",
    "url": "https://example.org/signup"
  }
}
{
  "id": "evt_6f1c2a7e-5b1d-4c8e-9a6f-2d7b1e4c8a90",
  "type": "visitors.identified",
  "created": 1764086400,
  "data": {
    "people": [
      {
        "person_id": "6a4d247bdb70d53d22e3fb1575551805",
        "identified_on": "https://example.com/pricing",
        "source": "pixel",
        "first_name": "Jane",
        "last_name": "Doe",
        "email": "jane.doe@example.com"
      }
    ]
  }
}

To see the exact payload for any of your templates, open the webhook settings in the app and select the Example event tab.

The event object

idstring

A unique ID for this event, starting with evt_. A retry of the same event keeps the same ID, so use it to skip duplicates.

typestring

The event type. See Event types.

createdinteger

When we created the event, in Unix seconds.

dataobject

For visitor.identified, a single person. For visitors.identified, an object with a people array of up to 500 people.

Event types

TypeSent when
visitor.identifiedA person was identified on your site and the address is set to Send each person right away.
visitors.identifiedAt the top of each hour, for addresses set to Send one batch every hour, when at least one person was identified.

The person object

Every person has these three fields, followed by the fields in the template you chose for the address.

person_idstring

Our ID for this person. The same person always has the same ID, so you can use it to update an existing record instead of creating a new one.

identified_onstring or null

The page on your site where we identified them.

sourcestring

How they were identified.

Template fields

The rest of the person comes from your template. Basic contact sends:

FieldMeaning
first_nameFirst name
last_nameLast name
emailEmail
mobileMobile phone
address1Street address
cityCity
stateState
zipZIP code
email_optin_dateEmail opt-in date
ipInternet address at sign-up
urlWeb page at sign-up

You can build your own templates on the Templates page in the app. Field names stay the same in every template, so adding a field to a template only adds a key to the payload.

More than one email or phone

A person can have up to three emails and phones, and more than one vehicle, property or device. A template sends the first of each unless you choose Up to 2 or Up to 3 in its settings. Then each list field also comes as <field>_2 and <field>_3, for example email_2, email_3 and mobile_2. The first is always the email we matched to the visitor. An item the person does not have is sent as null.

A field we do not have for a person is sent as null. Handle null for every template field.

Request headers

HeaderValue
Content-Typeapplication/json
X-KV-SignatureThe signature, for example t=1764086400,v1=5257a8…. See Verify signatures.
X-KV-Event-IdThe event's id.
X-KV-Delivery-AttemptWhich try this is, starting at 1. See Retries and replays.