# AttachCandidateDocumentPayload (/api/reference/objects/attach-candidate-document-payload)

The attached document.

```graphql
type AttachCandidateDocumentPayload {
  candidate: Candidate!
  candidateDocument: CandidateDocument!
  changedFields: [String!]!
}
```

### Fields [#fields]

#### [`AttachCandidateDocumentPayload.candidate`](#candidate) · [`Candidate!`](/api/reference/objects/candidate) `non-null` `object` [#candidate]
The candidate, with what was learned from it filled in.

#### [`AttachCandidateDocumentPayload.candidateDocument`](#candidate-document) · [`CandidateDocument!`](/api/reference/objects/candidate-document) `non-null` `object` [#candidate-document]
The document, with its summary.

#### [`AttachCandidateDocumentPayload.changedFields`](#changed-fields) · [`[String!]!`](/api/reference/scalars/string) `non-null` `scalar` [#changed-fields]
The names of the candidate's fields the document filled in, such as `currentTitle` or `tags`.

### Returned By [#returned-by]

[`attachCandidateDocument`](/api/reference/mutations/attach-candidate-document)  `mutation`