Users
Approve invitation request
Approve a pending invitation request and create user account.
Authentication Required: Yes (for organization admin) Permissions: Organization admin or the specifically requested user
Process:
- Validates admin has permission to approve
- Creates user account with provided information
- Assigns default organization roles
- Sends welcome email to new user
- Rejects any other outstanding requests for same email
Request Body:
{
"approved_rejected_reason": "Welcome to our organization!"
}
Side Effects:
- Creates new user account
- Rejects other pending requests for same email
- Sends notification emails
- Creates audit trail
post/invitation_requests/{id}/approve
Request
- Base URLhttps://crisiscleanup-3-api-production.up.railway.app
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
{"status": "invitation_accepted"}
Changes
No recorded changes to this operation across all 3 revisions of this API.