Skip to main content
POST
/
notes
/
upload
Upload Note
curl --request POST \
  --url https://api.decodahealth.com/notes/upload \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'TENANT: <tenant>' \
  --form 'patient_id=<string>' \
  --form 'provider_id=<string>' \
  --form 'files=<string>' \
  --form 'template_id=<string>' \
  --form 'location_id=<string>' \
  --form skip_ai_generation=false \
  --form files.items='@example-file'
{
  "id": "<string>",
  "content": {
    "noteContent": "<string>"
  },
  "template": {
    "id": "<string>",
    "name": "<string>",
    "createdDate": "2023-11-07T05:31:56Z",
    "contentTemplate": "<string>",
    "attachments": []
  }
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

multipart/form-data
patient_id
string
required
provider_id
string
required
files
file[]
required
template_id
string | null
location_id
string | null
skip_ai_generation
boolean
default:false

Response

Successful Response

id
string
required
content
DefaultNoteContent · object
required
template
NoteTemplateTableItem · object