cURL
curl --request POST \ --url https://api.splose.com/v1/patients/{id}/file \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'file=<string>'
{ "id": 1, "name": "patientFile.pdf", "patientId": 1 }
Upload single file for a specific patient
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully uploaded file
The response is of type object.
object