v4

OpenAPI 3.1.02026-07-31121440441.0 KB
participantGroups

Add participants to a participant group

Append participants to a participant group if they are not already members. If a participant is already a member of the group, they will be ignored.

post/api/v1/participant-groups/{id}/participants/

Path parameters

idstring required

The id of the participant group to add the participant to

Headers

Authorizationstring required

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 body

participant_idsstring[]

Response

All participant(s) now in participant group