Receive questionnaire responses
Receive a participant’s responses when they complete a questionnaire in RedJade. Each notification carries the participant, the sample, the questions, and every response, so your application can store or check the data without calling the API.
Receive a completed questionnaire
Section titled “Receive a completed questionnaire”Subscribe your webhook configuration to questionnaire.completed. RedJade sends one notification for each questionnaire a participant completes:
questionnaire-completed.json
{ "notification": { "id": "0b6f6c1e-3d0a-4f7e-9c56-2f1a8d6f4b11", "type": "questionnaire.completed", "created_at": "2026-12-01T16:05:02Z" }, "context": { "project": { "key": "5120", "name": "Cookies 2026" }, "test": { "key": "48213", "name": "Chocolate chip cookie home-use test" }, "event": { "key": "7702", "name": "Online" } }, "participant": {145 collapsed lines
"key": "member-17", "code": "1001", "outcome": { "status": "qualified", "termination_scenario": null, "qualified_for": [ { "key": "30501", "name": "Soft cookie" }, { "key": "30502", "name": "Crunchy cookie" } ], "assigned_to": { "key": "30501", "name": "Soft cookie" } }, "demographics": { "categories": [ { "key": "7731", "name": "Gender", "exclusive": true, "options": [ { "key": "30412", "name": "Female" }, { "key": "30413", "name": "Male" } ] }, { "key": "7740", "name": "Age (1/1/26)", "exclusive": true, "age_date": "2026-01-01", "options": [ { "key": "30457", "name": "25 - 34", "min": 25, "max": 34 }, { "key": "30458", "name": "35 - 44", "min": 35, "max": 44 }, { "key": "30459", "name": "45 - 54", "min": 45, "max": 54 } ] }, { "key": "7760", "name": "Interests", "exclusive": false, "options": [ { "key": "30501", "name": "Baking" }, { "key": "30502", "name": "Grilling" }, { "key": "30503", "name": "Gardening" } ] } ], "values": [ { "category_key": "7731", "value": [{ "option_key": "30412" }] }, { "category_key": "7740", "value": [{ "option_key": "30458" }] }, { "category_key": "7760", "value": [{ "option_key": "30501" }, { "option_key": "30502" }] } ] } }, "samples": [ { "key": "812", "name": "Chunky chocolate chip", "image_url": "https://app.redjade.net/file-proxy/get-file?model=media_file&id=23542352&field=file" } ], "questionnaire": { "key": "55202", "name": "Cookie evaluation", "locale": "en_US", "questions": [ { "key": "2187801", "name": "Overall liking", "type": "choice", "display": "radio", "exclusive": true, "text": "How much did you like this cookie?", "options": [ { "key": "1d9c4e7a-5f8b-4a3d-b6c0-7b8c9d0e1f25", "name": "Like very much", "score": 5 }, { "key": "9f7c2b5e-3d1a-4c8f-b0e4-9d0e1f2a3b47", "name": "Like slightly", "score": 4 }, { "key": "4c1e8a90-7b2d-4f61-a3c5-0e9d8c7b6a54", "name": "Neither like nor dislike", "score": 3 }, { "key": "b83d5f12-6e4a-4d07-9c21-5a4b3c2d1e60", "name": "Dislike slightly", "score": 2 }, { "key": "e2a7c634-1f9b-4b58-8d70-3c2b1a0f9e78", "name": "Dislike very much", "score": 1 } ] }, { "key": "2187802", "type": "numeric", "display": "range", "text": "How sweet was it?", "min": 0, "max": 100 }, { "key": "2187803", "type": "text", "display": "text", "text": "What did you think of it?" }, { "key": "2187804", "type": "media", "display": "media_upload", "text": "Upload a photo of the cookie." } ], "repetition": { "key": "91498822", "number": 1, "day": 1, "status": "completed", "started_at": "2026-12-01T16:01:12Z", "completed_at": "2026-12-01T16:05:00Z" }, "responses": [ { "question_key": "2187801", "response": [ { "option_key": "9f7c2b5e-3d1a-4c8f-b0e4-9d0e1f2a3b47", "answered_at": "2026-12-01T16:02:10Z" } ] }, { "question_key": "2187802", "response": [{ "score": 62, "answered_at": "2026-12-01T16:02:41Z" }] }, { "question_key": "2187803", "response": [ { "text": "Big chocolate chunks, a little too sweet for me.", "answered_at": "2026-12-01T16:03:55Z" } ] }, { "question_key": "2187804", "response": [ { "url": "https://app.redjade.net/file-proxy/get-file?model=questionnaire_media_response&id=86545678&field=response_file", "content_type": "image/jpeg", "answered_at": "2026-12-01T16:04:48Z" } ] } ] }}| To find | Read |
|---|---|
| Who answered | participant.key, your ID for the person |
| Which test and questionnaire | context.test.key and questionnaire.key |
| Which product | samples[].key |
| Which pass through the questionnaire | questionnaire.repetition |
| What was asked | questionnaire.questions |
| What they answered | questionnaire.responses |
| How long it took | repetition.started_at, repetition.completed_at, and each response’s answered_at |
Store a repetition
Section titled “Store a repetition”Store each document under questionnaire.repetition.key.
| You receive | Do this |
|---|---|
| A repetition key you have not stored | Add the repetition |
| A repetition key you already have | Replace the stored responses with the new ones |
RedJade sends questionnaire.completed again with the same repetition key when a participant retakes a questionnaire. A correction that RedJade staff make to stored responses does not send a notification. A participant who evaluates several samples, or repeats a questionnaire on a later day, has one repetition for each, with different keys.
notification.id is different for the original and the replacement. Use it only to recognize a repeated delivery of the same notification.
Read the responses
Section titled “Read the responses”Each entry in responses names a question and holds a list of response objects. Look up the question by question_key and read its type to know which fields to expect:
type |
Fields in each response object |
|---|---|
choice |
option_key, and text when the participant typed something |
numeric |
score |
text |
text |
media |
url and content_type. See Media responses. |
grid |
row_key with option_key or score |
ranking |
option_key and rank |
Look up an option_key in the question’s options to get its name and score.
A question with response: [] was shown and not answered. A question with response: null was not presented. A question whose type is unsupported has no entry; see unsupported types.
Receive fewer bytes
Section titled “Receive fewer bytes”Question definitions are the same for every participant. To stop receiving them in each notification, clear Include definitions in every notification in the webhook configuration and read the definitions once. Compact notifications carry the same responses and keys.
Know when a questionnaire starts
Section titled “Know when a questionnaire starts”Subscribe to questionnaire.started to learn that a participant has begun a questionnaire. The document has the same sections. repetition.status is started, repetition.completed_at is null, and responses is empty. The later questionnaire.completed notification uses the same repetition key.
Responses you send
Section titled “Responses you send”Responses your application sends through the API do not produce notifications.