Skip to main content
POST
/
notes
/
templates
/
upload-attachment
Upload Template Attachment
curl --request POST \
  --url https://api.decodahealth.com/notes/templates/upload-attachment \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'TENANT: <tenant>' \
  --form attachment='@example-file'
{
  "gcsPath": "<string>",
  "signedUrl": "<string>",
  "originalFilename": "<string>"
}

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
attachment
file
required

Response

Successful Response

gcsPath
string
required
signedUrl
string
required
originalFilename
string
required