API ReferenceIdentity
Identify a user
Associate an anonymous visitor with a known user_id and optional traits. Supports Secure Mode identity verification.
x-logspot-pk<token>
Project public key (prefixed pk_). Safe to expose in client-side code.
In: header
anonymous_id?string|null
user_idstring
Length
1 <= length <= 255traits?|null
timestamp?string|null
identity_verification?|null
privacy_categories?string|null
pc?string|null
privacy_signals?string|null
ps?string|null
consent_source?string|null
Response Body
curl -X POST "https://api.logspot.io/identify" \ -H "Content-Type: application/json" \ -d '{ "user_id": "string" }'Empty
Empty
Empty