Kong Interface

← API reference

Patient POST with File Upload/Attachment

When including attachments, please include the following attachments_attributes:

For Client ID image:
  • attachment_name: patient_patient_id_image
For Client profile picture:
  • attachment_name: patient_image
For the front of an Insurance Card:
  • attachment_name: insurance_image
  • origin_id: <must match origin_id value of insurance record>
For the back of an Insurance Card:
  • attachment_name: insurance_insurance_card_image
  • origin_id: <must match origin_id value of insurance record>
For generic attachments: The “attachment_name” attribute must be ommitted.
For the patient evaluation attachments:
  • attachment_evaluation_item_id: evaluation item id of attachments item type
  • attachment_name: patient_evaluation_item
  • origin_id: <must match origin_id value of patient evaluation record>

To specify a process tab for a generic attachment, first obtain the corresponding id value of that process tab via the GET Patient Process endpoint. Then, include the following attachments_attributes:


Note that the request body for POST is a long string of Content Parts separated by BOUNDARY strings.

Each request body field name is www-form-url-encoded so that a nested JSON object such as {data:{name:“test”}} will be flattened down to “data[name]=test”.