Invite a new user to join your organization via email.
Request
The unique identifier of the organization.
The email address of the user to invite.
The role to assign to the invited user. Must be one of admin, agent_manager, or user.
Response
Indicates whether the invitation was successfully created.
The unique identifier for the created invitation.
The signup link that can be shared with the invited user.
A descriptive message about the operation result.
{
"success": true,
"invite_id": "inv_xyz789",
"invite_link": "https://app.getbutter.ai/signup?invite=inv_xyz789&email=newuser@example.com",
"message": "Invitation sent to newuser@example.com"
}