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.
expiresInDaysIntHow many days the link stays valid, from 1 to 90. Defaults to 14.
labelStringOptional label to tell links apart, up to 120 characters.
localeStringCanonical content language of a SEQUENCE review; omit for the source review.
projectIdID!ID of the project.
publicationIdIDID 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.
targetKindShareTargetKindSCREENPLAY(default) shares the screenplay's text.SEQUENCEopens 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
}
}