segment · Schema

IdentifyCall

An identify call associates a user with their traits.

Properties

Name Type Description
userId string Unique identifier for the user in your database.
anonymousId string A pseudo-unique substitute for a user ID for cases when you do not have an absolutely unique identifier.
traits object Free-form dictionary of traits of the user, like email or name.
context object
integrations object
timestamp string ISO 8601 date string when the message was originally sent.
messageId string Unique identifier for the message to deduplicate.
View JSON Schema on GitHub

JSON Schema

segment-identifycall-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IdentifyCall",
  "title": "IdentifyCall",
  "type": "object",
  "description": "An identify call associates a user with their traits.",
  "properties": {
    "userId": {
      "type": "string",
      "description": "Unique identifier for the user in your database."
    },
    "anonymousId": {
      "type": "string",
      "description": "A pseudo-unique substitute for a user ID for cases when you do not have an absolutely unique identifier."
    },
    "traits": {
      "type": "object",
      "description": "Free-form dictionary of traits of the user, like email or name.",
      "additionalProperties": true
    },
    "context": {
      "$ref": "#/components/schemas/Context"
    },
    "integrations": {
      "$ref": "#/components/schemas/Integrations"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 date string when the message was originally sent."
    },
    "messageId": {
      "type": "string",
      "description": "Unique identifier for the message to deduplicate."
    }
  }
}