Get Message Attachments
Returns attachments for a given message ID.
Overview
- Method: GET
- Path:
/pharmacy/messaging/get-attachments/<messageId> - Tags: pharmacy
Parameters
messageId (path)
- Type:
string - Required: Yes
- Description: messageId parameter
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"attachments": "string",
"filename": "string",
"mimeType": "string",
"size": 123,
"url": "string",
"createdAt": "2024-01-01T00:00:00.000Z"
}400
Bad Request
Content Type: application/json
{
"error": "string",
"details": [
{}
],
"message": "string"
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X GET \
https://api.pillexa.com/pharmacy/messaging/get-attachments/<messageId> \
-H "Content-Type: application/json" \