Create a new participant group within a workspace
Authentication
Authorizationstring
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>`.
Request
This endpoint expects an object.
name
The name of the participant group
workspace_id
The id of the workspace to create the participant group in. Either a workspace or organisation ID must be specified.
organisation_id
The id of the organisation to create the participant group in. Either a workspace or organisation ID must be specified.
description
A description of the participant group
participant_ids
The ids of participants to be initially added to the group
Response
Participant group created
description
The user-provided description of the participant group
feeder_studies
Details of all studies which are configured to modify the participants in this group through completion codes.
id
The id of the participant group
is_deleted
Whether the participant group has been deleted
name
The name of the participant group
organisation_id
The id of the organisation the participant group belongs to. A participant group can only belong to either a workspace or an organisation.
participant_count
The number of participants in the participant group
workspace_id
The id of the workspace the participant group belongs to. A participant group can only belong to either a workspace or an organisation.
project_idDeprecated
The id of the project the participant group belongs to