> ## Documentation Index
> Fetch the complete documentation index at: https://docs.morf.health/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Identify

> Event payload details and trigger documentation for Identify data from Customer Io

<img src="https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/customer_io.svg?fit=max&auto=format&n=EU2WCxuXGIUQcziR&q=85&s=c910616b507232ba0448734924a291f5" alt="images/customer_io.svg" width="40" height="40" data-path="images/customer_io.svg" />

# Events

## Triggering Webhook Types

The following event types are associated with the Identify event payload from Customer Io.

* `Customer Io Identify`

<RequestExample>
  ```json Example theme={null}
  {
    "anonymous_id": "569a0e86-0484-4a84-afa8-cc55b76fe5c4",
    "message_id": "07cf5c9f-fbb0-4877-bfad-e158d86978ee",
    "timestamp": "2024-03-20T15:30:00Z",
    "traits": {
      "email": "peter@example.com",
      "logins": 5,
      "name": "Peter Gibbons",
      "plan": "premium"
    },
    "user_id": "97980cfea0067"
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Description theme={null}
  {
    "anonymous_id": "Anonymous identifier for the user before identification",
    "message_id": "Unique identifier for this message",
    "timestamp": "When this identify event occurred",
    "traits": "User traits containing information like name, email, plan, and login count",
    "user_id": "Unique identifier for the user"
  }
  ```
</ResponseExample>

### Payload Field Details

<ResponseField name="Identify" type="Event Payload">
  <Expandable title="fields" defaultOpen="true">
    <ResponseField name="user_id" type="string" required>
      Unique identifier for the user

      ```json CEL theme={null}
      user_id
      ```

      ```json Example theme={null}
      "97980cfea0067"
      ```
    </ResponseField>

    <ResponseField name="timestamp" type="timing.v1.Timestamp" required>
      When this identify event occurred

      ```json CEL theme={null}
      timestamp
      ```

      ```json Example theme={null}
      "2024-03-20T15:30:00Z"
      ```
    </ResponseField>

    <ResponseField name="message_id" type="string" required>
      Unique identifier for this message

      ```json CEL theme={null}
      message_id
      ```

      ```json Example theme={null}
      "07cf5c9f-fbb0-4877-bfad-e158d86978ee"
      ```
    </ResponseField>

    <ResponseField name="traits" type="object" required>
      User traits containing information like name, email, plan, and login count

      ```json CEL theme={null}
      traits
      ```

      ```json Example theme={null}
      {
      "email": "peter@example.com",
      "logins": 5,
      "name": "Peter Gibbons",
      "plan": "premium"
      }
      ```
    </ResponseField>

    <ResponseField name="anonymous_id" type="string" required>
      Anonymous identifier for the user before identification

      ```json CEL theme={null}
      anonymous_id
      ```

      ```json Example theme={null}
      "569a0e86-0484-4a84-afa8-cc55b76fe5c4"
      ```
    </ResponseField>
  </Expandable>
</ResponseField>
