Create a test study

View as MarkdownOpen in Claude
### Overview - Make sure atleast one test participant is created and exists against the user before hitting this endpoint. - To create test participant: POST /api/v1/researchers/participants/ - Create and publish a test study from a draft study to all the test participants associated with the workspace. - This will allow a data collector to test the study as a participant. ## Prerequisites āœ… **Required:** - At least one active test participant (created via [`POST /api/v1/researchers/participants/`](#)) - Study must be in draft status - Feature enabled for your workspace (contact support if unavailable) ### Enabling the feature This endpoint is only enabled for select workspaces and will need enabling before the endpoint can be used.

Authentication

AuthorizationToken

Header authentication of the form Token <token>

Path parameters

idstringRequired
Study id

Response

Found
study_idstring or nullformat: "objectId"
The ID of the study that was created for the test.
study_urlstring or nullformat: "uri"
The URL of the study that was created for the test.

Errors