Skip to main content

Sharelinks

Sharelinks allow you to generate time-limited, read-only access links to project data. They are useful for sharing crawl results with stakeholders who do not have a Lumar account.

A sharelink is a URL that grants temporary access to a project's data. Each sharelink:

  • Is scoped to a specific project.
  • Has an expiration date (expiresAt).
  • Can optionally target a specific URL within the Lumar application (targetUrl).
  • Includes an authentication token for the recipient.

Use the shareProject mutation to generate a new sharelink. The mutation returns both the sharelink details and an authentication token.

mutation ShareProject($input: ShareProjectInput!) {
shareProject(input: $input) {
authToken {
value
}
sharelink {
id
targetUrl
createdAt
sharelinkTemplate {
code
name
}
}
}
}

Try in explorer

The authToken.token value can be appended to the target URL to grant the recipient access without requiring them to log in.

Retrieve the existing sharelink for a project:

query GetSharelink {
sharelink {
id
createdAt
targetUrl
}
}

Try in explorer

Access control

  • Expiration -- sharelinks automatically expire at the date specified in expiresAt. After expiration, the link returns an authentication error.
  • Read-only -- sharelink recipients can view data but cannot modify projects, run crawls, or change settings.
  • Single project scope -- each sharelink grants access only to the specific project it was created for.
  • Revocation -- to revoke a sharelink before its expiration, you can update the project settings or contact support.