Skip to main content
Mutation

saveEcastingAnswers

Saves text answers to the e-casting request behind a private talent link, and marks the request opened. No sign-in needed: the link's token is the credential. Answers not included are left unchanged. Fails with a NOT_FOUND error for an invalid, expired or revoked link, with ECASTING_LOCKED once the request is submitted, and with ECASTING_ANSWER_FORMAT for an invalid email address or phone number. Returns the request's saved answers.

Arguments

  • The answers to save or clear.

  • spaceIdID!

    The space ID from the talent's link.

  • tokenString!

    The secret token from the talent's link.

Returns

[EcastingAnswer!]!

Example

mutation SaveEcastingAnswers($answers: [EcastingAnswerInput!]!, $spaceId: ID!, $token: String!) {
  saveEcastingAnswers(answers: $answers, spaceId: $spaceId, token: $token) {
    fieldId
    updatedAt
    value
  }
}