Configure and query the REDCap API to support a decentralized clinical trial with survey-based patient-reported outcomes

domain: project-redcap.org (REDCap API documentation / Survey Module) · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable the REDCap Survey module for the relevant instruments and configure survey settings: auto-continue, save-and-return, response limit, and expiration date; set the survey access level to require respondent authentication using participant-specific survey links
  2. Generate unique participant survey links via the API by calling content=generateSurveyParticipantList or retrieving survey queue links using the content=surveyLink endpoint, passing the record ID and instrument name as parameters
  3. Distribute survey links to participants via the site's preferred channel (email, patient portal, or SMS); log the distribution timestamp and method in a separate REDCap instrument or external system for GCP compliance (ICH E6(R3) requires documentation of ePRO instrument delivery)
  4. Monitor survey completion status via the API by polling content=surveyQueueLink or exporting the survey completion timestamp field (automatically added by REDCap for each survey-enabled instrument) on a scheduled basis
  5. Export patient-reported outcomes data using the standard records export API (content=record) with rawOrLabel=label to obtain human-readable response labels; for statistical analysis, use rawOrLabel=raw to preserve coded values
  6. Implement data completeness validation by checking for missing required survey fields after the completion timestamp is populated; flag incomplete ePRO records for site coordinator follow-up before the protocol-defined data cutoff

Known gotchas

Related routes

Configure REDCap API tokens with project-level permissions and implement token rotation for GCP compliance
project-redcap.org (REDCap API documentation) · 6 steps · unrated
Implement FHIR R5 topic-based Subscriptions using SubscriptionTopic and Subscription with a rest-hook channel
hl7.org · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans