- Create or update user account
Create or update user account(s). Supports single user (business/admin) or bulk operations (admin only)
Single user object or array of users (bulk operations require admin authentication)
- Mock serverhttps://docs.pers.ninja/_mock/swagger/users
- https://api.pers.ninja/v2https://api.pers.ninja/v2/users
curl -i -X POST \
https://docs.pers.ninja/_mock/swagger/users \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "string",
"instagramAccountId": "string",
"googleAccountName": "string",
"firstName": "string",
"lastName": "string",
"externalId": "string",
"customData": {},
"publicProfile": {},
"isActive": true
}'User(s) created/updated
Universal identifier email for deterministic operations. Generated from B2B inputs (email, externalId) for wallet salt generation and external integrations.
User-owned counterfactual smart contract wallets that can receive tokens
Registration source tracking for analytics - captures channel and attribution when user was created
{ "channel": "web", "medium": "referral", "campaign": "launch_2026" }
Last activity timestamp. Updated whenever user generates tokens (login or refresh). Tracks last time user was active (~1 hour precision).
Total activity count. Increments on every token generation (login + refresh). Measures true user engagement.
Included related entities. Only populated when include parameter is specified.
{ "id": "string", "email": "string", "identifierEmail": "user123@user.pers.internal", "firstName": "string", "lastName": "string", "externalId": "string", "accountAddress": "string", "instagramAccountId": "string", "googleAccountName": "string", "customData": {}, "publicProfile": {}, "isActive": true, "currentSigningAccountId": "string", "wallets": [ { … } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "registrationSource": { "channel": "web", "medium": "referral", "campaign": "launch_2026" }, "lastActivityAt": "2019-08-24T14:15:22Z", "activityCount": 42, "included": { "statusTypes": [ … ], "tokenBalances": [ … ] } }