Creates user in DB + Cognito, generates temp password, assigns role, and sends invitation email.
OAuth2 Authorization Code flow
User email address
"user@example.com"
User first name
"John"
User last name
"Doe"
User WhatsApp number
"+5511999999999"
User role in the organization
admin, editor, viewer, operator, restricted User created successfully
Object type
"page"
Unique identifier
"p_abc123"
Creation timestamp
"2024-01-15T10:30:00.000Z"
Last update timestamp
"2024-01-15T14:45:00.000Z"
User email address
"user@example.com"
User first name
"John"
User last name
"Doe"
User full name (virtual, concatenation of firstName + lastName)
"John Doe"
User profile picture URL
"https://lh3.googleusercontent.com/a/photo.jpg"
User membership status in the organization
active, waiting_approval, disabled "active"
Last login timestamp (null if user has not logged in yet)
"2025-11-21T19:00:00.000Z"
Last activity timestamp for this organization membership
"2025-11-21T19:00:00.000Z"
User preferences
User onboarding state
Organization ID the user belongs to
"o_abc123"
Principal who created this object
Principal who last updated this object
User role in the organization
"admin"