Users
users-inviteSTATE-CHANGING
Invites a new user to your own account and sends them an invitation email to create their login. Requires read-write access to users in your account. Fails if the email address already has a user or a pending invite. Confirm the email address and name with the person before calling: the invitation email is sent immediately.
Schema
Input4
emailstringREQUIRED
Email address of the person to invite.
firstNamestringREQUIRED
First name of the person to invite.
lastNamestringREQUIRED
Last name of the person to invite.
accountRolestring
Optional account role to give the new user, by name: 'Account Admin' or 'Billing Admin' ('Field Service Technician' on installer accounts only). Omit to invite without a role.
Output5
emailstringREQUIRED
firstNamestringREQUIRED
lastNamestringREQUIRED
accountRolestring | nullREQUIRED
statusstringREQUIRED