Skip to main content
Mutation

confirmCrewPublication

Confirms that the recipient received the newest revision of the document behind a confirmation link. No sign-in needed: the link's token is the credential. Fails with a NOT_FOUND error for an invalid, expired or revoked link. Returns the updated confirmation.

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

CrewPublicationConfirmation!

Example

mutation ConfirmCrewPublication($kind: CrewConfirmationTokenKind!, $projectId: ID, $scopeKey: String, $spaceId: ID!, $token: String!) {
  confirmCrewPublication(
    kind: $kind
    projectId: $projectId
    scopeKey: $scopeKey
    spaceId: $spaceId
    token: $token
  ) {
    confirmedRevisionNumber
    contactName
    docKind
    latestRevisionNumber
    locale
    pdfUrl
    revisionNumber
    stage
  }
}