create_invite
Invite an email address into a workspace.
The address is emailed a link, valid for 14 days. Whoever follows it signed in with that
address becomes a member with the role given; no Layer user is created and nobody joins
until then. Inviting an address that already has an open invitation sends it a new link
with the role given. Fails if the address belongs to a member or the workspace has
invites disabled. Requires workspace member-edit permission.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
workspace_idrequired | string (uuid) | — | The workspace to invite the address into. |
emailrequired | string (email) | — | Email address to invite. |
role_id | string (uuid) | — | ID of the role to join with, custom included. Leave unset for the workspace's default role. |