SDK
User Identification
Identify users and manage aliases
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Identify users and manage aliases
await client.identify({
user_id: 'user_123',
properties: {
email: 'john@example.com',
name: 'John Doe',
plan: 'pro'
},
aliases: ['john@example.com', 'johndoe']
});
await client.events.create({
channelName: 'activity',
title: 'User Logged In',
userId: 'john@example.com', // ā Alias works!
});