Get User Details
GET
/auth/admin/users/{user_id}
Get specific user details including sessions. Response includes business + privacy fields when module columns exist; acquisition_* is never returned (write-only).
Authorizations
SessionAuth
Session ID for authenticated requests
Type
API Key (header: X-Session-ID)
Parameters
Path Parameters
user_id*
User ID
Type
Requiredstring
Example
"usr_123abc"Responses
User details retrieved successfully
application/json
JSON "success": true, "data": { "user": { "id": "usr_abc123", "email": "user@example.com", "name": "John", "last_name": "Doe", "user_name": "johndoe", "user_type": "customer", "picture": "https://storage.pubflow.com/users/usr_abc123/picture.jpg", "phone": "+1234567890", "is_verified": true, "two_factor": false, "created_at": "2025-12-07T10:00:00Z", "updated_at": "2025-12-07T10:00:00Z", "first_time": true, "is_business": true, "biz_name": "string", "biz_country": "string", "biz_state": "string", "biz_position": "string", "gdpr_consent": true, "gdpr_consent_at": "string", "gdpr_consent_version": "string", "ccpa_applies": true, "ccpa_opt_out": true, "ccpa_opt_out_at": "string", "privacy_region": "string", "biz_postal_code": "string" }, "sessions": [ { "id": "string", "sessionPrefix": "string", "ipAddress": "string", "userAgent": "string", "userDevice": "string", "lastUsedAt": "string", "createdAt": "string", "expiresAt": "string", "status": "string" } ], "sessionCount": 3 }
{
}
Path: GET /auth/admin/users/:id
Includes business + privacy fields when module columns exist. Never returns acquisition fields (write-only via onboarding complete).
Related: Patch user privacy · List users