Skip to content

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

ParameterTypeDefaultDescription
workspace_idrequiredstring (uuid)—The workspace to invite the address into.
emailrequiredstring (email)—Email address to invite.
role_idstring (uuid)—ID of the role to join with, custom included. Leave unset for the workspace's default role.