Skip to main content
Query

boardSharing

Returns who a whiteboard is shared with outside the project's space: collaborators, pending invites and share links. Requires edit access to the project.

Arguments

  • projectIdID!

    ID of the project.

  • whiteboardIdID!

    ID of the whiteboard.

Returns

BoardSharing!

Example

query BoardSharing($projectId: ID!, $whiteboardId: ID!) {
  boardSharing(projectId: $projectId, whiteboardId: $whiteboardId) {
    collaborators {
      accessLevel
      createdAt
      email
      name
      source
      userId
    }
    pendingInvites {
      accessLevel
      createdAt
      email
      expiresAt
      hasAccount
      id
    }
    shareLinks {
      accessLevel
      createdAt
      expiresAt
      id
      label
      lastUsedAt
      revokedAt
      url
    }
  }
}