Submit Answers
Submit a completed questionnaire for review. Accepts raw answers per question and associates the submission with an optional customer. Returns submission status, potential recommendations, next steps, and timing estimates.
Overview
- Method: POST
- Path:
/brand/questionnaire/submit - Tags: brand
Parameters
No parameters required.
Request Body
- Content Type:
application/json - Required: Yes
Fields
| Field | Type | Required | Details |
|---|---|---|---|
| questionnaireId | string | Yes | |
| answers | string | Yes | |
| answer | string | Yes | |
| additionalNotes | string | No |
Responses
200
Successful response
Content Type: application/json
{
"submissionId": "string",
"questionnaireId": "string",
"customerId": "string",
"status": {},
"recommendedTreatments": "string",
"nextSteps": "string",
"estimatedReviewTime": "string",
"submitted_at": "string"
}400
Bad Request
Content Type: application/json
{}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X POST \
https://api.pillexa.com/brand/questionnaire/submit \
-H "Content-Type: application/json" \
-d '{"example": "data"}'