Pharmacy
Messaging
Attachments Attachments Complete

Complete Upload

Finalize an attachment upload after file has been uploaded

Overview

  • Method: POST
  • Path: /pharmacy/messaging/attachments/attachments/<attachmentId>/complete
  • Tags: pharmacy

Parameters

attachmentId (path)

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

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "success": true,
  "attachmentId": "string",
  "url": "string"
}

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/attachments/attachments/<attachmentId>/complete \
  -H "Content-Type: application/json" \