v4

latestOpenAPI 3.1.02026-07-31121440441.0 KB
credentials

Update credential pool

Add new credentials to an existing credential pool. This operation is additive - new credentials are appended to the existing pool rather than replacing them. The credentials service validates that no duplicate usernames exist. The credentials are provided as a CSV string where each line contains a username and password separated by a comma (e.g., "user4,pass4\nuser5,pass5").

patch/api/v1/credentials/{credential_pool_id}/

Path parameters

credential_pool_idstring required

Credential pool ID

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

credentialsstring required

CSV-formatted credentials to add (username,password per line)

Response

Credential pool updated successfully

credential_pool_idstring

The unique identifier for the updated credential pool