Intry

Residents & users

Admin API patterns for resident and staff users.

Overview

Users cover admins, property managers, staff, and residents. Role is stored in role (admin, property_manager, staff, resident, …). Residents belong to a tenant and link to one or more units.

Endpoints (selected)

MethodPathDescription
GET/api/admin/usersList users
POST/api/admin/usersCreate
GET/api/admin/users/:idRead
PUT/api/admin/users/:idUpdate
DELETE/api/admin/users/:idDelete
GET/api/admin/users/admin-usersAdmin/PM accounts
GET/api/admin/users/customer-usersResident accounts

Auth identifiers

FieldWhen populated
workosUserIdSSO admin users
clerkUserIdClerk-authenticated PM / portal users
passwordBcrypt hash for resident/password login

Notification preferences

Residents may configure fallback channels:

  • fallbackCallEnabled — voice call on entry request
  • fallbackSmsEnabled — SMS with approve/deny links
  • forwardCallToResident — emergency forwarding path

Phone numbers must be E.164 in phoneNumber when SMS/voice fallbacks are used.

Devices

Each user may register multiple Device rows (push tokens). Use /api/admin/devices to audit or revoke compromised handsets.

On this page