Receive participant outcomes
Receive an outcome webhook when a participant completes a survey, qualifies, is terminated, or reaches a full quota. RedJade sends each one as an HTTP POST to your endpoint.
Configure the endpoint
Section titled “Configure the endpoint”- Create a public HTTPS endpoint that accepts JSON.
- As a company administrator, open Admin → Integrations → Webhooks.
- Select Add Webhook and set Format to Outcome webhook (deprecated). The format cannot be changed after the webhook is saved.
- Enter the endpoint URL, select the subscriptions, and configure authentication.
- Set the maximum batch size to
1to receive one outcome per request, or use batching to receive multiple events per request. - Enable the configuration.
Available events
Section titled “Available events”| Subscription | Meaning | qualified |
completion_status |
|---|---|---|---|
completed |
Participant completion | "yes" |
"completed" |
qualified |
Participant qualified through screening | "yes" |
"partial" |
terminated |
Participant disqualified through screening | "no" |
"partial" |
quota_full |
Participant met the criteria but was not admitted under the test’s quota rules | "no" |
"partial" |
qualified is sent each time a participant submits a questionnaire without being screened out, not only for a screener. completed is sent when a participant finishes the servings of one day, so a multi-day test sends it each day, and a test that allows retakes does not send it. Notifications report a passed screener and a finished test once each.
An outcome webhook contains an outcome. Retrieve question definitions and answers through the study data API. This five-field contract does not include questionnaire responses.
Notifications carry responses, question definitions, and each participant’s outcome. They use a separate webhook configuration and do not change this payload. See the field mapping.
Single-event body
Section titled “Single-event body”With the maximum batch size set to 1, a completion has this body:
{ "external_id": "member-17", "survey_id": 123, "qualified": "yes", "completion_status": "completed", "completion_timestamp": "2026-10-20T14:30:00Z"}| Field | Description |
|---|---|
external_id |
Participant’s external ID; can be null or empty if none was assigned |
survey_id |
RedJade’s numeric test ID, usable with the study data API |
qualified |
String "yes" for completed/qualified; "no" for terminated/quota-full |
completion_status |
"completed" for completed; "partial" for the other events |
completion_timestamp |
Time the payload was created, in ISO 8601 format |
The body has no event_type field. Terminated and quota-full events have identical status fields. To distinguish them, create one configuration subscribing only to terminated at a path such as /webhooks/redjade/terminated, and another subscribing only to quota_full at /webhooks/redjade/quota-full.
Batched body
Section titled “Batched body”With the maximum batch size greater than 1, the body contains an events array. This envelope is also used when a timed flush contains only one event:
{ "batch_id": "example-batch-id", "batch_size": 1, "events": [ { "external_id": "member-17", "survey_id": 123, "qualified": "yes", "completion_status": "completed", "completion_timestamp": "2026-10-20T14:30:00Z" } ]}Store the entire batch before acknowledging it. Events from a failed request can be retried in a different grouping, so batch_id cannot identify duplicates reliably.
Acknowledge receipt
Section titled “Acknowledge receipt”Verify authentication and save the event to persistent storage or a durable queue before returning a successful HTTP status. Process it after storage. Deliveries can be repeated; see Delivery and retries before using a notification to issue an incentive or perform another action that must happen only once.