Skip to main content
Mutation

inviteProfileMember

Invites someone by email to join the profile's team and emails them a link that is valid for 7 days. Requires being an owner or admin member; admins can only invite to roles below their own.

Arguments

  • emailString!

    Email address to invite.

  • profileIdID!

    ID of the profile.

  • Role the person gets on accepting. Defaults to MEMBER.

Returns

InviteProfileMemberOutput!

Example

mutation InviteProfileMember($email: String!, $profileId: ID!, $role: ProfileMemberRole) {
  inviteProfileMember(email: $email, profileId: $profileId, role: $role) {
    emailSent
    inviteId
  }
}