Create filter set
Create a filter set from a list of filters
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.
workspace_id
ID of the workspace where the filter set can be used.
organisation_id
ID of the organisation where the filter set can be used.
name
Name of the filter set.
filters
List of all filters contained in the filter set.
Response
Filter set created
eligible_participant_count
The number of participants who match the filter sets filters. Please note that if the number is
lower than 25 the count will be obscured to prevent identification of participants.
filters
List of all filters contained in the filter set.
id
ID of the filter set.
is_deleted
Whether the filter set has been deleted.
is_locked
Whether the filter set has been locked.
name
Name of the filter set.
organisation_id
ID of the workspace where the filter set can be used.
version
An incrementing integer indicating the version of the filter set.
workspace_id
ID of the workspace where the filter set can be used.