Skip to main content
Query

crewPublicationConfirmation

Returns the document behind a crew member's confirmation link, from an email or a calendar feed. No sign-in needed: the link's token is the credential. Returns null when the link is invalid, expired or revoked.

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

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