---
updatedAt: 2026-06-29T14:02:37.000Z
agentTools:
  projectIndex: https://docs.conveyor.com/llms.txt
---

# POST Questionnaire Question Answer

Write or update an answer on a questionnaire question. Creates a new immutable answer revision; the previous answer is preserved in edit_history. Requires api_questionnaires with write capability, the same permission as PATCH Questionnaire Question. At least one answer field must be provided. Errors: 400 when no answer fields are provided or the question is not found; 403 when the API key lacks api_questionnaires write permission.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "portal-api",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.conveyor.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v2/questionnaires/questions/{id}/answer": {
      "post": {
        "operationId": "post_v2-questionnaires-questions-id-answer",
        "summary": "POST Questionnaire Question Answer",
        "description": "Write or update an answer on a questionnaire question. Creates a new immutable answer revision; the previous answer is preserved in edit_history. Requires api_questionnaires with write capability, the same permission as PATCH Questionnaire Question. At least one answer field must be provided. Errors: 400 when no answer fields are provided or the question is not found; 403 when the API key lacks api_questionnaires write permission.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Question ID.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "description": "Answer update payload. At least one answer field is required.",
                "properties": {
                  "prose": {
                    "type": "string",
                    "description": "Long-form answer text."
                  },
                  "structured_answer": {
                    "type": "string",
                    "description": "Short answer, for example Yes or No."
                  },
                  "structured_answers": {
                    "type": "array",
                    "description": "Multi-select answers.",
                    "items": {
                      "type": "string"
                    }
                  },
                  "object_response": {
                    "type": "object",
                    "description": "Column-based answers for object_response questions.",
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the full question object with updated final_answer_text, final_structured_answer, final_structured_answers, final_object_response, edit_history, and last_edited_by.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "description": "Unique identifier for the question."
                    },
                    "question_type": {
                      "type": "string",
                      "description": "The answer format expected for this question.",
                      "enum": [
                        "free_response",
                        "select_one",
                        "select_multiple",
                        "object_response"
                      ]
                    },
                    "question_text": {
                      "type": "string",
                      "description": "The question."
                    },
                    "bot_answer_text": {
                      "type": "string",
                      "nullable": true,
                      "description": "ConveyorAI's draft free-response answer, or null if no answer was generated."
                    },
                    "bot_structured_answer": {
                      "type": "string",
                      "nullable": true,
                      "description": "ConveyorAI's draft answer for select_one questions, or null."
                    },
                    "bot_object_response": {
                      "type": "object",
                      "nullable": true,
                      "description": "ConveyorAI's draft answer for object_response type questions. An object mapping column label to answer value. Null for other question types.",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "final_answer_text": {
                      "type": "string",
                      "nullable": true,
                      "description": "Updated human-reviewed final free-response answer, or null if not provided."
                    },
                    "final_structured_answer": {
                      "type": "string",
                      "nullable": true,
                      "description": "Updated human-reviewed final answer for select_one questions, or null if not provided."
                    },
                    "final_structured_answers": {
                      "type": "array",
                      "nullable": true,
                      "description": "Updated human-reviewed final answers for select_multiple questions, or null if not provided.",
                      "items": {
                        "type": "string"
                      }
                    },
                    "final_object_response": {
                      "type": "object",
                      "nullable": true,
                      "description": "Updated human-reviewed answer for object_response type questions. Null for other question types or if not provided.",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "status": {
                      "type": "string",
                      "description": "The review status of the question."
                    },
                    "reusable": {
                      "type": "boolean",
                      "description": "Whether this question's answer is eligible for the Past Answers Knowledge Base."
                    },
                    "edit_history": {
                      "type": "array",
                      "description": "Full answer revision history, ordered most recent first.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "answer_type": {
                            "type": "string",
                            "description": "How the answer was created.",
                            "enum": [
                              "ai_generated",
                              "canonical",
                              "verbatim",
                              "topic_verbatim",
                              "rule_based",
                              "ai_assisted",
                              "conditional_child_na",
                              "human"
                            ]
                          },
                          "editor": {
                            "type": "object",
                            "nullable": true,
                            "description": "Who made this edit. Null for bot or system answers.",
                            "properties": {
                              "name": {
                                "type": "string",
                                "nullable": true,
                                "description": "Editor display name."
                              },
                              "email": {
                                "type": "string",
                                "format": "email",
                                "description": "Editor email address."
                              }
                            }
                          },
                          "answer_text": {
                            "type": "string",
                            "nullable": true,
                            "description": "The answer prose at this revision."
                          },
                          "structured_answer": {
                            "type": "string",
                            "nullable": true,
                            "description": "The structured or short answer at this revision."
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time",
                            "description": "When this revision was created."
                          }
                        }
                      }
                    },
                    "last_edited_by": {
                      "type": "object",
                      "nullable": true,
                      "description": "The user who last edited the answer.",
                      "properties": {
                        "name": {
                          "type": "string",
                          "nullable": true,
                          "description": "User's display name."
                        },
                        "email": {
                          "type": "string",
                          "format": "email",
                          "description": "User's email address."
                        }
                      }
                    },
                    "collaborators": {
                      "type": "array",
                      "description": "Users assigned to or collaborating on this question.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "nullable": true,
                            "description": "User's display name."
                          },
                          "email": {
                            "type": "string",
                            "format": "email",
                            "description": "User's email address."
                          }
                        }
                      }
                    },
                    "cited_sources": {
                      "type": "array",
                      "description": "Sources cited in ConveyorAI's answer.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "string",
                            "description": "Title of the cited source."
                          },
                          "source_type": {
                            "type": "string",
                            "description": "Type of source."
                          }
                        }
                      }
                    },
                    "questionnaire_id": {
                      "type": "string",
                      "format": "uuid",
                      "nullable": true,
                      "description": "ID of the parent questionnaire, if applicable."
                    },
                    "questionnaire_type": {
                      "type": "string",
                      "nullable": true,
                      "description": "Cleaned label for the parent questionnaire type.",
                      "enum": [
                        "RFP",
                        "Security Questionnaire",
                        "Past Answers Import"
                      ]
                    },
                    "connection_domain": {
                      "type": "string",
                      "nullable": true,
                      "description": "Domain of the customer who sent this questionnaire."
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time",
                      "description": "When the question was created."
                    },
                    "questionnaire_completed_at": {
                      "type": "string",
                      "format": "date-time",
                      "nullable": true,
                      "description": "When the parent questionnaire was marked completed."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "No answer fields provided, or question not found.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message."
                    }
                  }
                },
                "examples": {
                  "No answer fields provided": {
                    "value": {
                      "error": "No answer fields provided"
                    }
                  },
                  "Question not found": {
                    "value": {
                      "error": "Question not found"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "API key lacks api_questionnaires write permission.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "Error message."
                    }
                  }
                },
                "examples": {
                  "Forbidden": {
                    "value": {
                      "error": "API key lacks api_questionnaires write permission"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```