Create a new participant group within a workspace

View as MarkdownOpen in Claude

Authentication

AuthorizationToken

Header authentication of the form Token <token>

Request

This endpoint expects an object.
namestringRequired
The name of the participant group
workspace_idstringOptional
The id of the workspace to create the participant group in. Either a workspace or organisation ID must be specified.
organisation_idstringOptional
The id of the organisation to create the participant group in. Either a workspace or organisation ID must be specified.
descriptionstringOptional
A description of the participant group
participant_idslist of stringsOptional
The ids of participants to be initially added to the group

Response

Participant group created
descriptionstring or null

The user-provided description of the participant group

feeder_studieslist of objects or nullRead-only
Details of all studies which are configured to modify the participants in this group through completion codes.
idstring or null
The id of the participant group
is_deletedboolean or nullRead-only
Whether the participant group has been deleted
namestring or null
The name of the participant group
organisation_idstring or null
The id of the organisation the participant group belongs to. A participant group can only belong to either a workspace or an organisation.
participant_countinteger or nullRead-only
The number of participants in the participant group
workspace_idstring or null
The id of the workspace the participant group belongs to. A participant group can only belong to either a workspace or an organisation.
project_idstring or nullDeprecated
The id of the project the participant group belongs to

Errors