API/Create Note

Notes Create Note Creates a new note POST https://api.sully.ai / v1 / notes Try it cURL Python JavaScript PHP Go Java Copy curl --request POST \ --url https://api.sully.ai/v1/notes \ --h

Notes

Create Note

Creates a new note

POSThttps://api.sully.aihttps://api-testing.sully.ai/v1/notesTry itcURLPythonJavaScriptPHPGoJavaCopy

curl --request POST \
  --url https://api.sully.ai/v1/notes \
  --header 'Content-Type: application/json' \
  --header 'X-ACCOUNT-ID: <api-key>' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "transcript": "Hey, how'\''s it going? Good good yeah, so what'\''s going on? Yeah, hi I'\''m Edward yeah hi hi Edward. How'\''s it going? Yeah, good good. So I'\''ve been having a couple of issues like my back pain and knee pain.",
  "date": "<string>",
  "language": "en",
  "noteType": {
    "description": "<string>",
    "type": "note_style",
    "template": "write a standard clinical SOAP note with the following sections: - **Subjective**: Contains detailed HPI. - **Objective**: Contains PE and ROS. - **Assessment**: Contains differential diagnoses with corresponding plans. - **Patient Instructions**: Contains a list of instructions for the patient.",
    "includeJson": true
  },
  "patientInfo": {
    "name": "<string>",
    "dateOfBirth": "2023-12-25",
    "gender": "male"
  },
  "previousNote": "<string>",
  "context": "<string>",
  "instructions": [
    "Use a professional and concise tone.",
    "Include key details without unnecessary elaboration.",
    "Ensure clarity for a general audience."
  ],
  "medicationList": "<string>"
}'

200400Copy

Authorizations

arrow-up-rightX-API-KEYstringheaderrequiredarrow-up-rightX-ACCOUNT-IDstringheaderrequired

Body

application/json

Note to add

arrow-up-righttranscriptstringrequired

The raw medical transcript text to be processed into a clinical note

Example:

"Hey, how's it going? Good good yeah, so what's going on? Yeah, hi I'm Edward yeah hi hi Edward. How's it going? Yeah, good good. So I've been having a couple of issues like my back pain and knee pain."

arrow-up-rightdatestring

Date of the patient encounter in ISO format (YYYY-MM-DD) or ISO datetime format (YYYY-MM-DDTHH:mm:ssZ)

arrow-up-rightlanguageenum<string>default:en

Language code for the transcript content. While multiple languages are supported, English ('en') is recommended for optimal output quality and accuracy.

Available options:en,es,fr,de,it,pt,ru,zhExample:

"en"

arrow-up-rightnoteTypeobject

Configuration object specifying the style and format of the generated note

chevron-rightShow child attributeshashtag

arrow-up-rightpatientInfoobject

Optional patient information

chevron-rightShow child attributeshashtag

arrow-up-rightpreviousNotestring

Reference to a previous note if this is a follow-up. This field is optional.

arrow-up-rightcontextstring | null

Additional context for note generation. This field is optional.

arrow-up-rightinstructionsstring[] | null

Special instructions for note generation. This field is optional.

Example:

arrow-up-rightmedicationListstring

List of up to 50 medications (comma separated) to use as reference for fixing spelling errors. This field is optional.

Response

200200400application/json

Note response

arrow-up-rightstatusstring

Status of the response

Example:

"ok"

arrow-up-rightdataobject

chevron-rightShow child attributeshashtag

arrow-up-rightdatestring

Timestamp of the response

Example:

"2024-11-07T21:24:51.000Z"

arrow-up-right

Last updated