Skip to content

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.

  1. As a company administrator, open Admin → Integrations → Webhooks.
  2. Open an existing configuration whose Format is Outcome webhook (deprecated). Its format is read-only.
  3. Set the public HTTPS endpoint URL, select the subscriptions, and configure authentication. The endpoint must accept JSON.
  4. Set the maximum batch size to 1 to receive one outcome per request, or use batching to receive multiple events per request.
  5. Enable the configuration.
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.

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. Existing receivers can distinguish them when separate configurations subscribe to each type at different endpoint paths. For a new integration, Notifications identifies each type in notification.type.

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.

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.