Produktly docs
UsersUserid

Get an identified user

GET
/users/{userId}

Returns the user's attributes and timestamps. metadata can be null for users identified client-side without attributes.

Authorization

BearerAuth
AuthorizationBearer <token>

Use an API key from the Produktly dashboard → Settings → API keys.

In: header

Path Parameters

userId*string

The user's external ID — the same value you pass to window.Produktly.identifyUser(). URL-encode it.

Length1 <= length

Response 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"}