Skip to main content
GET
https://app.medisync.me
/
api
/
transcriptions
List All Transcriptions
curl --request GET \
  --url https://app.medisync.me/api/transcriptions \
  --header 'Authorization: <authorization>'
{
  "success": true,
  "data": [
    {
      "_id": "<string>",
      "appointment_id": "<string>",
      "transcription": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ],
  "error": "<string>"
}

Overview

Retrieves a list of all transcriptions in the system. This endpoint returns an array of all transcription objects without any filtering.
This endpoint returns all transcriptions in the system. Consider using pagination or filtering in your application if dealing with a large number of transcriptions.

Authentication

Authorization
string
required
Bearer JWT token for authentication
Authorization: Bearer your_jwt_token_here

Response

success
boolean
required
Indicates if the request was successful
data
array
Array of all transcription objects in the system
error
string
Error message if the request failed

Example Request

curl -X GET \
  'https://app.medisync.me/api/transcriptions' \
  -H 'Authorization: Bearer your_jwt_token_here'

Example Response

Success Response - With Transcriptions
{
  "success": true,
  "data": [
    {
      "_id": "65f8a1b2c3d4e5f6789012f7",
      "appointment_id": "65f8a1b2c3d4e5f6789012f3",
      "transcription": "Patient reports chest pain that started this morning. No shortness of breath. Vital signs stable.",
      "createdAt": "2024-03-18T10:30:00.000Z",
      "updatedAt": "2024-03-18T10:30:00.000Z"
    },
    {
      "_id": "65f8a1b2c3d4e5f6789012f8",
      "appointment_id": "65f8a1b2c3d4e5f6789012f4",
      "transcription": "Follow-up appointment. Patient feels much better after medication adjustment. Blood pressure is well controlled.",
      "createdAt": "2024-03-18T11:15:00.000Z",
      "updatedAt": "2024-03-18T11:15:00.000Z"
    }
  ]
}
Success Response - No Transcriptions
{
  "success": true,
  "data": []
}
Error Response
{
  "success": false,
  "error": "Database error message"
}

Behavior Notes

  • All Transcriptions: Returns all transcriptions in the system without filtering
  • Array Response: Always returns an array, even if no transcriptions exist (empty array)
  • No Pagination: This endpoint does not implement pagination
  • Authentication Required: Requires valid JWT token for access

Use Cases

  1. System Overview: Get a complete list of all transcriptions in the system
  2. Administrative Management: View all transcriptions for system administration
  3. Data Export: Retrieve all transcription metadata for export or backup
  4. Monitoring: Monitor the total number and status of transcriptions