Skip to main content
Mutation

markCrewPublicationOpened

Records that the recipient opened the document behind a confirmation link, so the production can see it was opened. Call it from the browser once the page is shown, not when the page is rendered on a server, so link previews and mail scanners do not count. Fails with a NOT_FOUND error for an invalid, expired or revoked link. Returns true.

Arguments

  • Which kind of link the token comes from.

  • projectIdID

    The project ID from a calendar-feed link. Required for the calendar-feed kinds, ignored for DISTRIBUTION.

  • scopeKeyString

    The document scope from a calendar-feed link, such as day:<dayId> for a call sheet. Required for the calendar-feed kinds, ignored for DISTRIBUTION.

  • spaceIdID!

    The space ID from the link.

  • tokenString!

    The secret token from the link.

Returns

Boolean!

Example

mutation MarkCrewPublicationOpened($kind: CrewConfirmationTokenKind!, $projectId: ID, $scopeKey: String, $spaceId: ID!, $token: String!) {
  markCrewPublicationOpened(
    kind: $kind
    projectId: $projectId
    scopeKey: $scopeKey
    spaceId: $spaceId
    token: $token
  )
}