Skip to main content

Identifying Users

Create or update user identities with custom properties:
await client.identify({
  user_id: 'user_123',
  properties: {
    email: '[email protected]',
    name: 'John Doe',
    plan: 'pro'
  },
  aliases: ['[email protected]', 'johndoe']
});

Using Aliases

Reference users by any alias in events:
await client.events.create({
  channelName: 'activity',
  title: 'User Logged In',
  userId: '[email protected]',  // ← Alias works!
});
See TypeScript SDK for complete documentation.