credentials

Create credential pool

Changed on

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

post/api/v1/credentials/

Request

  • Base URL
    https://api.prolific.com
  • URL
    https://api.prolific.com/api/v1/credentials/
  • Auth
    API key in header Authorization

Request body

credentialsstring required

CSV-formatted credentials (username,password per line)

workspace_idstring required

The ID of the workspace this credential pool belongs to

Response

Credential pool created successfully

credential_pool_idstring

The unique identifier for the created credential pool

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security token was added to the API

    • info

      api operation id create-credential-pool removed and replaced with credentials_CreateCredentialPool