Users
Users, accounts, and membership
How to use this capability
Ways to interact with this capability — pick a path to jump to the relevant section below.
SDK
Call actions from Node or React apps using the Ossy SDK — typed payloads and workspace context built in.
View section ↓
MCP
Connect Cursor to http://localhost:3006/mcp when MCP tools are available for users.
View section ↓
HTTP
Call actions over HTTP with Bearer token authentication — create a token in Profile for scripts and automation.
View section ↓
Background tasks
Event-driven and scheduled handlers run in the background — triggered by the platform, not invoked like actions.
View section ↓
Aggregates
Domain entities and bounded-context models exposed by this capability for reads and composition.
View section ↓
Actions
Invokable intents — call directly via SDK, POST /actions, or MCP tools. This is the agent-facing surface, not background jobs.
Complete User Name
@ossy/users/actions/complete-user-name
sdk.invoke('@ossy/users/actions/complete-user-name', { … })POST /actions
{ "action": "@ossy/users/actions/complete-user-name", "payload": { … } }Background tasks
Background and scheduled handlers — triggered by events or cron, not called via SDK, POST /actions, or MCP. Ids use the tasks/ path (distinct from actions/).
Confirm Email Change
@ossy/users/tasks/confirm-email-change
Create Api Token
@ossy/users/tasks/create-api-token
Get Api Tokens
@ossy/users/tasks/get-api-tokens
Get Current User History
@ossy/users/tasks/get-current-user-history
Invalidate Api Token
@ossy/users/tasks/invalidate-api-token
Join Workspace
@ossy/users/tasks/join-workspace
Leave Workspace
@ossy/users/tasks/leave-workspace
Request Email Change
@ossy/users/tasks/request-email-change
Update Details
@ossy/users/tasks/update-details
Aggregates
Domain aggregates and bounded-context entities.
User
User
Resource types
Structured entities and templates registered for resources.
Complete User Name
@ossy/users/schema/complete-user-name
Update Profile Details
@ossy/users/schema/update-profile-details
User
@ossy/users/schema/user
APIs
HTTP endpoints exposed by this capability.
Users.Confirm Email Change
users.confirm-email-change
/api/v0/users/confirm-email-change
Email templates
Transactional messages sent by this capability.
Email Changed
@ossy/users/emails/email-changed
Verify Email Change
@ossy/users/emails/verify-email-change