Invite user to account
User
Invite User to Account
Invites a user to join the account by email.
For new users:
- Creates a user record with INVITED status
- Assigns team_member role for the account
- Sends an invitation email
For existing users:
- Validates they don’t belong to another account
- Assigns team_member role for the account
- No invitation email is sent (they can log in directly)
POST
Invite user to account
Authorizations
JWT token from Auth0
Path Parameters
Account's external ID (format: acct-xxx-v1)
Example:
"acct-xyz789-v1"
Body
application/json
Email address of the user to invite
Example:
"newuser@example.com"
Response
Invitation sent successfully
Example:
"User invitation sent successfully"
