Identify User
Creates or updates the Organization-scoped identity for userId (user_id is its old name and still works). Properties are merged into the stored ones (new values replace old ones; keys you leave out are kept), and each alias moves to this identity.
/v1/identifyAuthorizationBearer token (EmitKit API key) · headerrequiredEmitKit API key in the Authorization header as Bearer emitkit_…
X-API-KeyAPI key · headerrequiredEmitKit API key beginning with emitkit_.
application/jsonaliasesstring[]Other ids or emails this user is known by in your events' userId
propertiesobjectMerged into the identity's properties
userIdstringrequiredYour id for the user
user_idstringdeprecatedDeprecated: the old name of userId, still accepted in its place. If both are sent they must match.
The identity was created or updated.
dataobjectrequiredShow propertiesHide properties
aliasesobjectrequiredShow propertiesHide properties
createdstring[]requiredidstringrequiredpropertiesobjectrequiredupdatedAtstring<date-time>requireduserIdstringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredThe request does not match the operation contract.
codestringrequiredStable: switch on this, not on error or message.
detailsobject[]requiredShow propertiesHide properties
objectcodestringmessagestringrequiredpathstring | integer[]requiredShow propertiesHide properties
string | integerstringintegererrorstringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredAuthentication credentials are missing or invalid.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredThe API key lacks this operation's scope (a read-only key can only read), isn't bound to a Project, or its Project was deleted.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredWhat's missing, e.g. the scope the operation needs.
requestIdstring<uuid>requiredsuccessbooleanrequiredThe request body exceeds the public API's 1 MiB limit.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredRequest body exceeds the 1 MiB limitEvent exceeds the 16 KB storage limitrequestIdstring<uuid>requiredsuccessbooleanrequiredThe authenticated principal exceeded its rate limit.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredThe identity could not be written.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequired