Update credential pool

View as MarkdownOpen in Claude

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”).

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>`.

Path Parameters

credential_pool_idstringRequired
Credential pool ID

Headers

AuthorizationstringRequired

Request

This endpoint expects an object.
credentialsstringRequired

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

Response

Credential pool updated successfully
credential_pool_idstring or null
The unique identifier for the updated credential pool

Errors