Skip to main content
POST
Create a new admin/system user with specified role. Only system administrators can create users.

Request

string
required
Bearer <token> - System Admin JWT

Body Parameters

string
required
Email address for login
string
required
Password (min 8 chars, uppercase, lowercase, number, special char)
string
required
First name
string
required
Last name
string
Phone number for notifications
string
required
User role (see valid roles below)
boolean
Grant access to PEP accounts

Valid Roles


Response

boolean
Whether user was created
string
New user ID
string
Status message
object
Created user details

Examples


Notes

  • Credentials are sent via WhatsApp if phone_number is provided
  • Password must meet security requirements
  • Only system_admin role can create new users

Errors

Authorizations

Authorization
string
header
required

API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'

Body

application/json

User details

email
string
required
first_name
string
required
last_name
string
required
password
string
required
role
string
required
pep_access_authorized
boolean
phone_number
string

Response

Created

message
string
success
boolean
user
object
user_id
string