Send a message

View as MarkdownOpen in Claude
Send a message to a participant or another researcher

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

Request

This endpoint expects an object.
recipient_idstringRequired
Recipient user's id
bodystringRequired
Message Body. Text is sanitised for safe storage and display.
study_idstringRequired
This study is the reason for this message

Response

The message has been sent

Errors