Skip to main content
Mutation

captureLinkPreview

Fetches the title, author and preview image of a web link for a whiteboard link card, and stores the image. Requires edit access to the project whiteboards.

Arguments

  • linkPreviewIdID!

    ID of the whiteboard link card.

  • projectIdID!

    ID of the project.

  • urlString!

    The URL to preview.

Returns

CaptureLinkPreviewOutput!

Example

mutation CaptureLinkPreview($linkPreviewId: ID!, $projectId: ID!, $url: String!) {
  captureLinkPreview(
    linkPreviewId: $linkPreviewId
    projectId: $projectId
    url: $url
  ) {
    authorName
    authorUsername
    thumbnailAssetId
    title
  }
}