Skip to content
Back to Steward

Accounts

An account is your compliance workspace. It carries the configuration that governs how applications are scored and verified, and it owns the users who can access the API.

GET /account returns your account, including its risk scoring strategy and identity-verification provider. PATCH /account updates the account name and riskScoreStrategy.

FieldValues
riskScoreStrategyCUMULATIVE or MAXIMUM — governs how risk scores map to bands (see the Risk Scoring guide)
idvProviderONFIDO or TRULIOO — the identity-verification provider

Risk factor configuration lives under GET/PATCH /account/{accountId}/risk-settings.

A user can belong to more than one account; the account/users endpoints manage membership of this account. Listing excludes internal Steward staff.

OperationEndpointNotes
ListGET /account/usersMembers of this account
CreatePOST /account/usersNew user defaults to the read-only role if none is given
UpdatePATCH /account/users/{id}Name, email, title, roles
RemoveDELETE /account/users/{id}Deactivates the user — it is not a hard delete

A user’s status is one of PENDING, ACTIVE, or INACTIVE. The role available through the public API is read-only.

Terminal window
# Fetch your account
curl https://api.getsteward.ai/api/v1/account \
-H "Authorization: Bearer stw_live_your_api_key_here"
# Add a read-only user
curl -X POST https://api.getsteward.ai/api/v1/account/users \
-H "Authorization: Bearer stw_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{ "email": "analyst@example.com", "firstName": "Ada", "lastName": "Lovelace", "roles": ["read-only"] }'