Identify User
Creates or updates the Organization-scoped identity for user_id. 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.
POST
/v1/identifyAuthorization
AuthorizationBearer token (EmitKit API key) · headerrequiredEmitKit API key in the Authorization header as Bearer emitkit_…
or
X-API-KeyAPI key · headerrequiredEmitKit API key beginning with emitkit_.
Request body
requiredapplication/jsonaliasesstring[]propertiesobjectdefault: {}
user_idstringrequiredmin length 1
Responses
200
The identity was created or updated.
dataobjectrequiredShow propertiesHide properties
aliasesobjectrequiredShow propertiesHide properties
createdstring[]requiredidstringrequiredpropertiesobjectrequiredupdatedAtstring<date-time>requiredmatches ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
userIdstringrequiredrequestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
successbooleanrequired400
The request does not match the operation contract.
detailsobject[]requiredShow propertiesHide properties
Array of
objectcodestringmin length 1
messagestringrequiredmin length 1
pathstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integererrorstringrequiredrequestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
successbooleanrequired401
Authentication credentials are missing or invalid.
errorstringrequiredmessagestringrequired413
The request body exceeds the public API's 1 MiB limit.
errorstringrequiredmessagestringrequiredAllowed:
Request body exceeds the 1 MiB limitEvent exceeds the 16 KB storage limitrequestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
successbooleanrequired429
The authenticated principal exceeded its rate limit.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
successbooleanrequired500
The identity could not be written.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
successbooleanrequired