Submissions

Save an answer to a submission question

POST
/submissions/{sid}/questions/{questionId}/answer

Authorization

SupabaseBearer
AuthorizationBearer <token>

Supabase user access token (Authorization: Bearer JWT)

In: header

Path Parameters

sid*string
Formatuuid
questionId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

At least one of answer_value or evidence_value must be provided.

Response Body

application/json

curl -X POST "https://example.com/submissions/497f6eca-6276-4993-bfeb-53cbbbba6f08/questions/497f6eca-6276-4993-bfeb-53cbbbba6f08/answer" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
{  "message": "string"}
Empty