Users: invite
users_inviteCreate a project user, assign a role_id from roles_list, and email an invitation to confirm their account; check users first to avoid duplicate invites.
Instructions
Create a user and send an invitation email. Adds the person to this project with the role given by role_id, then emails them an invitation to confirm their account. Always pass role_id from roles_list: the API rejects an invite without an existing role, and administrator roles can't be given this way. Check users_list first so nobody is invited twice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | User email address | ||
| role_id | No | Role ID to assign. Find it with roles_list. | |
| last_name | Yes | Last name | |
| first_name | Yes | First name |