Back to Tools

Segment

Analytics

Segment CDP for customer data collection. Track events, identify users, and manage audiences.

Available Actions
trackidentifypagegroupalias
Input Schema
{
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "type": "string"
    },
    "event": {
      "type": "string"
    },
    "userId": {
      "type": "string"
    },
    "properties": {
      "type": "object"
    }
  }
}
Output Schema
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    }
  }
}
Quick Start

API Endpoint

POST /api/execute/segment

cURL Example

curl -X POST \
  https://api.nulayers.com/execute/segment \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action": "track"}'
Integration

Get your API key from the dashboard to start using this tool in your AI applications.