Start a conversation
Starts a new conversation with a participant or researcher, separate from the default one between you. Give it a subject and a topic, and optionally the study it is about and a first message.
Send further messages into it with POST /api/v1/messages and its conversation_id. Other conversations with the same person are untouched.
For participant senders, study_id must be a study the participant has a submission for, and the recipient must be that study’s researcher, publisher or workspace. Otherwise the request is rejected with a 400.
Authentication
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
Response
The conversation id. The same value appears as channel_id on its messages.