Approve or reject a submission
Transition a submission to APPROVED, REJECTED, PARTIALLY APPROVED, AWAITING REVIEW or SCREENED OUT. Once the status is changed, it can not be restored to its previous value.
You can only transition a submission to PARTIALLY APPROVED or SCREENED OUT by:
- setting up the study with the appropriate completion codes (only some workspaces have access to these features)
- providing the correct completion code in the request body
- providing the necessary data in the request body (to PARTIALLY APPROVE a submission)
Note this endpoint is idempotent, so if you make the same request twice, the second request will be ignored.
Authentication
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
Submission id. This is the ID we pass to the survey platform using %SESSION_ID%
Request
Required if the action is ‘COMPLETE’. The completion code must match a value provided when creating the study, and the actor must have been set to researcher. Any actions that were provided during the set up of the completion code (e.g. automatically approve) will then be carried out.
Required if the action is ‘COMPLETE’ and the code has the action “DYNAMIC_PAYMENT” associated with it.
Response
The date and time that the user started the submission (UTC)
The submission’s payment state. null if it has not yet entered payment.