Logo Medcloud Horizontal

Medcloud PACS

API Documentation

API PACS

Endpoint for sending reports from third-party systems - teleradiology companies.Allows the submission of the report PDF encoded in String Base64, using the Accession Number as an identifier. The request uses the key x-access-token provided by Medcloud for authentication.
Base URL: https://api.medcloud.co/RestAPI/rest/insert-report
POST
/insert-report
Insert Report

Records the report of a medical study on the Medcloud platform. The report can be sent in plain text (rawReport) and/or as a Base64 encoded PDF (base64PDFReport). The release field controls the immediate release of the report to the patient. The study is identified by accessionNumber.‍

Header Parameters
Body Parameters
Response Codes (200)
Response Codes (Error/Status)
cURL / JSON
curl --location 'https://api.medcloud.co/RestAPI/rest/insert-report' \
--header 'x-access-token: SUA_CHAVE_AQUI' \
--header 'Content-Type: application/json' \
--data '{ "accessionNumber": "IMPORT1541", "author": "Importação", "rawReport": "", "base64PDFReport": "", "release": "true", "patientId": "81", "patientName": "ANA PAULA DO AMARAL", "patientBirth": "03/05/1986", "studyDate": "23/07/2011", "modality": "OT", "studyDescription": "US Transvaginal com Preparo Intestinal", "patientEmail": "", "patientPhone": "", "referringPhysicianName": ""
}'
Response · 200
{ Medcloud: The study has been saved on Medcloud }
Response · Error
Response - BAD_REQUEST
{ Medcloud: Invalid or missing parameters } 

Response - FORBIDDEN { Medcloud: Invalid token} { Medcloud: Operation not allowed}
Response - INTERNAL_SERVER_ERROR { Medcloud: Oops something went wrong. Please try again later }