segment · Schema

TrackCall

A track call records an action that a user performs.

Properties

Name Type Description
userId string Unique identifier for the user in your database.
anonymousId string A pseudo-unique substitute for a user ID.
event string Name of the action that a user has performed.
properties object Free-form dictionary of properties of the event, like revenue or product details.
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-trackcall-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TrackCall",
  "title": "TrackCall",
  "type": "object",
  "required": [
    "event"
  ],
  "description": "A track call records an action that a user performs.",
  "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."
    },
    "event": {
      "type": "string",
      "description": "Name of the action that a user has performed."
    },
    "properties": {
      "type": "object",
      "description": "Free-form dictionary of properties of the event, like revenue or product details.",
      "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."
    }
  }
}