Answer a question in a project component item
Submits an answer to a question within a project component item. This endpoint allows users to provide answers to questions that capture customer requirements or project details.
Question Types and Answer Formats: Questions can have different types, and each type requires a specific answer format. Only provide the answer field(s) relevant to the question type:
- ShortText: Provide shortTextAnswer (string)
- Editor: Provide editorAnswer (HTML or Markdown string)
- Checkbox: Provide selectedOptions (array of option IDs for multiple selections)
- Radio: Provide selectedOption (single option ID string)
- Files: Provide fileUrls (array of file URL strings)
- Datepicker: Provide dateAnswer (ISO 8601 date string)
- Multiplier: Provide multiplierAnswer (number)
- Person: Provide selectedPersonId (array of person IDs)
Automatic Processing: When you submit an answer, the system automatically:
- Tracks who answered (answeredBy is set to the current user)
- Records when the answer was provided (answeredAt timestamp)
- Calculates the isAnswered flag based on whether a valid answer was provided
- Updates option selections for Checkbox/Radio types (marks options as selected)
- Recalculates project conditions to show/hide dependent items based on the answer
- Updates effort calculations if the question affects pricing (for Checkbox/Radio/Multiplier types)
- Updates timeframes if effort changed
Permissions: This endpoint uses the processComponentsQuestions permission, which is more permissive than manageComponents. This allows users to answer questions and participate in project configuration without requiring full component edit access.
/projects/{projectId}/items/{itemId}/questions/{id}/answerAuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredprojectIdstringrequiredProject UUID
itemIdstringrequiredComponent Item UUID
idstringrequiredQuestion UUID
application/jsondateAnswerstringDate answer for Datepicker question type (ISO 8601 format)
editorAnswerstringRich text answer for Editor question type (HTML or Markdown format)
fileUrlsstring[]Array of file URLs for File question type
multiplierAnswernumberNumeric multiplier answer for Number question type
selectedOptionstringSingle selected option ID for Radio question type
selectedOptionsstring[]Array of selected option IDs for Checkbox question type (multiple selections)
selectedPersonIdstring[]Array of person IDs for Person question type
shortTextAnswerstringShort text answer for ShortText question type
Question answered successfully
Invalid request: invalid UUID format, invalid date format, or invalid option IDs
Unauthorized - Invalid or missing authentication token
Insufficient permissions (processComponentsQuestions) or access to project denied
Question not found or question does not belong to the component item in the project