Skip to main content
POST
Upload a health document

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

file
string<uri>
required
kind
enum<string>
default:other
Available options:
prescription,
lab_result,
photo,
other
note
string
default:""
Maximum string length: 500
consultation_id
string<uuid> | null

Response

id
string<uuid>
required
read-only
url
string<uri>
required
read-only
filename
string
required
read-only
content_type
string
required
Maximum string length: 100
size_bytes
integer
required
consultation
string<uuid> | null
required
read-only
consultation_summary
object | null
required
uploaded_at
string<date-time>
required
read-only
kind
enum<string>
Available options:
prescription,
lab_result,
photo,
other
note
string
Maximum string length: 500