messages

Get the messages in a conversation

Changed on

Returns the messages in one conversation, oldest first, in the same shape as GET /api/v1/messages. The caller must be a member of the conversation. A conversation the caller is not a member of is reported as not found.

Results are paginated. Follow next for the following page, or stop when it is null.

get/api/v1/conversations/{conversation_id}/messages/

Request

  • Base URL
    https://api.prolific.com
  • URL
    https://api.prolific.com/api/v1/conversations/{conversation_id}/messages/
  • Auth
    API key in header Authorization

Path parameters

conversation_idstring required

The conversation id, as returned by GET /api/v1/conversations or as channel_id on a message.

Query parameters

workspace_idstring

Read the conversation as this workspace. The caller must belong to the workspace.

limitinteger

Page size. Defaults to 25, capped at 100.

cursorstring

Opaque token from a previous response's next link.

Response

A page of messages

nextstring nullable required

URL of the next page, or null on the last page.

Changes