Answer RFI questions
Submit answers with plaintext or documents
Use the answerRfiQuestion mutation to submit an answer for a single question on a PENDING RFI. Files are sent inline as base64 in the same call — there is no separate upload step or multipart request.
What kind of answer to send
The shape of the answer depends on the question's fileUploadOption:
PREFERRED
A document is expected — send files. If the document is not available, send text with the reason instead. Sending both is rejected.
NONE
Send text only. Files are not accepted.
File rules
Accepted extensions:
.pdf,.jpg,.jpeg,.png,.xls,.xlsx. The extension determines the MIME type, so it must match the actual file.Up to 10 files per question.
Up to 10 MB per file (raw bytes, before base64 encoding).
base64must be the plain base64 body, with nodata:...;base64,prefix.
Answer with a file
For a PREFERRED question.
const bodyJSON = {
variables: {
input: {
rfiId: "61f3a2c8d1e9b7a4c5d6e7f8",
questionCode: "SENDER_ID_PROOF",
files: [{ name: "passport.pdf", base64: "JVBERi0xLjQK..." }],
},
},
query: `
mutation ($input: AnswerRfiQuestionInput!) {
answerRfiQuestion(input: $input) {
success
code
message
rfi {
id
status
questions { questionCode answered }
}
}
}`,
};Answer with plain text only
For a NONE question, or for a PREFERRED question where the document is not available and you provide the reason instead.
Completing the RFI
Each question can be answered once — pick the questions with answered: false. When the last open question is answered, the RFI moves to ASSESSING in the same call (as in the response above) and an rfi_assessing webhook is dispatched. No further action is required from you.
Last updated
Was this helpful?