Claim a stimulus
Claim one stimulus for one response. The first call for a response and a stimulus answers allowed: true and records the claim. Every later call for the same pair answers allowed: false with the reason already_claimed. This makes a prototype link single-use: a participant cannot reopen it, and a shared link admits nobody else. Use it on the server that hosts a prototype, and call it once, when the participant arrives. A page reload after the claim is refused, so keep the participant on the page, or use GET /api/v1/stimuli/{stimulus_id}/access for a multi-use link. A claim applies the rule of the access check first: the study plan must reference the stimulus and the response must be active. A refused claim records nothing. A preview response is always allowed and is never claimed, because the researcher replays it. When a participant opens a website, prototype, mobile app, or html stimulus, the URL carries both ids as query parameters: voicepanel_response_id and voicepanel_stimulus_id. A token with only the stimuli:claim scope can call this endpoint.
Request
- Base URLhttps://app.voicepanel.com
- URLhttps://app.voicepanel.com/api/v1/stimuli/{stimulus_id}/claim
- AuthHTTP bearer
Path parameters
The stimulus ID
Request body
Example request
{
"response_id": "3f9c2b7e-5d41-4a8e-9b0c-7e2f1a6d4c58"
}Response
Successful response
Example response
{
"allowed": true
}Changes
No recorded changes to this operation across all 1 revision of this API.