Get an identified user
Returns the user's attributes and timestamps. metadata can be null for users identified client-side without attributes.
Authorization
BearerAuth Use an API key from the Produktly dashboard → Settings → API keys.
In: header
Path Parameters
The user's external ID — the same value you pass to window.Produktly.identifyUser(). URL-encode it.
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/users/string"{ "userId": "user_123", "metadata": { "plan": "pro", "seats": 12 }, "createdAt": "2026-07-01T09:00:00.000Z", "updatedAt": "2026-07-15T09:00:00.000Z"}Delete an identified user DELETE
Hard-deletes the identified user. Analytics events are kept (they reference the external ID as a plain string).
Merge attributes into an identified user PATCH
Shallow-merges the given attributes into the user's metadata (RFC 7386 style at the top level): keys overwrite, null removes a key, omitted keys are kept. Creates the user if it doesn't exist (201).