cURL
curl --request GET \ --url https://app.medisync.me/api/recordings/{appointmentId} \ --header 'Authorization: <authorization>'
{ "success": true, "data": [ { "_id": "<string>", "appointment_id": "<string>", "recording_url": "<string>", "recording_key": "<string>", "createdAt": "<string>", "updatedAt": "<string>" } ], "error": "<string>" }
Retrieve all recordings associated with a specific appointment.
Authorization: Bearer your_jwt_token_here
65f8a1b2c3d4e5f6789012f3
Show Recording Object
curl -X GET \ 'https://app.medisync.me/api/recordings/65f8a1b2c3d4e5f6789012f3' \ -H 'Authorization: Bearer your_jwt_token_here'
{ "success": true, "data": [ { "_id": "65f8a1b2c3d4e5f6789012f4", "appointment_id": "65f8a1b2c3d4e5f6789012f3", "recording_url": "https://storage.example.com/recordings/65f8a1b2c3d4e5f6789012f3_recording.wav", "recording_key": "65f8a1b2c3d4e5f6789012f3_recording.wav", "createdAt": "2024-03-18T10:30:00.000Z", "updatedAt": "2024-03-18T10:30:00.000Z" } ] }
{ "success": true, "data": [] }
{ "success": false, "error": "Database error message" }