Skip to main content
POST
Create a note
Use the Cobalt appointment_id. The appointment_id parameter should be the Cobalt appointment ID returned from API responses or GET endpoints, not the EHR appointment ID.
The note parameter accepts a structured object with separate fields for clinical documentation, along with optional ICD-10 and CPT codes. The note keys depend on the connected EHR: use the HPI format (hpi, exam, assessment, treatment) or the SOAP format (subjective, objective, assessment, plan), as the examples below show. The HPI format also accepts chief_complaint, ros, vitals (vitals notes text), social_history, and family_history.

Telephone encounters

A note can also go to a telephone encounter, where the connected EHR supports telephone_encounter_id. Send telephone_encounter_id (the id from List Telephone Encounters) instead of appointment_id. The note is written to the telephone encounter’s progress note, and it accepts the same note keys, icd_10_codes, and cpt_codes. The webhook events carry telephone_encounter_id instead of appointment_id. Each icd_10_codes entry is a plain code string, or { "code": "...", "add_to_problem_list": "true" } to also place that diagnosis on the patient’s Problem List, not just the encounter assessment, where the connected EHR supports it.

Example Request (HPI format)

Example Request (telephone encounter)

Example Request (SOAP format)

Example Response

Webhook Notifications

When the note processing is complete, we will send a webhook to your registered endpoint. Here are examples of what those webhook payloads will look like: See the Webhook Events reference for the full field breakdown and error codes.

Success

Failure

Authorizations

client_id
string
header
required
client_secret
string
header
required
access_token
string
header
required

Body

application/json
note
required

Clinical note content. A plain string for scribe/dictation, or a structured object for RPA upload.

Example:

"Chief complaint: headache. Assessment: tension headache. Plan: OTC analgesics."

icd_10_codes

ICD-10 diagnosis codes. An array of codes, or an object shaped { codes: [...] } / { selected_codes: { codes: [...] } }. Each entry may be a plain code string, or { code, add_to_problem_list: "true" } to also add that diagnosis to the patient Problem List (eClinicalWorks only).

Example:
cpt_codes
string[]

CPT procedure codes.

Example:
mrn
string

Patient Medical Record Number. Provide mrn + appointment_date, or appointment_id, to identify the appointment.

Example:

"12345"

appointment_date
string

Appointment date (ISO 8601, YYYY-MM-DD). Used with mrn to identify the appointment.

Example:

"2026-06-15"

appointment_id
string

Cobalt appointment ID (UUID, with or without dashes). Alternative to mrn + appointment_date.

Example:

"a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"

telephone_encounter_id
string

Cobalt telephone encounter ID (from GET /v1/telephone-encounters). Writes the note to the telephone encounter's progress note instead of an appointment.

Example:

"b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5"

force
string

When "true", upload the note even if the appointment is already processed. One of: "true", "false".

Example:

"false"

append

When true, add each note section after the text already in that section of the encounter instead of replacing it. Fails if the encounter is signed. Defaults to false (replace).

Example:

true

callback_urls
string[]

URLs to receive the completion webhook for this note, in addition to the account webhook.

Example:
expires_at
string<date-time> | null

Optional ISO 8601 timestamp with an explicit timezone offset, in the future when submitted. Cobalt starts no new operation attempt after this deadline and reports reasons[].code EXPIRED. An attempt already in progress, including write reconciliation, may finish after it.

Example:

"2027-06-15T14:30:00Z"

Response

Note queued for upload

success
boolean
required
Example:

true

message
string
required
Example:

"Note queued for upload"

job_id
required
Example:

12345