Programmatic CRUD over users in an app.Documentation Index
Fetch the complete documentation index at: https://docs.scute.io/llms.txt
Use this file to discover all available pages before exploring further.
Authentication (same for all endpoints)
- App key (
scapp_…) — can only manage users in its own app - Workspace key (
scwor_…) — can manage users in any app within the workspace (or any child workspace, if you’re an MSP parent)
403 "API key not authorized for this app".
Create a user
:app_id is the Client App ID (app_…) — the app the user should belong to.
Body
Eitheremail or phone is required. Everything else is optional.
| Field | Type | Description |
|---|---|---|
email | string | Primary email identifier |
phone | string | E.164 phone identifier |
identifier | string | Back-compat: pass either, type is auto-detected |
first_name, middle_name, last_name | string | Stored together as name |
external_id | string | Your own ID for cross-system mapping (unique per app) |
user_meta | object | Arbitrary key/value metadata |
status | active | inactive | Defaults to active |
send_invite | bool | Send magic-link invitation email |
add_as_workspace_member | bool | Also add the underlying user as a workspace team member |
workspace_role | string | Role if add_as_workspace_member: true |
Example
Response — 200 OK
app_id and workspace_id echo the parent — use them to map users back to the right client in your own database.
Get a user
:id is the user UUID returned at creation.
List / search users
Query parameters
page,per_page— paginationsearch— fuzzy match on name / email / phone (requirespg_trgm)status— filter byactiveorinactive
Response
Update a user
PATCH leaves untouched fields alone; PUT overwrites the whole record.
Activate / deactivate
status between active and inactive. Deactivated users can’t sign in but aren’t deleted.
Delete a user
Bulk: invite / import
Errors
| Status | When |
|---|---|
400 | Invalid identifier (malformed email / phone) |
401 | Missing or invalid API key |
403 | API key not authorized for this app |
404 | App or user not found |
422 | Validation error (e.g. external_id already in use) |