Create credential pool

View as MarkdownOpen in Claude

Create a new workspace-level credential pool. Credential pools contain username/password pairs that can be assigned to participants when they start a study. This allows researchers to provide pre-provisioned credentials for third-party platforms. The credentials are provided as a CSV string where each line contains a username and password separated by a comma (e.g., “user1,pass1\nuser2,pass2”).

Authentication

AuthorizationToken

Header authentication of the form Token <token>

Request

This endpoint expects an object.
credentialsstringRequired

CSV-formatted credentials (username,password per line)

workspace_idstringRequired
The ID of the workspace this credential pool belongs to

Response

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

Errors