Documentation

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

NameTypeDescription
idrequiredstringImmutable application user ID
user_hashrequiredstringHMAC-SHA256 hex digest from your server
emailstringVisitor email
namestringDisplay name
avatar_urlstringProfile image URL
created_atstringISO-8601 signup date
attributesobjectUp to 50 custom attributes (≤ 8 KB total)