Skip to main content
Mutation

createShareLink

Creates a share link that lets anyone holding it read and comment on one screenplay. The URL is returned only in this response. Requires edit access to the project.

Arguments

  • accessLevelScriptAccessLevel!

    What holders of the link may do with the screenplay.

  • expiresInDaysInt

    How many days the link stays valid, from 1 to 90. Defaults to 14.

  • labelString

    Optional label to tell links apart, up to 120 characters.

  • localeString

    Canonical content language of a SEQUENCE review; omit for the source review.

  • projectIdID!

    ID of the project.

  • publicationIdID

    ID of an issued revision of this screenplay to pin the link to. A pinned link shows that frozen revision and cannot be added to an account. When omitted, the link shows the current screenplay.

  • screenplayIdID!

    ID of the screenplay to share.

  • targetKindShareTargetKind

    SCREENPLAY (default) shares the screenplay's text. SEQUENCE opens its AV script and animatic for client review.

Returns

CreateShareLinkOutput!

Example

mutation CreateShareLink($accessLevel: ScriptAccessLevel!, $expiresInDays: Int, $label: String, $locale: String, $projectId: ID!, $publicationId: ID, $screenplayId: ID!, $targetKind: ShareTargetKind) {
  createShareLink(
    accessLevel: $accessLevel
    expiresInDays: $expiresInDays
    label: $label
    locale: $locale
    projectId: $projectId
    publicationId: $publicationId
    screenplayId: $screenplayId
    targetKind: $targetKind
  ) {
    url
  }
}