Steve API
API Reference

Complete an invitation and set the password

Hashes the provided password, stores it in the password auth account, and consumes the invitation token.

POST
/api/invitation/complete

Request Body

application/jsonRequired
tokenRequiredstring
passwordRequiredstring
Minimum length: 8
curl -X POST "https://your-deployment.convex.site/api/invitation/complete" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "invite_abc123",
    "password": "strong-password-123"
  }'

Invitation completed successfully.

{
  "success": true,
  "userType": "customer"
}