POST/v1/AdminUser

Create Admin User

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Request body application/json

idstringnullable
email_addressstringrequiredmin length 1pattern ^[\w!#$%&'*+\-\/=?^`{|}~]+(\.{0,2}[\w!#$%&'*+\-\/=?^`{|}~]+)*\@([a-zA-Z0-9\-_]+\.?)*([a-zA-Z0-9\-_]{1,}\.[a-zA-Z0-9\-_]{1,})$
first_namestringrequiredmin length 1
last_namestringrequiredmin length 1
admin_levelstringrequiredmin length 1
external_idstringnullable
phoneinteger (int32)
two_factor_enabledboolean
permissionsobjectAdminUserPermissions
createarray of stringnullable
updatearray of stringnullable
deletearray of stringnullable
readarray of stringnullable

Responses

object AdminUser — same shape as the request body.

curl --request POST \
  --url 'https://api.4comply.io/v1/AdminUser' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "00000000-0000-0000-0000-000000000000",
  "email_address": "user@example.com",
  "first_name": "Example name",
  "last_name": "Example name",
  "admin_level": "string",
  "external_id": "00000000-0000-0000-0000-000000000000",
  "phone": 1,
  "two_factor_enabled": true,
  "permissions": {
    "create": [
      "string"
    ],
    "update": [
      "2026-09-07T12:00:00Z"
    ],
    "delete": [
      "string"
    ],
    "read": [
      "string"
    ]
  }
}'