identify()
Auth: Browser SDK
Identify the logged-in visitor. Every production call must include user_hash computed server-side with HMAC-SHA256(user.id, rk_is_…). Call logout() when the user signs out.
Body parameters
| Name | Type | Description |
|---|---|---|
idrequired | string | Immutable application user ID |
user_hashrequired | string | HMAC-SHA256 hex digest from your server |
email | string | Visitor email |
name | string | Display name |
avatar_url | string | Profile image URL |
created_at | string | ISO-8601 signup date |
attributes | object | Up to 50 custom attributes (≤ 8 KB total) |