Skip to main content
POST
Create a new incoming file

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowClient Credentials
Token URL
/api/2.0/oauth2/token/

Path Parameters

id
integer
required

The ID of the patient

Body

application/json
document_type
string
required

Type of document (cannot be 'Lab')

files
integer[]
required

Array of file IDs

custom_title
string

Custom title for the document

document_date
string<date-time>

Document date (defaults to current datetime)

document_tags
string[]

Array of document tags

import_history
boolean
default:false

Whether to import history

reviewer_user
integer

User ID of the reviewer

sign_off
boolean
default:false

Whether to sign off the document

urgent
boolean
default:false

Whether the document is urgent

Response

201

No response body