---
title: "POST /study-participants/save-flanker-test-result"
method: POST
path: "/study-participants/save-flanker-test-result"
tags: ["study-participants"]
---

# POST /study-participants/save-flanker-test-result

`POST /study-participants/save-flanker-test-result`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/study-participants/save-flanker-test-result`
- Auth: HTTP bearer

## Request body

- SaveFlankerTestResultDto
  - `totalTrials` number, required
  - `missedTrials` number, required
  - `overallAccuracy` number, required
  - `congruentAccuracy` number, required
  - `incongruentAccuracy` number, required
  - `meanRtCongruent` number, required
  - `meanRtIncongruent` number, required
  - `trialResults` TrialResultDto[], required
    - `trialIndex` number, required
    - `stimulusType` 'congruent' | 'incongruent', required
    - `correctDirection` 'left' | 'right', required
    - `userResponse` 'left' | 'right', required
    - `isCorrect` boolean, required
    - `reactionTimeMs` number, nullable, required
  - `isEndOfStudy` boolean, required

## Response `201`

---

[API](https://skmtc.dev/focusbear/apis/focusbear-api.md) - [All operations](https://skmtc.dev/focusbear/apis/focusbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/focusbear/apis/focusbear-api/revisions/3a83a3b9a811?raw)
