Skip to main content
Mutation

acceptInvite

Accepts an invite for the signed-in user, using the one-time token from the invite email. Depending on the invite's kind, this adds the user to the space, gives a role on one project, links the account to a contact, or grants access to a single screenplay or whiteboard. Each invite can be accepted once, before it expires.

Arguments

  • tokenString!

    The token from the invite link.

Returns

AcceptInviteOutput!

Example

mutation AcceptInvite($token: String!) {
  acceptInvite(token: $token) {
    contactId
    kind
    projectId
    screenplayId
    spaceId
    targetId
    targetKind
  }
}