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.
Argumente
tokenString!The token from the invite link.
Rückgabe
AcceptInviteOutput!Beispiel
mutation AcceptInvite($token: String!) {
acceptInvite(token: $token) {
contactId
kind
projectId
screenplayId
spaceId
targetId
targetKind
}
}