Skip to navigation

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:

Enabling the feature

This endpoint is only enabled for select workspaces and will need enabling before the endpoint can be used.

Authentication

AuthorizationToken

The Prolific API uses API token to authenticate requests. You can create an API token directly from your settings.

Your API token does not have an expiry date and carries full permission, so be sure to keep them secure.

If your token is leaked, delete it and create a new one directly in the app.

In your requests add Authorization header with the value Token <your token>.

Path parameters

idstringRequired
Study id

Response

Found
study_idstringOptionalformat: "objectId"
The ID of the study that was created for the test.
study_urlstringOptionalformat: "uri"
The URL of the study that was created for the test.

Errors

4XX
Client Request Error