Provision a team member
Pre-creates a user account with its own project, a usable API key, a default agent, and a claim link. The API key works immediately, so agents can make requests before the user signs up. The user later opens the claim link to bind the account to their identity. Unclaimed provisions expire after 7 days and are cleaned up automatically.
Requires an admin or owner role. Cloud only.
Authorizations
API key obtained from the dashboard or GET /user/api-key
Body
Response
User provisioned
Returned once when a user is provisioned. The API key is shown only here.
Provision record ID.
Placeholder user ID (becomes the real user after the claim).
Pre-created project ID.
Project-scoped API key (oc_…), usable immediately.
Link the user opens to claim the account.
When the unclaimed provision expires (7 days from creation).