Pharmacy
Messaging
Messages Conversations Read

Mark Messages As Read

Mark messages as read up to a specific message

Overview

  • Method: POST
  • Path: /pharmacy/messaging/messages/conversations/<conversationId>/read
  • Tags: pharmacy

Parameters

conversationId (path)

  • Type: string
  • Required: Yes
  • Description: conversationId parameter

Request Body

  • Content Type: application/json
  • Required: Yes

Fields

FieldTypeRequiredDetails
upToMessageIdstringYesminLength: 1

Responses

200

Successful response

Content Type: application/json

{
  "success": true,
  "readAt": "string",
  "messagesMarkedAsRead": 123
}

400

Bad Request

Content Type: application/json

{}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X POST \
  https://api.pillexa.com/pharmacy/messaging/messages/conversations/<conversationId>/read \
  -H "Content-Type: application/json" \
  -d '{"example": "data"}'