Create new user (CLI/SDK)
Creates a new user via CLI/SDK.
Documentation Index
Fetch the complete documentation index at: https://docs.runflow.ai/llms.txt
Use this file to discover all available pages before exploring further.
Body
User email address
"john.doe@acme.com"
User full name
2 - 100"John Doe"
User phone number
"+5511999999999"
User password (for local authentication)
8 - 100"SecurePassword123!"
User role within the tenant
ADMIN, USER, VIEWER, SUPER_ADMIN, HUB_USER "USER"
User avatar URL
500"https://example.com/avatar.jpg"
Response
User created successfully.
User unique identifier
"123e4567-e89b-12d3-a456-426614174000"
User email address
"john.doe@acme.com"
User full name
"John Doe"
User role within the tenant
ADMIN, USER, VIEWER, SUPER_ADMIN, HUB_USER "USER"
Whether the user is active
true
User last login timestamp
"2025-01-01T00:00:00.000Z"
Creation timestamp
"2025-01-01T00:00:00.000Z"
Last update timestamp
"2025-01-01T00:00:00.000Z"
Tenant ID that the user belongs to
"123e4567-e89b-12d3-a456-426614174000"
User phone number
"+5511999999999"
User avatar URL
"https://example.com/avatar.jpg"
User metadata (Auth0 integration data)
{
"auth0_user_id": "auth0|1234567890",
"auth0_created": true,
"invite_sent": false
}User related statistics
{
"agents": 3,
"credentials": 5,
"executions": 12
}