Skip to Content

TwentyThree™ API

API Method: /api/user/create

Set up a new user in the site.


email (required) The email address of the user to be created.
username The user's username.
password The user's password.
full_name The user's full name.
timezone The user's timezone.
site_admin Is the user to be an administrator?
Valid values: 0 or 1

Permission level

The minimum required permission level is:


Example XML Response

<response status="ok" permission_level="super" 
  message="The user has been created" cached="0">
  <full_name>Bill Clinton</full_name>

Example JSON Response

  "status": "ok", 
  "message":"The user has been created",
  "user":{"user_id": "60434", "email": "", "username": "clinton", 
    "full_name": "Bill Clinton", "site_admin": "0", "timezone": "Europe/Copenhagen"},
  "p": "1",
  "size": "1",
  "site": { ... },
  "endpoint": "/api/photo/upload"