Skip to Content

Public M2M API — users

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/users

Exported methods: GET, POST

GET

  • Resource scopes: users:read
  • Query parameters: active, limit, page, search
  • Shared pagination: Yes
  • Response keys observed across outcomes: data, employees, pagination, tenantId

POST

  • Resource scopes: users:write
  • Explicit response statuses: 201, 400, 422
  • Explicit error codes: invalid_request, user_create_failed
  • Response keys observed across outcomes: invitedBy, tenantId, user

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
activebooleanYesNo—default(true)
departmentIdstringYesNo——
emailstringNoNo—email()
firstNamestringYesNo—max(80)
lastNamestringYesNo—max(80)
namestringYesNo—min(1), max(160)
rolestringYesNo——
rolesarrayYesNo——